#4034: GHC 6.12.2 fails to build on PowerPC / MacOS X Leopard
------------------------+---------------------------------------------------
Reporter: PHO | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.12.2 | Keywords:
Os: MacOS X | Testcase:
Architecture: powerpc | Failure: Building GHC failed
------------------------+---------------------------------------------------
Comment(by PHO):
I found I can avoid the problem by putting the following options to
mk/build.mk:
{{{
GhcRtsHcOpts = -optc-O0 -optc-g
GhcRtsCcOpts = -O0 -g
}}}
This is my observation so far:
* Optimized libHSrts_thr.a causes an evacuate() error.
* libHSrts_debug.a causes a segmentation fault.
* Unoptimized libHSrts_thr.a looks working.
...so the problem is not likely in gcc's optimizer but in rts. GCC is just
revealing the hidden rts bug.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4034#comment:3>
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