#4973: building ghc7.0.1.20110217 under x86 solaris fails
----------------------------------+-----------------------------------------
Reporter: maeder | Owner: igloo
Type: bug | Status: patch
Priority: highest | Milestone: 7.2.1
Component: Compiler | Version: 7.0.2
Resolution: | Keywords:
Testcase: | Blockedby:
Difficulty: | Os: Solaris
Blocking: | Architecture: x86
Failure: Building GHC failed |
----------------------------------+-----------------------------------------
Comment(by kgardas):
Simon, this is indeed good catch! I've modified Rts.h and although not
needed also BeginPrivate.h and EndPrivate.h (just for case someone is
using gcc >= 4.x) and disabled RTS_PRIVATE completely there like done for
mingw and for freebsd and this time I'm able to build RTS shared lib.
The problem is I'm stuck now on failure in gmp lib. It looks like a lot of
unresolved symbols and again some relocations errors. When comparing with
Solaris 11 Express reference, unresolved symbols are OK and the problem
with GMP relocations is that on Solaris 11 Express we're using system
supplied GMP, while this is not detected on stock Solaris 10 and hence GHC
attempts to compile its own GMP lib, but in this case in a wrong way w/o
any -fPIC and linker is complaining about it.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4973#comment:47>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs