[nhc-bugs] nhc build crashes on powerbook
Sven Moritz Hallberg
1hallber@informatik.uni-hamburg.de
Sat, 29 Mar 2003 11:47:41 +0100
Hi,
when trying to build my PowerBook G4 running Gentoo Linux (with GCC 3.2)
I ran into a segmentation fault on the command
/home/pesco/build/nhc98-1.16/script/nhc98 -cpp -c +CTS -lib -redefine -CTS +RTS -H32M -RTS -o /home/pesco/build/nhc98-1.16/targets/PowerBook3,2-Linux/obj/prelude/DErrNo/DErrNo.o DErrNo.hs
in the src/prelude/PowerBook3,2-Linux/NHC directory:
/home/pesco/build/nhc98-1.16/script/nhc98: line 604: 28506 Segmentation fault
$COMP $RUNFLAGS $COMPFLAGS $HINCDIRS -I. $UNLIT -P${NHC98INCDIR} $HSFILE $POSTGRFILE $TMPHIFILE $TMPCPPASFILE
manually rerunning with -v turned up:
gcc -D__NHC__=116 -D__HASKELL__=98 -D__HASKELL_98__ -D__HASKELL98__ -x c -E -traditional ./DErrNo.hs > /tmp/DErrNo.28507.hs
/home/pesco/build/nhc98-1.16/lib/PowerBook3,2-Linux/nhc98comp +RTS -H32M -RTS -P/home/pesco/build/nhc98-1.16/include/base -lib -redefine -I. -P/home/pesco/build/nhc98-1.16/include /tmp/DErrNo.28507.hs ./DErrNo.hs /tmp/DErrNo.28507.hi /tmp/DErrNo.28507.hc
/home/pesco/build/nhc98-1.16/script/nhc98: line 604: 28549 Segmentation fault
$COMP $RUNFLAGS $COMPFLAGS $HINCDIRS -I. $UNLIT -P${NHC98INCDIR} $HSFILE $POSTGRFILE $TMPHIFILE $TMPCPPASFILE
Have you got any idea by what this might be caused?
Regards,
Sven