[plt-scheme] build segfault

From: Dimitris Vyzovitis (vyzo at media.mit.edu)
Date: Tue Oct 7 14:29:40 EDT 2008

make segfaults with svn-11966
./configure [--enable-shared]
cd gc2; make all
make[3]: Entering directory `/usr/local/src/plt-svn/plt/src/mzscheme/gc2'
make xsrc/precomp.h
make[4]: Entering directory `/usr/local/src/plt-svn/plt/src/mzscheme/gc2'
env XFORM_PRECOMP=yes ../mzschemecgc -cqu ./xform.ss --setup . --cpp "gcc 
-E -DNEWGC_BTC_ACCOUNT  -DMZ_USES_SHARED_LIB -I./.. -I./../include" -o 
xsrc/precomp.h ./precomp.c
make[4]: *** [xsrc/precomp.h] Segmentation fault
make[4]: Leaving directory `/usr/local/src/plt-svn/plt/src/mzscheme/gc2'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/local/src/plt-svn/plt/src/mzscheme/gc2'
make[2]: *** [3m] Error 2
make[2]: Leaving directory `/usr/local/src/plt-svn/plt/src/mzscheme'
make[1]: *** [3m] Error 2
make[1]: Leaving directory `/usr/local/src/plt-svn/plt/src'
make: *** [all] Error 2

Any ideas?
Crashes with or without --enable-shared.
gnu x86-64, gentoo, gcc version 4.1.2 (Gentoo 4.1.2 p1.0.2)

-- vyzo

PS: this crash also appears in gentoo's bugzilla for drscheme-4.1 as well: 
but the CFLAGS=-02 fix suggested there does not work

Posted on the users mailing list.