#1717: ghc-6.8 configure does not recognise 32bit userland on ppc64
-------------------------------------+--------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: simonmar
Type: bug | Status: new
Priority: normal | Milestone: 6.8.1
Component: Build System | Version: 6.8
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Linux | Testcase: normal build
Architecture: powerpc64 |
-------------------------------------+--------------------------------------
Old description:
> 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
New description:
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
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1717#comment:4>
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