#1958: collect2: ld terminated with signal 10 [Bus error]: Building parsec on a
PPC Mac OS X 10.5 Leopard as part of GHC 6.9
-------------------------+--------------------------------------------------
Reporter: thorkilnaur | Owner: thorkilnaur
Type: bug | Status: new
Priority: high | Milestone: 6.8.3
Component: Compiler | Version: 6.9
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: powerpc
Os: MacOS X |
-------------------------+--------------------------------------------------
Comment (by thorkilnaur):
Just for the record, using the mk/build.mk
{{{
GhcLibHcOpts=-O -fgenerics -fasm
GhcStage1HcOpts=-O -fasm
GhcStage2HcOpts=-O -fasm
SplitObjs=NO
GhcLibWays=
HADDOCK_DOCS=YES
}}}
also used by the buildbots and the patch
Work_around_PPC_Mac_OS_X_Leopard_ld_Bus_error_illustrative_only.dpatch
that were attached a while ago, a recent stable branch GHC builds
successfully. The stage=2 test summary is:
{{{
OVERALL SUMMARY for test run started at Wed Jan 23 17:49:47 CET 2008
2078 total tests, which gave rise to
6475 test cases, of which
0 caused framework failures
1098 were skipped
5102 expected passes
242 expected failures
0 unexpected passes
33 unexpected failures
Unexpected failures:
TH_fail(normal)
divbyzero(normal,optc,optasm,ghci,threaded1,threaded2)
ffi009(ghci)
ghci024(ghci)
hpc_raytrace(normal,optc,optasm,threaded1,threaded2)
num012(normal,optc,optasm,ghci,threaded1,threaded2)
openFile008(ghci)
qq001(normal)
qq002(normal)
qq003(normal)
qq004(normal)
qq005(normal,optc,optasm,ghci,threaded1,threaded2)
qq006(normal)
signals002(ghci)
}}}
A recent head with the same patch applied also builds successfully with
stage=2 test summary:
{{{
OVERALL SUMMARY for test run started at Wed Jan 23 09:48:22 CET 2008
2075 total tests, which gave rise to
6470 test cases, of which
0 caused framework failures
1001 were skipped
5188 expected passes
239 expected failures
0 unexpected passes
42 unexpected failures
Unexpected failures:
break017(ghci)
divbyzero(normal,optc,optasm,ghci,threaded1,threaded2)
dynamic001(normal,optc,optasm,ghci,threaded1,threaded2)
dynamic002(normal,optc,optasm,ghci,threaded1,threaded2)
ffi009(ghci)
ghci024(ghci)
hpc_raytrace(normal,optc,optasm,threaded1,threaded2)
num012(normal,optc,optasm,ghci,threaded1,threaded2)
openFile008(ghci)
qq005(normal,optc,optasm,ghci,threaded1,threaded2)
qq006(normal)
recomp002(normal)
signals002(ghci)
}}}
Best regards
Thorkil
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1958#comment:12>
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