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

             Bug #: 55596
           Summary: [google] r191813 broke bootstrap-lto on google/gcc-4_7
                    branch
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: lto
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: m...@use.net


r191813 broke bootstrap-lto on the google/gcc-4_7 branch. updating to one
revision prior fixes the issue. trying to cherry pick other LTO fixes from
trunk doesn't resolve the issues, only changes the error (to an ICE in
lto_fixup_prevailing_decls).

$ rm -rf *
$ ../google-gcc-4_7-searching/configure --with-build-config=bootstrap-lto
--program-suffix=-google-4.7 --prefix=/u/mhargett --enable-lto
--with-fpmath=sse --disable-libmudflap --disable-libssp --enable-build-with-cxx
--enable-gold=yes --with-mpc=/u/mhargett --with-cloog=/u/mhargett/
--with-ppl=/u/mhargett/ --with-gmp=/u/mhargett/ --with-mpfr=/u/mhargett/
--enable-cloog-backend=isl --disable-cloog-version-check --disable-multilib
--disable-libgomp --disable-werror --enable-languages=c,c++,lto

$ make 

/work/mhargett/google-gcc-4.7-obj/./prev-gcc/g++
-B/work/mhargett/google-gcc-4.7-obj/./prev-gcc/
-B/u/mhargett/x86_64-unknown-linux-gnu/bin/ -nostdinc++
-B/work/mhargett/google-gcc-4.7-obj/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/work/mhargett/google-gcc-4.7-obj/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-I/work/mhargett/google-gcc-4.7-obj/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/work/mhargett/google-gcc-4.7-obj/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/work/mhargett/google-gcc-4_7-searching/libstdc++-v3/libsupc++
-L/work/mhargett/google-gcc-4.7-obj/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/work/mhargett/google-gcc-4.7-obj/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
  -g -O2 -flto=jobserver -frandom-seed=1 -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  
-DHAVE_CONFIG_H -static-libstdc++ -static-libgcc  -o cc1plus \
          cp/cp-lang.o c-family/stub-objc.o cp/call.o cp/decl.o cp/expr.o
cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o
cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o
cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o
cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o
cp/cxx-pretty-print.o cp/cp-gimplify.o tree-mudflap.o attribs.o incpath.o
c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o
c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o
c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o
c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o i386-c.o
default-c.o cc1plus-checksum.o main.o  libbackend.a libcommon-target.a
libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a
../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a 
-L/u/mhargett//lib -lcloog-isl -lisl -L/u/mhargett//lib -lppl_c -lppl  -lgmpxx
-L/u/mhargett//lib -L/u/mhargett//lib -L/u/mhargett/lib -lmpc -lmpfr -lgmp
-rdynamic -ldl  -L../zlib -lz
lto1: internal compiler error: tree code ‘H?E?H????@’ is not supported in LTO
streams


Let me know if providing the LTO temps would be useful.

Reply via email to