public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/46650] New: r167010 breaks --enable-build-with-cxx
Date: Thu, 25 Nov 2010 02:03:00 -0000	[thread overview]
Message-ID: <bug-46650-4@http.gcc.gnu.org/bugzilla/> (raw)

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

           Summary: r167010 breaks --enable-build-with-cxx
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: howarth@nitro.med.uc.edu


On x86_64-apple-darwin10 (and likely any target using an older g++), the
poisoning of strerror in system.h breaks the bootstrap when using
-enable-build-with-cxx. These failures are of the form...

g++ -c  -g -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. -I.
-I../../gcc-4.6-20101124/gcc -I../../gcc-4.6-20101124/gcc/.
-I../../gcc-4.6-20101124/gcc/../include
-I../../gcc-4.6-20101124/gcc/../libcpp/include -I/sw/include -I/sw/include 
-I../../gcc-4.6-20101124/gcc/../libdecnumber
-I../../gcc-4.6-20101124/gcc/../libdecnumber/dpd -I../libdecnumber
-I/sw/include  -I/sw/include -DCLOOG_INT_GMP -DCLOOG_ORG -I/sw/include
../../gcc-4.6-20101124/gcc/c-lang.c -o c-lang.o
g++ -c  -g -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual  -fno-common 
-DHAVE_CONFIG_H -I. -Ic-family -I../../gcc-4.6-20101124/gcc
-I../../gcc-4.6-20101124/gcc/c-family -I../../gcc-4.6-20101124/gcc/../include
-I../../gcc-4.6-20101124/gcc/../libcpp/include -I/sw/include -I/sw/include 
-I../../gcc-4.6-20101124/gcc/../libdecnumber
-I../../gcc-4.6-20101124/gcc/../libdecnumber/dpd -I../libdecnumber
-I/sw/include  -I/sw/include -DCLOOG_INT_GMP -DCLOOG_ORG -I/sw/include
../../gcc-4.6-20101124/gcc/c-family/stub-objc.c -o c-family/stub-objc.o
In file included from
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++locale.h:48,
                 from /usr/include/c++/4.2.1/iosfwd:45,
                 from /sw/include/gmp.h:24,
                 from ../../gcc-4.6-20101124/gcc/double-int.h:24,
                 from ../../gcc-4.6-20101124/gcc/tree.h:31,
                 from ../../gcc-4.6-20101124/gcc/c-family/stub-objc.c:26:
/usr/include/c++/4.2.1/cstring:75:8: error: attempt to use poisoned "strerror"
/usr/include/c++/4.2.1/cstring:95:11: error: attempt to use poisoned "strerror"

when using...

 ../gcc-4.6-20101124/configure --prefix=/sw --prefix=/sw/lib/gcc4.6
--mandir=/sw/share/man --infodir=/sw/lib/gcc4.6/info
--enable-languages=c,c++,fortran,objc,obj-c++,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw
--with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--program-suffix=-fsf-4.6 --enable-checking=yes --enable-cloog-backend=isl
--enable-build-with-cxx


             reply	other threads:[~2010-11-25  1:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-25  2:03 howarth at nitro dot med.uc.edu [this message]
2010-11-25  2:26 ` [Bug bootstrap/46650] " howarth at nitro dot med.uc.edu
2010-11-25  2:28 ` howarth at nitro dot med.uc.edu
2010-11-25  3:39 ` joseph at codesourcery dot com
2010-11-25  7:59 ` howarth at nitro dot med.uc.edu
2010-11-26 17:38 ` howarth at nitro dot med.uc.edu
2010-12-13 18:34 ` ian at gcc dot gnu.org
2010-12-20 18:20 ` howarth at nitro dot med.uc.edu

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=bug-46650-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).