public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tromey at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/58476] New: bootstrap failure with Go enabled
Date: Thu, 19 Sep 2013 13:56:00 -0000	[thread overview]
Message-ID: <bug-58476-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 58476
           Summary: bootstrap failure with Go enabled
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tromey at gcc dot gnu.org

I'm using a recent (yesterda) gcc trunk from git.
I have no local patches applied.
I'm building a native gcc on x86-64 Fedora 18.
I configured with:

barimba. ./config.status --version
config.status
configured by ../gcc/configure, generated by GNU Autoconf 2.64,
  with options " '--prefix=/home/tromey/Space/Trunk/Git/install'
'--enable-threads=posix' '--enable-checking=yes' '--enable-java-awt=gtk'
'--disable-multilib' '--enable-libgo' '--enable-libada' '--disable-static'
'--enable-languages=c,ada,c++,fortran,go,java,lto,objc,obj-c++'"


Bootstrap fails when linking the Go front end:

make[3]: Entering directory `/home/tromey/Space/Trunk/Git/build/gcc'
/home/tromey/Space/Trunk/Git/build/./prev-gcc/xg++
-B/home/tromey/Space/Trunk/Git/build/./prev-gcc/
-B/home/tromey/Space/Trunk/Git/install/x86_64-unknown-linux-gnu/bin/
-nostdinc++
-B/home/tromey/Space/Trunk/Git/build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/tromey/Space/Trunk/Git/build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-I/home/tromey/Space/Trunk/Git/build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/home/tromey/Space/Trunk/Git/build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/home/tromey/Space/Trunk/Git/gcc/libstdc++-v3/libsupc++
-L/home/tromey/Space/Trunk/Git/build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/tromey/Space/Trunk/Git/build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
  -g -O2 -gtoggle -DIN_GCC   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common 
-DHAVE_CONFIG_H -static-libstdc++ -static-libgcc  -o go1 \
      go/ast-dump.o go/dataflow.o go/export.o go/expressions.o go/go-backend.o
go/go-dump.o go/go-gcc.o go/go-lang.o go/go-linemap.o go/go-optimize.o go/go.o
go/gogo-tree.o go/gogo.o go/import.o go/import-archive.o go/lex.o go/parse.o
go/runtime.o go/statements.o go/types.o go/unsafe.o attribs.o libbackend.a
main.o tree-browser.o libcommon-target.a libcommon.a ../libcpp/libcpp.a
../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a  
../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a   -lmpc -lmpfr -lgmp -rdynamic -ldl  -L../zlib
-lz
/home/tromey/Space/Trunk/Git/build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.a(istream.o):
In function `std::istream::ignore(long, int)':
/home/tromey/Space/Trunk/Git/build/x86_64-unknown-linux-gnu/libstdc++-v3/src/c++98/../../../../../gcc/libstdc++-v3/src/c++98/istream.cc:116:
undefined reference to `std::istream::ignore(long)'
/home/tromey/Space/Trunk/Git/build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.a(istream.o):
In function `std::basic_istream<wchar_t, std::char_traits<wchar_t>
>::ignore(long, unsigned int)':
/home/tromey/Space/Trunk/Git/build/x86_64-unknown-linux-gnu/libstdc++-v3/src/c++98/../../../../../gcc/libstdc++-v3/src/c++98/istream.cc:521:
undefined reference to `std::basic_istream<wchar_t, std::char_traits<wchar_t>
>::ignore(long)'
collect2: error: ld returned 1 exit status
make[3]: *** [go1] Error 1
make[3]: Leaving directory `/home/tromey/Space/Trunk/Git/build/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/home/tromey/Space/Trunk/Git/build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/tromey/Space/Trunk/Git/build'
make: *** [all] Error 2



FWIW, this blocks the auto-dependency patch series.


             reply	other threads:[~2013-09-19 13:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-19 13:56 tromey at gcc dot gnu.org [this message]
2013-09-19 15:45 ` [Bug bootstrap/58476] " ian at airs dot com
2013-09-20 16:46 ` tromey at gcc dot gnu.org
2013-09-20 17:42 ` [Bug bootstrap/58476] In top-level configure --disable-static should change default for --with-boot-ldflags ian at airs dot com
2015-05-06 20:05 ` michael at talosis dot ca

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