Problem building GHC

Dinko Tenev dinko.tenev at gmail.com
Tue Jul 12 15:59:11 EDT 2005


Hi,

I am trying to build from the current GHC source tree on a Debian
"sarge" box, and the build dies trying to compile
/home/shinobi/build/fptools/ghc/parser/Parser.hs, with the following
output:


/usr/bin/ghc -H16m -O  -istage1/utils  -istage1/basicTypes 
-istage1/types  -istage1/hsSyn  -istage1/prelude  -istage1/rename 
-istage1/typecheck  -istage1/deSugar  -istage1/coreSyn 
-istage1/specialise  -istage1/simplCore  -istage1/stranal 
-istage1/stgSyn  -istage1/simplStg  -istage1/codeGen  -istage1/main 
-istage1/profiling  -istage1/parser  -istage1/cprAnalysis 
-istage1/compMan  -istage1/ndpFlatten  -istage1/iface  -istage1/cmm 
-istage1/nativeGen -Istage1 -cpp -fglasgow-exts -fno-generics
-Rghc-timing -I. -IcodeGen -InativeGen -Iparser -package unix -recomp
-Rghc-timing  -H16M '-#include "hschooks.h"' -i../lib/compat 
-fno-warn-incomplete-patterns -fvia-C -Onot
-fno-ignore-interface-pragmas  -c parser/Parser.hs -o
stage1/parser/Parser.o  -ohi stage1/parser/Parser.hi
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.

<<ghc: 1033208048 bytes, 2605 GCs, 14120845/28258632 avg/max bytes
residency (11 samples), 74M in use, 0.00 INIT (0.00 elapsed), 7.63 MUT
(19.52 elapsed), 5.54 GC (5.57 elapsed) :ghc>>
make[2]: *** [stage1/parser/Parser.o] Error 1
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/shinobi/build/fptools/ghc'
make: *** [build] Error 1


It seems that, apart from whatever else might be wrong, there is a
problem with GCC.  I guess I'll have to switch to version 2.95.2 as
suggested by the guide (I am currently using 3.3.5,) but I also see
some messages reporting "Bad eta expand" earlier in the output - could
this also be related to the problem?


Cheers,

D. tenev


More information about the Glasgow-haskell-users mailing list