public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: cludwig@cdc.informatik.tu-darmstadt.de
To: gcc-gnats@gcc.gnu.org
Subject: bootstrap/9249: Solaris 8: bootstrap fails with --enable-__cxa-atexit
Date: Thu, 09 Jan 2003 16:26:00 -0000	[thread overview]
Message-ID: <20030109162428.23466.qmail@sources.redhat.com> (raw)


>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:


             reply	other threads:[~2003-01-09 16:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-09 16:26 cludwig [this message]
2003-01-09 23:06 Phil Edwards
2003-01-10  9:56 Christoph Ludwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030109162428.23466.qmail@sources.redhat.com \
    --to=cludwig@cdc.informatik.tu-darmstadt.de \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).