public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/35816]  New: libstdc++ built during bootstrap is pulling in host g++ support for atomic builtins
@ 2008-04-03 16:02 oblivian at users dot sourceforge dot net
  2008-04-03 17:35 ` [Bug libstdc++/35816] " oblivian at users dot sourceforge dot net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: oblivian at users dot sourceforge dot net @ 2008-04-03 16:02 UTC (permalink / raw)
  To: gcc-bugs

When compiling a combined gcc + g++ + binutils, the configure script for the
libstdc++ library is using the host g++ rather than the last stage g++ for
determining atomic builtin support status.

While I probably need to compile the toolchain with CXXFLAGS=-march=i486, from
what I've read, to enable support for atomic builtins in the compiler, I did
not.  This resulted in a target g++ that did not support atomic builtins and a
libstdc++ that expected the compiler did because it got the value from checking
the host g++ rather than the final bootstrap stage g++.

The configure parameters were:
  --prefix=/$(TOOLS_DIR)/usr \
  --with-sysroot=/$(TOOLS_DIR) \
  --with-pic \
  --enable-shared \
  --enable-clocale=gnu \
  --enable-threads=posix \
  --enable-__cxa_atexit \
  --enable-languages=c,c++ \
  --enable-checking=release \
  --disable-werror \
  --enable-stage1-checking \
  --enable-bootstrap


-- 
           Summary: libstdc++ built during bootstrap is pulling in host g++
                    support for atomic builtins
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: oblivian at users dot sourceforge dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35816


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-04-15  0:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-03 16:02 [Bug libstdc++/35816] New: libstdc++ built during bootstrap is pulling in host g++ support for atomic builtins oblivian at users dot sourceforge dot net
2008-04-03 17:35 ` [Bug libstdc++/35816] " oblivian at users dot sourceforge dot net
2008-04-03 20:46 ` [Bug libstdc++/35816] libstdc++ build during bootstrap is optimizing away atomic builtin check oblivian at users dot sourceforge dot net
2008-04-14 22:49 ` bkoz at gcc dot gnu dot org
2008-04-14 23:54 ` bkoz at gcc dot gnu dot org
2008-04-15  0:27 ` bkoz at gcc dot gnu dot org
2008-04-15  0:27 ` bkoz at gcc dot gnu dot org

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