Quoth felix winkelmann <[EMAIL PROTECTED]>, on 2008-02-05 08:06:37 +0100: > Wouldn't a segfault generate a different exit code?
That's what I would have thought too, and yet I see lines like Feb 5 01:20:19 drache kernel: chicken[26747]: segfault at 00000001ffffffff rip 000000000045e754 rsp 00007fffdf5e34f0 error 4 in my kern.log that appear to correspond to attempted compilations. > Please try again with this options: > > chicken-setup -v -csc-option -v2 csc-option "-debug p" opengl """ /usr/local/bin/csc -feature compiling-extension -v -v2 -debug p gl.scm -s -O2 -d0 -L "-L/usr/X11R6/lib -L/usr/X11/lib -lGL -LX11" /usr/local/bin/chicken gl.scm -output-file gl.c -dynamic -feature chicken-compile-shared -quiet -feature compiling-extension -verbose -debug p -optimize-level 2 -debug-level 0 Loading compiler extensions... debugging info: none pass: source ; loading /usr/local/lib/chicken/3/easyffi.so ... pass: canonicalized scanning toplevel assignments... pass: cps analysis traversal phase... analysis gathering phase... pass: analysis optimization pass: 1 pre-optimization phase... traversal phase... pass: optimized-iteration analysis traversal phase... analysis gathering phase... pass: analysis optimization pass: 2 pre-optimization phase... traversal phase... pass: optimized-iteration rewritings enabled... analysis traversal phase... analysis gathering phase... pass: analysis optimization pass: 3 pre-optimization phase... traversal phase... pass: optimized-iteration analysis traversal phase... analysis gathering phase... pass: analysis optimization pass: 4 pre-optimization phase... traversal phase... pass: optimized-iteration analysis traversal phase... analysis gathering phase... pass: analysis optimization pass: 5 pre-optimization phase... traversal phase... pass: optimized-iteration analysis traversal phase... analysis gathering phase... pass: analysis optimization pass: 6 pre-optimization phase... traversal phase... pass: optimized-iteration analysis traversal phase... analysis gathering phase... direct leaf routine optimization pass... analysis traversal phase... analysis gathering phase... pass: analysis pass: optimized closure conversion gathering phase... closure conversion transformation phase... pass: final-analysis pass: closure-converted preparation phase... *** Shell command terminated with exit status 1: /usr/local/bin/chicken gl.scm -output-file gl.c -dynamic -feature chicken-compile-shared -quiet -feature compiling-extension -verbose -debug p -optimize-level 2 -debug-level 0 make: Failed to make gl.so: shell invocation failed with non-zero return status Error: shell invocation failed with non-zero return status "/usr/local/bin/csc -feature compiling-extension -v -v2 -debug p gl.scm -s -O2 ... 256 """ > cheers, > felix ---> Drake Wilson _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
