From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Received: (qmail 8166 invoked by uid 71); 10 Jan 2003 09:56:03 -0000 Date: Fri, 10 Jan 2003 09:56:00 -0000 Message-ID: <20030110095603.8165.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Christoph Ludwig Subject: Re: bootstrap/9249: Solaris 8: bootstrap fails with --enable-__cxa-atexit Reply-To: Christoph Ludwig X-SW-Source: 2003-01/txt/msg00631.txt.bz2 List-Id: The following reply was made to PR bootstrap/9249; it has been noted by GNATS. >>From cludwig@cdc.informatik.tu-darmstadt.de Mon Jan 13 00:47:57 2003 From: Christoph Ludwig To: Phil Edwards Cc: gcc-gnats@gcc.gnu.org Subject: Re: bootstrap/9249: Solaris 8: bootstrap fails with --enable-__cxa-atexit Date: Fri, 10 Jan 2003 10:49:53 +0100 Hi, On Thu, Jan 09, 2003 at 05:57:46PM -0500, Phil Edwards wrote: > On Thu, Jan 09, 2003 at 04:24:28PM -0000, cludwig@cdc.informatik.tu-darmstadt.de wrote: > __cxa_atexit is part of glibc, not SUN's libc. You can't use it if it's > not there. Good point. :-) But let me change the PR into a feature and documentation request: a) http://gcc.gnu.org/install/configure.html does not mention --enable-__cxa-atexit at all. I found it only when I ran `gcc/configure --help'. I guess you need to supply this option if you want to use the compiler option -fuse-cxa-atexit? Or does it make -fuse-cxa-atexit the default? b) configure should complain if --enable-__cxa-atexit was passed but is not supported rather than produce linker errors at the end of the build process. Nevertheless, thanks for the clarification! Regards Christoph -- http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/cludwig.html LiDIA-CA: http://www.informatik.tu-darmstadt.de/TI/Forschung/LiDIA-CA/