bootstrap/9249: Solaris 8: bootstrap fails with --enable-__cxa-atexit

Phil Edwards phil@jaj.com
Thu Jan 9 23:06:00 GMT 2003


The following reply was made to PR bootstrap/9249; it has been noted by GNATS.

>From phil@jaj.com  Mon Jan 13 00:46:55 2003
From: Phil Edwards <phil@jaj.com>
To: cludwig@cdc.informatik.tu-darmstadt.de
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: bootstrap/9249: Solaris 8: bootstrap fails with --enable-__cxa-atexit
Date: Thu, 9 Jan 2003 17:57:46 -0500

 On Thu, Jan 09, 2003 at 04:24:28PM -0000, cludwig@cdc.informatik.tu-darmstadt.de wrote:
 > 
 > [...]
 > abi_check.o: In function `__static_initialization_and_destruction_0(int, int)':
 > /cdc/tmp-cludwig/gcc/gcc-3.2.1-BUILD/sparc-sun-solaris2.8/libstdc++-v3/include/iostream:63: undefined reference to `__cxa_atexit'
 
 Well, yeah.
 
 
 > As soon as I left out the option `--enable-__cxa-atexit' I could successfully 
 > build and install the compiler. The same option did not
 > cause any problems on my notebook (i686-pc-linux-gnu).
 
 __cxa_atexit is part of glibc, not SUN's libc.  You can't use it if it's
 not there.
 
 
 
 -- 
 I would therefore like to posit that computing's central challenge, viz. "How
 not to make a mess of it," has /not/ been met.
                                                  - Edsger Dijkstra, 1930-2002



More information about the Gcc-prs mailing list