[Bug bootstrap/54642] [4.8 regression] make install broken by r191466
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54642 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added Target|x86_64-apple-darwin12 | Status|UNCONFIRMED |NEW Last reconfirmed||2012-09-21 CC||ebotcazou at gcc dot ||gnu.org Host|x86_64-apple-darwin12 | Ever Confirmed|0 |1 Summary|bootstrap broken by r191466 |[4.8 regression] make |using clang++ |install broken by r191466 Target Milestone|--- |4.8.0 Severity|normal |critical Build|x86_64-apple-darwin12 | --- Comment #10 from Eric Botcazou ebotcazou at gcc dot gnu.org 2012-09-21 14:52:03 UTC --- We have it on Linux as well: Make install failed make[1]: Entering directory `/red.a/gnatmail/gcc-x/build-red/x86_64-linux/gnat/obj' /bin/bash ../src/mkinstalldirs /red.a/gnatmail/gcc-x/build-red/x86_64-linux/gnat/gnat-bin /red.a/gnatmail/gcc-x/build-red/x86_64-linux/gnat/gnat-bin [...] libtool: install: /usr/bin/install -c .libs/liblto_plugin.lai /red.a/gnatmail/gcc-x/build-red/x86_64-linux/gnat/gnat-bin/libexec/gcc/x86_64-pc-linux-gnu/4.8.0/liblto_plugin.la libtool: install: warning: remember to run `libtool --finish /usr/gnat/libexec/gcc/x86_64-pc-linux-gnu/4.8.0' make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/red.a/gnatmail/gcc-x/build-red/x86_64-linux/gnat/obj/lto-plugin' make[2]: Leaving directory `/red.a/gnatmail/gcc-x/build-red/x86_64-linux/gnat/obj/lto-plugin' make[2]: Entering directory `/red.a/gnatmail/gcc-x/build-red/x86_64-linux/gnat/obj/gcc' g++ -c -g -O2 -DIN_GCC -fno-exceptions -fno-rtti -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 -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/red.a/gnatmail/gcc-x/build-red/x86_64-linux/libmpfr/install/include -I/red.a/gnatmail/gcc-x/build-red/x86_64-linux/libmpfr/install/include -I/red.a/gnatmail/gcc-x/build-red/x86_64-linux/libmpfr/install/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/bid -I../libdecnumber../../src/gcc/lto-symtab.c -o lto-symtab.o cc1plus: error: unrecognized command line option -Wno-narrowing cc1plus: error: unrecognized command line option -Wno-overlength-strings make[2]: *** [lto-symtab.o] Error 1 make[2]: Leaving directory `/red.a/gnatmail/gcc-x/build-red/x86_64-linux/gnat/obj/gcc' make[1]: *** [install-gcc] Error 2 make[1]: Leaving directory `/red.a/gnatmail/gcc-x/build-red/x86_64-linux/gnat/obj' make: *** [install] Error 2
[Bug bootstrap/54642] [4.8 regression] make install broken by r191466
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54642 --- Comment #11 from Jack Howarth howarth at nitro dot med.uc.edu 2012-09-21 18:33:14 UTC --- Seems like this could be due to the change * lto-symtab.c: Do not include gt-lto-symtab.h. so I would think we need this change as well, no? Index: gcc/Makefile.in === --- gcc/Makefile.in(revision 191617) +++ gcc/Makefile.in(working copy) @@ -2156,7 +2156,7 @@ lto-section-out.o : lto-section-out.c $( $(DATA_STREAMER_H) lto-symtab.o: lto-symtab.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(TREE_H) $(GIMPLE_H) $(GGC_H) $(HASHTAB_H) \ - $(LTO_STREAMER_H) $(LINKER_PLUGIN_API_H) gt-lto-symtab.h + $(LTO_STREAMER_H) $(LINKER_PLUGIN_API_H) lto-opts.o: lto-opts.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \ $(HASHTAB_H) $(GGC_H) $(BITMAP_H) $(FLAGS_H) $(OPTS_H) $(OPTIONS_H) \ $(COMMON_TARGET_H) $(DIAGNOSTIC_H) $(LTO_STREAMER_H)
[Bug bootstrap/54642] [4.8 regression] make install broken by r191466
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54642 --- Comment #12 from Jack Howarth howarth at nitro dot med.uc.edu 2012-09-21 19:21:49 UTC --- The patch proposed in Comment 11 eliminates the bootstrap failures under clang/clang++ on x86_64-apple-darwin12.
[Bug bootstrap/54642] [4.8 regression] make install broken by r191466
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54642 --- Comment #13 from Eric Botcazou ebotcazou at gcc dot gnu.org 2012-09-21 19:30:34 UTC --- Seems like this could be due to the change * lto-symtab.c: Do not include gt-lto-symtab.h. so I would think we need this change as well, no? Index: gcc/Makefile.in === --- gcc/Makefile.in(revision 191617) +++ gcc/Makefile.in(working copy) @@ -2156,7 +2156,7 @@ lto-section-out.o : lto-section-out.c $( $(DATA_STREAMER_H) lto-symtab.o: lto-symtab.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(TREE_H) $(GIMPLE_H) $(GGC_H) $(HASHTAB_H) \ - $(LTO_STREAMER_H) $(LINKER_PLUGIN_API_H) gt-lto-symtab.h + $(LTO_STREAMER_H) $(LINKER_PLUGIN_API_H) lto-opts.o: lto-opts.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \ $(HASHTAB_H) $(GGC_H) $(BITMAP_H) $(FLAGS_H) $(OPTS_H) $(OPTIONS_H) \ $(COMMON_TARGET_H) $(DIAGNOSTIC_H) $(LTO_STREAMER_H) Good catch! Please install it as obvious if not already done.
[Bug bootstrap/54642] [4.8 regression] make install broken by r191466
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54642 --- Comment #14 from Jack Howarth howarth at nitro dot med.uc.edu 2012-09-21 19:34:48 UTC --- Patch posted http://gcc.gnu.org/ml/gcc-patches/2012-09/msg01559.html. Can someone commit this for me?
[Bug bootstrap/54642] [4.8 regression] make install broken by r191466
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54642 --- Comment #15 from hjl at gcc dot gnu.org hjl at gcc dot gnu.org 2012-09-21 20:07:42 UTC --- Author: hjl Date: Fri Sep 21 20:07:36 2012 New Revision: 191618 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191618 Log: Remove lto-symtab.o's dependency on gt-lto-symtab.h PR bootstrap/54642 * Makefile.in (lto-symtab.o): Remove gt-lto-symtab.h dependency. Modified: trunk/gcc/ChangeLog trunk/gcc/Makefile.in
[Bug bootstrap/54642] [4.8 regression] make install broken by r191466
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54642 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #16 from H.J. Lu hjl.tools at gmail dot com 2012-09-21 20:09:05 UTC --- Fixed.