This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]