[plt-scheme] build segfault

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Oct 7 15:29:09 EDT 2008

I introduced a bug this morning for platforms that need explicit
execute permission set on memory that's allocated for code by the JIT.
Now fixed in SVN.


At Tue, 7 Oct 2008 14:29:40 -0400 (EDT), Dimitris Vyzovitis wrote:
> make segfaults with svn-11966
> ./configure [--enable-shared]
> make
> ...
> 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: 
> http://bugs.gentoo.org/show_bug.cgi?id=237508]
> but the CFLAGS=-02 fix suggested there does not work
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme


Posted on the users mailing list.