This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 1008 segfaults in genattr
>>>>> Robert Lipe <robertl@dgii.com> writes:
> So, since removing HAVE_ATEXIT replaces the system's exit() with
> it's own (huh!?!?!) we circumvent the abort in the native exit
> becuase we're circumventing the native exit.
Ah, I get it. The exit() in libgcc2 is #ifndef ON_EXIT. Since you claim
to have neither atexit nor on_exit, you get the libgcc2 exit.
Seems clear to me that #undefing HAVE_ATEXIT is a lose.
Jason