#3260: Linking stage2 on PPC gives "scattered reloc r_address too large"
---------------------------------+------------------------------------------
Reporter: benl | Owner:
Type: bug | Status: new
Priority: highest | Milestone: 6.14.1
Component: Compiler | Version: 6.13
Keywords: | Difficulty: Unknown
Os: MacOS X | Testcase:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by PHO):
> Hmm, the failure I pasted above in comment 9 is when making a single
object file, rather than merging.
Ahh, sorry. I have misinterpreted that. That problem can be possibly
avoided by "SplitObjs=NO" but I don't know why. See #4013.
> {{{missing indirect symbols for section (__DATA,__la_sym_ptr2)}}}
That one could also be avoided by "SplitObjs=NO". I think that's the Evil
Splitter's fault, while I don't want to mess with it.
> {{{"/usr/bin/ld" -r -o compiler/stage1/build/HSghc-6.13.o
compiler/stage1/build/AsmCodeGen.o ...}}}
According to the build log, it's possible to link {{{HSghc-6.13.o}}} on
i386-apple-darwin. That's weird. Could you show me what {{{otool -l}}}
tells about it?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3260#comment:17>
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