This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>Number:         9249
>Category:       bootstrap
>Synopsis:       Solaris 8: bootstrap fails with --enable-__cxa-atexit
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 09 08:26:07 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     cludwig@cdc.informatik.tu-darmstadt.de
>Release:        gcc version 3.2.1
>Organization:
>Environment:
sparc-sun-solaris2.8
>Description:
Configuration:

../gcc-3.2.1-SOURCE/configure \
  --prefix=/cdc/tmp-cludwig/gcc/gcc-3.2.1 \
  --with-gnu-as --with-as=/cdc/tmp-cludwig/gcc/binutils-2.13/bin/as \
  --with-gnu-ld --with-ld=/cdc/tmp-cludwig/gcc/binutils-2.13/bin/ld \
  --disable-multilib --enable-threads \
  --enable-version-specific-runtime-libs \
  --enable-languages='c,c++' --enable-__cxa_atexit

`make bootstrap' produces:

[...]
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'
collect2: ld returned 1 exit status
make[4]: *** [abi_check] Error 1
make[4]: Leaving directory `/cdc/tmp-cludwig/gcc/gcc-3.2.1-BUILD/sparc-sun-solaris2.8/libstdc++-v3/testsuite'
[...]

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).

If you need it, I can send you the complete log of `make bootstrap'
as well as sparc-sun-solaris2.8/libstdc++-v3/config.log.

Regards

Christoph
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]