Bug#116823: Debian's g++-3.0 forgets to generate some code.
On Tue, 23 Oct 2001, Daniel Jacobowitz wrote:
> [...]
> >
> > hmm, I was under the impression, that enabling -fuse-cxa-atexit as the
> > default on a glibc-2.2 based system, was safe.
> >
> > You get the code you want with -fno-use-cxa-atexit. Should we revert
> > this change?
>
> I don't think so. I'm 90% positive that this is CLN's fault.
> Inserting labels in the body of a function is a somewhat disgusting way
> to do it!
>
> I recommend the use of an ELF section for this sort of thing, the same
> way that the Linux kernel implements it for modules.
OOOoooooooooooooooooooooooooooooooooopppppppppppppppppsssssss............
Could you please provide a pointer or two to code samples or things that
might be helpful implementing it the Right Way, since I intend to try and
fix it? (Dunno if I'm old enough for this, though.)
Thanks a lot for all the input, anyways.
Regards
-richy.
--
.''`. Richard B. Kreckel
: :' : <kreckel@debian.org>
`. `' <kreckel@ginac.de>
`- <http://www.ginac.de/~kreckel/>
Reply to: