This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/9249] bootstrap fails with --enable-__cxa-atexit on Solaris
- From: "dhazeghi at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Dec 2003 09:12:03 -0000
- Subject: [Bug bootstrap/9249] bootstrap fails with --enable-__cxa-atexit on Solaris
- References: <20030109082607.9249.cludwig@cdc.informatik.tu-darmstadt.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dhazeghi at yahoo dot com 2003-12-11 09:11 -------
How's this look (I lifted most of it directly from configure.in)?
--- doc/install.texi.old Thu Dec 11 00:56:57 2003
+++ doc/install.texi Thu Dec 11 01:08:53 2003
@@ -938,6 +938,14 @@
AltiVec code when appropriate. This option is only available for
PowerPC systems.
+@item --enable-__cxa_atexit
+Define if you want to use __cxa_atexit, rather than atexit, to
+register C++ destructors for local statics and global objects.
+This is essential for fully standards-compliant handling of
+destructors, but requires __cxa_atexit in libc. This option is currently
+only available on sytems with GNU libc. When enabled, this will cause
+@option{-fuse-cxa-exit} to be passed by default.
+
@item --enable-target-optspace
Specify that target
libraries should be optimized for code space instead of code speed.
Regarding a configure check for this, I haven't got any good ideas. I gues we could blacklist
systems whose triplet didn't end in GNU, but that seems unclean. Ideas?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9249