6.2.2 x86_64 build failing
simonmar at microsoft.com
Mon Feb 28 06:09:19 EST 2005
On 28 February 2005 05:38, Kip Macy wrote:
> In a clean tree I configured:
> ./configure --prefix=/u/kmacy/usr/x86_64
> where the ghc-inplace is unregisterised, points to stage1, and is
> known to compile "Hello World"
> gcc -E -undef -traditional -P -I../includes -x c
> prelude/primops.txt.pp | \ grep -v '^#pragma GCC' >
> prelude/primops.txt ../utils/genprimopcode/genprimopcode --data-decl
> < prelude/primops.txt > primop-data-decl.hs-incl
> /bin/sh: line 1: 14846 Segmentation fault (core dumped)
> ../utils/genprimopcode/genprimopcode --data-decl <prelude/primops.txt
> gmake: *** [primop-data-decl.hs-incl] Error 139
> gmake: *** Deleting file `primop-data-decl.hs-incl'
> gmake: *** [boot] Error 1
> gmake: Leaving directory
> gmake: *** [build] Error 1
It looks like genprimopcode is crashing. This is significant, because
genprimopcode is the first Haskell program to be compiled and run by the
compiler that you are bootstrapping with, so this indicates that even
though your unregisterised stage1 is known to compile "hello world", it
still has some problems.
Try adding -debug when compiling genprimopcode, and run it with gdb to
get a backtrace.
More information about the Glasgow-haskell-users