#2318: building GHC 6.8.3 Release Candidate 6.8.2.20080527 under PC solaris
fails
--------------------------+-------------------------------------------------
Reporter: maeder | Owner:
Type: bug | Status: new
Priority: high | Milestone: 6.8.3
Component: Build System | Version: 6.8.2
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: x86
Os: Solaris |
--------------------------+-------------------------------------------------
Comment (by igloo):
OK, how about if you also apply this patch?
{{{
diff -rN -u old-ghc/includes/Stg.h new-ghc/includes/Stg.h
--- old-ghc/includes/Stg.h 2008-06-03 21:59:00.000000000 +0100
+++ new-ghc/includes/Stg.h 2008-06-03 21:59:00.000000000 +0100
@@ -49,7 +49,7 @@
// And finally, we need _XOPEN_SOURCE in order to get a prototype for
// putenv on Linux:
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE 600
#endif
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2318#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs