On Wed, Oct 24, 2001 at 01:11:02AM +0200, Matthias Klose wrote: > Richard B. Kreckel writes: > > Package: g++-3.0 > > Version: 1:3.0.2-0pre011014 > > Severity: important > > > > Summary: It seems like some bug crept into Debian's gcc-3.0. The bug does > > not seem to be present upstream. This bug renders the CLN package > > unlinkable with our compiler. > > > > The following piece of code is extracted from CLN's PROVIDE/REQUIRE > > mechanism for setting up global objects: > > [...] > > 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. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer