Andrew Koenig [EMAIL PROTECTED] writes:
Marius Could you try compiling without -O2? Also, if convenient,
could you Marius compile with GCC 2.95.x?
Do I need to do anything beyond deleting -O2 from all the Makefiles?
Just doing
$ make clean
$ make CFLAGS=-g
should be enough. You can
Andrew Koenig [EMAIL PROTECTED] writes:
I was going to suggest a binary-search approach to finding the
problem, but of course that might not work if the optimization problem
shows up in more than one translation unit. But what should work is
to compile everything with -O0, then recompiling
Marius Yeah, another approach is to just run the thing in the
Marius debugger and trace the segfault back to where the optimization
Marius screwed us.
That works if the problem isn't a data structure corrupted by
an optimization in an apparently unrelated place.
Anyway, running with -O0 is fine
I thought that primitive-exit would call _exit(2) instead of
exit(3). The reason is basically the same as for not calling scheme
unwind handlers: some library may have registered an atexit hook,
and you don't want this called in the forked process.
I think there needs to be some way to _exit.
Bill Schottstaedt [EMAIL PROTECTED] writes:
I think the fact that procedure-source returns a wrong type error
if passed a procedure-with-setter is less than ideal:
Indeed.
* debug.c (scm_procedure_source): Handle all objects for which
procedure? is #t. (Thanks to Bill Schottstaedt.)
(Fixed