Compiling GHC 5.00 unregistered under FreeBSD 4.2

John Hörnkvist john at toastedmarshmallow.com
Wed Apr 18 16:38:55 EDT 2001


I've been trying to build an unregistered GHC 5.00 on FreeBSD 4.2 for 
porting to Mac OS X.

I managed to build and rebuild the normal compiler, and to build 
unregistered libraries for creating the unregistered compiler.

But while I get as far as creating the unregistered compiler, 
ghc-inplace (the unregistered one) crashes when it tries to compile .

But, as soon it tries to do something with ghc-inplace, I get a crash, 
such as:
../../ghc/compiler/ghc-inplace -optc-O -optc-O2 
-optc-fomit-frame-pointer -optc-Wall -optc-W -optc-Wstrict-prototypes 
-optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline 
-optc-Waggregate-return -optc-Wbad-function-cast -optc-DCOMPILING_RTS 
-I../includes -I. -Iparallel -O2 -DCOMPILING_RTS -static    -c 
Adjustor.c -o Adjustor.o
gmake: *** [Adjustor.o] Segmentation fault (core dumped)

(I've also tried using a different build process, but with the same 
result.)

Regards,
John Hornkvist




More information about the Glasgow-haskell-bugs mailing list