This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 1008 segfaults in genattr
- To: Robert Lipe <robertl at dgii dot com>
- Subject: Re: 1008 segfaults in genattr
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 21 Nov 1997 23:15:06 -0800
- cc: "H.J. Lu" <hjl at lucon dot org>, acs at acm dot org, egcs at cygnus dot com, jason at cygnus dot com
- Reply-To: law at cygnus dot com
In message <19971121234907.48822@dgii.com>you write:
> > So apparently the code is supposed to handle this. I think we need to
> > debug _why_ the code is failing when it gets called the second time.
>
> I'm not seeing __do_global_dtors_aux() called twice, but I think the UW
> dude is.
OK. The uw & sco5 problems are definitely different. Let's hope my change
fixes the UW problem.
I'm kinda curious why your 2nd call to exit is aborting; any chance you
could assembly level debug the 2nd call? Could it just be some paranoid
libc guy aborting if exit is called recursively?!?
I'd also be interested in whether or not a C++ hello world program will
call __do_global_dtors_aux twice on sco5.
Jeff