Colin Paul Adams wrote:
> As of today (I don't know when I last compiled it sucessfully),
> gestalt (but not gexslt) seg-faults at start up, when compiled with
> gec + boehm gc 7.0, but not without gec, nor when compiled with ISE
> This seems very strange. It requires both eposix and boehm gc to
> produce the error (gexslt compiled with boehm gc does not produce the
> error), but does not depend upon any eposix facilities being used
> (just typing the command name - expecting the usage message, is
> sufficent to seg-fault).
> So I can't think of what might be the problem. Anyone have any ideas?
If the problem comes from gec, it might be a consequence of that:
* When gec compiles an application with the Boehm GC, it now generates
code that will let the GC trigger the feature `dispose' when objects
You can try to edit the file $GOBO/tool/gec/runtime/c/ge_gc.h and
replace line 68:
#define GE_register_dispose(obj, disp)
GC_REGISTER_FINALIZER((void*)(obj), (void (*) (void*, void*))
&GE_boehm_dispose, (void*)(disp), NULL, NULL)
#define GE_register_dispose(obj, disp) /* do nothing */
and then recompile gestalt.