can't manage to compile ghc6
Greetings, I'm having trouble compiling ghc6. I have two versions of ghc installed at the moment, one is 5.04.2 from Debian, and another is a CVS snapshot from some time back that I've been using because it fixes a pet bug of mine. I can't seem to use either of these to build ghc6 from source on i386 linux. The failure seems to be occuring during the make boot stage. Is there any particular compiler I need to build ghc 6? See below for some compiling output. peace, isaac (no configure options except --prefix and --with-ghc for the two different versions) Using a somewhat old CVS version (I don't recall having trouble building this): ------------------------------------------------------------ /usr/local/bin/ghc -M -optdep-f -optdep.depend-BASE -osuf o -I../includes -H16m -O -iutils -ibasicTypes -itypes -ihsSyn -iprelude -irename -itypecheck -ideSugar -icoreSyn -ispecialise -isimplCore -istranal -istgSyn -isimplStg -icodeGen -iabsCSyn -imain -iprofiling -iparser -icprAnalysis -icompMan -indpFlatten -inativeGen -cpp -fglasgow-exts -Rghc-timing -I. -IcodeGen -InativeGen -Iparser -package concurrent -package posix -package util -recomp -Rghc-timing -H16M '-#include ... utils/UniqSet.lhs utils/Util.lhs main/DriverPipeline.hs:1008: warning: extra tokens at end of #endif directive main/SysTools.lhs: can't locate import `System.Posix.Internals' <<ghc: 83356908 bytes, 24 GCs, 80924/80924 avg/max bytes residency (1 samples), 16M in use, 0.01 INIT (0.00 elapsed), 0.50 MUT (2.41 elapsed), 0.07 GC (0.08 elapsed) :ghc>>make[2]: *** [depend] Error 1 make[1]: *** [boot] Error 1 make[1]: Leaving directory `/usr/local/ijones/usr/src/haskell/ghc/ghc-6.0/ghc' make: *** [build] Error 1 ------------------------------------------------------------ Using 5.04.3 from Debian: /usr/bin/ghc -M -optdep-f -optdep.depend-BASE -osuf o -I../includes -H16m -O -iutils -ibasicTypes -itypes -ihsSyn -iprelude -irename -itypecheck -ideSugar -icoreSyn -ispecialise -isimplCore -istranal -istgSyn -isimplStg -icodeGen -iabsCSyn -imain -iprofiling -iparser -icprAnalysis -icompMan -indpFlatten -inativeGen -cpp -fglasgow-exts -Rghc-timing -I. -IcodeGen -InativeGen -Iparser -package concurrent -package posix -package util -recomp -Rghc-timing -H16M '-#include ... nativeGen/MachCode.lhs:4404: warning: extra tokens at end of #endif directive nativeGen/MachCode.lhs:4460: warning: extra tokens at end of #endif directive nativeGen/MachCode.lhs:4509: warning: extra tokens at end of #endif directive nativeGen/MachMisc.lhs:80: unterminated argument list invoking macro "IF_ARCH_alpha" <<ghc: 325535444 bytes, 59 GCs, 122060/122060 avg/max bytes residency (1 samples), 16M in use, 0.01 INIT (0.00 elapsed), 1.66 MUT (4.81 elapsed), 0.08 GC (0.09 elapsed) :ghc>> make[2]: *** [depend] Error 1 make[1]: *** [boot] Error 1 make[1]: Leaving directory `/usr/local/ijones/usr/src/haskell/ghc/ghc-6.0/ghc' make: *** [build] Error 1
participants (1)
-
Isaac Jones