#1843: ghc 6.8.1 broken on Mac OS X Leopard PPC
----------------------+-----------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: high | Milestone: 6.8.2
Component: Compiler | Version: 6.8.1
Severity: critical | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: powerpc
Os: MacOS X |
----------------------+-----------------------------------------------------
Comment (by ChrisKuklewicz):
Using mk/build.mk of
HADDOCK_DOCS = NO
SRC_CC_OPTS = -Werror
SRC_HC_OPTS = -Werror -H128m -O2 -fvia-C
GhcStage1HcOpts = -O2 -fvia-C
GhcStage2HcOpts = -O2 -fvia-C
GhcLibHcOpts = -O2 -fvia-C
GhcLibWays = p
SplitObjs = NO
NoFibWays =
STRIP = :
GhcBootLibs = YES
I fail when on my G4 laptop w/10.5 during the stage2 build:
ranlib libHSghc.a
/usr/bin/ld -r -x -o HSghc.o stage2/basicTypes/BasicTypes.o <<snip>>
ld: scattered reloc r_address too large for inferred architecture ppc
make[2]: *** [HSghc.o] Error 1
make[1]: *** [stage2] Error 2
make: *** [bootstrap2] Error 2
So the linker ends with another scattered relocation problem.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1843#comment:15>
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