#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):
So when I installed GMP library myself (both static and shared) and with
using appropriate --with-gmp-* options I'm able to fully build 7.0.2/3
snapshot. That's with just
{{{
#if !defined(mingw32_HOST_OS) && !defined(solaris2_HOST_OS)
#define RTS_PRIVATE GNUC3_ATTRIBUTE(visibility("hidden"))
#else
#define RTS_PRIVATE /* disabled: RTS_PRIVATE */
#endif
}}}
in Rts.h and with similar change in Begin/EndPrivate.h as I already
mentioned. Now, I still do have the issue to link dynamic executable. The
issue is exactly same like with -mimpure-text option:
{{{
Linking HelloWorld ...
ld: fatal: option -dn and -P are incompatible
ld: fatal: Flags processing errors
collect2: ld returned 1 exit status
}}}
Now the question is: submit this fix as it is now and later investigate
this executable linking failure or investigate first and then submit as a
whole? Also the question is, do the work on 7.0.x tree (7.0.3 snapshot) or
on the HEAD? Thanks!
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4973#comment:49>
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