[plt-scheme] mzscheme and gcc 3.4
Has anyone tried compiling mzscheme with gcc 3.4 and some extra
optimization flags?
I built it today using this wrapper around gcc:
/usr/bin/gcc-3.4 -mtune=athlon-tbird -march=athlon-tbird
-funit-at-a-time -fpeel-loops -funswitch-loops -fprefetch-loop-arrays
-fweb -frename-registers -foptimize-sibling-calls -finline-functions
-funroll-loops -ftracer ${1+"$@"}
Then after "make", "make install", and "rm -rf `find $PLT/collects -name
compiled`", I got a segfault in mzscheme:
[~/plt/collects/compiler] > gdb mzscheme
(gdb) run
Starting program: /usr/local/bin/mzscheme
Welcome to MzScheme version 206.1, Copyright (c) 2004 PLT Scheme, Inc.
> (require (lib "compiler.ss" "compiler"))
Program received signal SIGSEGV, Segmentation fault.
0x40082bde in siglongjmp () from /lib/tls/libc.so.6
(gdb) bt
#0 0x40082bde in siglongjmp () from /lib/tls/libc.so.6
#1 0x00000015 in ?? ()
#2 0x00000001 in ?? ()
Has anyone else run into this lately?
Daniel