[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#180129: g++-3.2: please use --enable-__cxa_atexit



On Fri, 7 Feb 2003 07:39:55 -0800 Randolph Chung wrote:
> > For a standard conforming compiler, g++-3.2 must be configured with
> > --enable-__cxa_atexit (the function __cxa_atexit is in libc6).
> 
> are you actually seeing a problem?
> 
> legolas[8:01] ~% gcc -v
> Reading specs from /usr/lib/gcc-lib/hppa-linux/3.2.2/specs
> Configured with: ../src/configure -v --enable-languages=c,c++,f77,proto,pascal,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-objc-gc hppa-linux
> Thread model: posix
> gcc version 3.2.2 20030131 (Debian prerelease)
> 
> we already enable that flag...

You must be using a different version (this is g++ and not gcc, though):

mfx@laetitia:~ > /usr/bin/g++-3.2 -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.2/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,pascal,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --disable-__cxa_atexit --enable-java-gc=boehm --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.2.2
mfx@laetitia:~ > dpkg -l g++-3.2
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  g++-3.2        3.2.2-1        The GNU C++ compiler


markus





Reply to: