1008 segfaults in genattr

Jason Merrill jason@cygnus.com
Thu Nov 20 22:03:00 GMT 1997


>>>>> Robert Lipe <robertl@dgii.com> writes:

> The presence or absence of HAVE_ATEXIT in the ELF part of sco5.h seems
> to matter for only this case.    What's your recommendation?  I can think
> of a few from here:

> 1) Remove HAVE_ATEXIT.  Make all binaries 14K larger becuase we suck in
> 	more of libgcc2.

> 2) Put it back, and just let the static dtor calling exit thing get a 
> 	big fat coredump.

> 3) Put it back and try to instrument around this unpleasantry.

> 4) Make the test case call _exit() instead of exit(), but just 
> 	let code in the field learn this the hard way.

> 5) Put it back and let it fail. Make the test xfail for offending 
> 	targets.  (This all works on OpenServer COFF WITHOUT 
> 	HAVE_ATEXIT.)

I think I'm going to go with #4.  Shouldn't OpenServer COFF also define
HAVE_ATEXIT?

Jason



More information about the Gcc mailing list