public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/64023] New: [5 Regression] r216964 breaks bootstrap on darwin when using gcc as the bootstrap compiler. Date: Sat, 22 Nov 2014 10:19:00 -0000 [thread overview] Message-ID: <bug-64023-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64023 Bug ID: 64023 Summary: [5 Regression] r216964 breaks bootstrap on darwin when using gcc as the bootstrap compiler. Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dominiq at lps dot ens.fr CC: fxcoudert at gcc dot gnu.org, howarth at bromo dot med.uc.edu, iains at gcc dot gnu.org, jakub at redhat dot com Host: x86_64-apple-darwin* Target: x86_64-apple-darwin* Build: x86_64-apple-darwin* When using gcc as the bootstrap compiler, bootstrapping fails at stage 3 on darwin after r216964: libtool: link: /opt/gcc/p_build/./gcc/xg++ -B/opt/gcc/p_build/./gcc/ -nostdinc++ -nostdinc++ -I/opt/gcc/p_build/x86_64-apple-darwin14.0.0/libstdc++-v3/include/x86_64-apple-darwin14.0.0 -I/opt/gcc/p_build/x86_64-apple-darwin14.0.0/libstdc++-v3/include -I/opt/gcc/p_work/libstdc++-v3/libsupc++ -I/opt/gcc/p_work/libstdc++-v3/include/backward -I/opt/gcc/p_work/libstdc++-v3/testsuite/util -L/opt/gcc/p_build/x86_64-apple-darwin14.0.0/libstdc++-v3/src -L/opt/gcc/p_build/x86_64-apple-darwin14.0.0/libstdc++-v3/src/.libs -L/opt/gcc/p_build/x86_64-apple-darwin14.0.0/libstdc++-v3/libsupc++/.libs -B/opt/gcc/gcc4.10p-217961/x86_64-apple-darwin14.0.0/bin/ -B/opt/gcc/gcc4.10p-217961/x86_64-apple-darwin14.0.0/lib/ -isystem /opt/gcc/gcc4.10p-217961/x86_64-apple-darwin14.0.0/include -isystem /opt/gcc/gcc4.10p-217961/x86_64-apple-darwin14.0.0/sys-include -Wl,-undefined -Wl,dynamic_lookup -o .libs/libcc1.0.so -bundle .libs/findcomp.o .libs/libcc1.o .libs/names.o .libs/callbacks.o .libs/connection.o .libs/marshall.o -L/opt/gcc/p_build/x86_64-apple-darwin14.0.0/libstdc++-v3/src -L/opt/gcc/p_build/x86_64-apple-darwin14.0.0/libstdc++-v3/src/.libs -L/opt/gcc/p_build/x86_64-apple-darwin14.0.0/libstdc++-v3/libsupc++/.libs -static-libstdc++ -static-libgcc -Wl,-no_pie ../libiberty/pic/libiberty.a -Wl,-exported_symbols_list,.libs/libcc1-symbols.expsym ld: file not found: libstdc++.a see https://gcc.gnu.org/ml/gcc-patches/2014-11/msg00001.html and analysis at https://gcc.gnu.org/ml/gcc-patches/2014-11/msg00731.html. Note that bootstrap succeeds when using clang as the bootstrap compiler (no support for Ada). The following patch from Iain Sandoe restores bootstrap: --- ../_clean/libcc1/Makefile.in 2014-11-07 17:38:40.000000000 +0100 +++ libcc1/Makefile.in 2014-11-08 19:39:34.000000000 +0100 @@ -98,6 +98,10 @@ LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) + +CXX_LFLAGS = \ + -Xcompiler -B../$(target_noncanonical)/libstdc++-v3/src/.libs \ + -Xcompiler -B../$(target_noncanonical)/libstdc++-v3/libsupc++/.libs CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ @@ -276,7 +280,7 @@ libcc1plugin_la_LIBADD = $(libiberty) libcc1plugin_la_DEPENDENCIES = $(libiberty_dep) libcc1plugin_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ - $(CXXFLAGS) $(libcc1plugin_la_LDFLAGS) $(LTLDFLAGS) -o $@ + $(CXXFLAGS) $(libcc1plugin_la_LDFLAGS) $(CXX_LFLAGS) $(LTLDFLAGS) -o $@ LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) libcc1_la_LDFLAGS = -module -export-symbols $(srcdir)/libcc1.sym @@ -285,7 +289,7 @@ libcc1_la_LIBADD = $(libiberty) libcc1_la_DEPENDENCIES = $(libiberty_dep) libcc1_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ - $(CXXFLAGS) $(libcc1_la_LDFLAGS) $(LTLDFLAGS) -o $@ + $(CXXFLAGS) $(libcc1_la_LDFLAGS) $(CXX_LFLAGS) $(LTLDFLAGS) -o $@ all: $(BUILT_SOURCES) cc1plugin-config.h $(MAKE) $(AM_MAKEFLAGS) all-am
next reply other threads:[~2014-11-22 10:19 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-11-22 10:19 dominiq at lps dot ens.fr [this message] 2014-11-22 10:21 ` [Bug bootstrap/64023] " dominiq at lps dot ens.fr 2014-11-22 10:52 ` iains at gcc dot gnu.org 2014-11-24 0:09 ` fxcoudert at gcc dot gnu.org 2014-11-24 0:39 ` iains at gcc dot gnu.org 2014-12-13 11:25 ` jakub at gcc dot gnu.org 2014-12-14 22:56 ` dominiq at lps dot ens.fr
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-64023-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: linkBe 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).