|Reported by:||maeder||Owned by:|
|Operating System:||MacOS X||Architecture:||powerpc|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Rev(s):|
I've created a statically linked ghc-6.8.2 for PPC Mac OS 10.4 (Tiger). http://www.dfki.de/sks/hets/mac/versions/ghc-6.8.2-powerpc-apple-darwin-static-libs.tar.bz2
When linking our big hets binary after compilation with optimization I get millions (actually 34999 lines) of entries like:
/usr/bin/ld: PGIP/XMLparsing.o relocation overflow for relocation entry 63 in section (__TEXT,__text) (displacement too large) ... /usr/bin/ld: SoftFOL/Sign.o relocation overflow for relocation entry 45280 in section (__TEXT,__text) (displacement too large) collect2: ld returned 1 exit status make: *** [hets] Error 1
I had such messages before and got rid of them by rearranging code and imports (just by wild guesses, a strategy would be helpful). It is sort of a known (Apple PPC) deficiency (and I misuse this ticket to document it here).
Linking works fine after compilation without optimization or when linking against GMP and GNUreadline frameworks using my other binary distribution.
Change History (11)
comment:6 Changed 8 years ago by igloo
- Milestone changed from 6.10.2 to 6.12.1
- Priority changed from normal to low
comment:7 Changed 7 years ago by igloo
- Milestone changed from 6.12.1 to _|_
- Priority changed from low to normal