From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32280 invoked by alias); 4 Jan 2011 02:06:29 -0000 Received: (qmail 31515 invoked by uid 22791); 4 Jan 2011 02:06:27 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_GC,TW_JC X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 04 Jan 2011 02:06:21 +0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/47162] New: [4.6 Regression] LTO is broken X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 04 Jan 2011 02:06:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-01/txt/msg00238.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47162 Summary: [4.6 Regression] LTO is broken Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned@gcc.gnu.org ReportedBy: hjl.tools@gmail.com On Linux/x86-64, revision168439 gave: /export/gnu/import/svn/gcc-test/bld/./prev-gcc/xgcc -B/export/gnu/import/svn/gcc-test/bld/./prev-gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x86_64-unknown-linux-gnu/include -isystem /usr/local/x86_64-unknown-linux-gnu/sys-include -g -O2 -flto=jobserver -fuse-linker-plugin -frandom-seed=1 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -static-libstdc++ -static-libgcc -o build/genconstants \ build/genconstants.o build/read-md.o build/errors.o .././libiberty/libiberty.a lto1: internal compiler error: bytecode stream: trying to read 0 bytes after the end of the input buffer Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[7]: *** [/tmp/cc7rbITJ.ltrans0.ltrans.o] Error 1 lto-wrapper: make returned 2 exit status /usr/local/x86_64-unknown-linux-gnu/bin/ld: lto-wrapper failed collect2: ld returned 1 exit status make[6]: *** [build/genconstants] Error 1 make[6]: *** Waiting for unfinished jobs.... lto1: internal compiler error: bytecode stream: expected tag tree_list instead of LTO_UNKNOWN Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[7]: *** [/tmp/cc2SG2hC.ltrans2.ltrans.o] Error 1 make[7]: *** Waiting for unfinished jobs.... lto-wrapper: make returned 2 exit status /usr/local/x86_64-unknown-linux-gnu/bin/ld: lto-wrapper failed collect2: ld returned 1 exit status make[6]: *** [build/genenums] Error 1 rm gcj-dbtool.pod jcf-dump.pod jv-convert.pod grmic.pod gcj.pod gc-analyze.pod cpp.pod gfdl.pod gij.pod gcc.pod gcov.pod gfortran.pod fsf-funding.pod make[6]: Leaving directory `/export/gnu/import/svn/gcc-test/bld/gcc' make[5]: *** [all-stage2-gcc] Error 2 make[5]: Leaving directory `/export/gnu/import/svn/gcc-test/bld' make[4]: *** [stage2-bubble] Error 2 make[4]: Leaving directory `/export/gnu/import/svn/gcc-test/bld' make[3]: *** [bootstrap] Error 2 make[3]: Leaving directory `/export/gnu/import/svn/gcc-test/bld' and benchspec/CINT2000/176.gcc/run/00000001/make.err: lto1: internal compiler error: bytecode stream: trying to read 0 bytes after the end of the input buffer Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[4]: *** [/tmp/ccWt9u22.ltrans4.ltrans.o] Error 1 lto-wrapper: make returned 2 exit status /usr/local/bin/ld: lto-wrapper failed collect2: ld returned 1 exit status Revision 168415 is OK.