ghc-6.8 configure does not recognise 32bit userland on ppc64
Building 6.8 (2007.09.12 through 2007.09.17) out of the box with
./configure
make all
fails after half an hour with assembler errors indicating that it tries to compile 64bit code on a 32bit userland (on ppc64 gentoo, on the system running the buildbot). The build goes through with
GhcUnregisterised=YES
SplitObjs=NO
in mk/build.mk, but I think that the release should work without users editing mk/build.mk.
Wolfram
../compiler/ghc-inplace -optc-O -optc-Wall -optc-W -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-I../includes -optc-I. -optc-Iparallel -optc-Ism -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -optc-DNOSMP -optc-I../gmp/gmpbuild -optc-fno-strict-aliasing -optc-w -H16m -O -optc-O2 -package-name rts -optc-DNOSMP -static -I../gmp/gmpbuild -I. -#include HCIncludes.h -dcmm-lint -c StgCRun.c -o StgCRun.o
/tmp/ghc16536_0/ghc16536_0.s: Assembler messages:
/tmp/ghc16536_0/ghc16536_0.s:11:0:
Error: junk at end of line, first unrecognized character is `@'
/tmp/ghc16536_0/ghc16536_0.s:15:0:
Error: junk at end of line, first unrecognized character is `@'
make[1]: *** [StgCRun.o] Error 1
make: *** [stage1] Error 1