public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/47162] New: [4.6 Regression] LTO is broken
@ 2011-01-04  2:06 hjl.tools at gmail dot com
  2011-01-04  5:52 ` [Bug lto/47162] " hjl.tools at gmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-04  2:06 UTC (permalink / raw)
  To: gcc-bugs

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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug lto/47162] [4.6 Regression] LTO is broken
  2011-01-04  2:06 [Bug lto/47162] New: [4.6 Regression] LTO is broken hjl.tools at gmail dot com
@ 2011-01-04  5:52 ` hjl.tools at gmail dot com
  2011-01-04  9:57 ` jamborm at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-04  5:52 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mjambor at suse dot cz
   Target Milestone|---                         |4.6.0

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-04 05:51:48 UTC ---
It is caused by revision 168420:

http://gcc.gnu.org/ml/gcc-cvs/2011-01/msg00036.html


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug lto/47162] [4.6 Regression] LTO is broken
  2011-01-04  2:06 [Bug lto/47162] New: [4.6 Regression] LTO is broken hjl.tools at gmail dot com
  2011-01-04  5:52 ` [Bug lto/47162] " hjl.tools at gmail dot com
@ 2011-01-04  9:57 ` jamborm at gcc dot gnu.org
  2011-01-04 10:13 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jamborm at gcc dot gnu.org @ 2011-01-04  9:57 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011.01.04 09:57:00
                 CC|                            |jamborm at gcc dot gnu.org
         AssignedTo|unassigned at gcc dot       |jamborm at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #2 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-01-04 09:57:00 UTC ---
I can reproduce the failure, let me try to fix it.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug lto/47162] [4.6 Regression] LTO is broken
  2011-01-04  2:06 [Bug lto/47162] New: [4.6 Regression] LTO is broken hjl.tools at gmail dot com
  2011-01-04  5:52 ` [Bug lto/47162] " hjl.tools at gmail dot com
  2011-01-04  9:57 ` jamborm at gcc dot gnu.org
@ 2011-01-04 10:13 ` rguenth at gcc dot gnu.org
  2011-01-04 13:38 ` hjl.tools at gmail dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-01-04 10:13 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug lto/47162] [4.6 Regression] LTO is broken
  2011-01-04  2:06 [Bug lto/47162] New: [4.6 Regression] LTO is broken hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2011-01-04 10:13 ` rguenth at gcc dot gnu.org
@ 2011-01-04 13:38 ` hjl.tools at gmail dot com
  2011-01-04 13:49 ` jamborm at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-04 13:38 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3
             Status|ASSIGNED                    |NEW

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-04 13:38:05 UTC ---
The easiest way to reproduce is to configure gcc with

--enable-languages=c --with-build-config=bootstrap-lto


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug lto/47162] [4.6 Regression] LTO is broken
  2011-01-04  2:06 [Bug lto/47162] New: [4.6 Regression] LTO is broken hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2011-01-04 13:38 ` hjl.tools at gmail dot com
@ 2011-01-04 13:49 ` jamborm at gcc dot gnu.org
  2011-01-04 18:49 ` jamborm at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jamborm at gcc dot gnu.org @ 2011-01-04 13:49 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|NEW                         |ASSIGNED

--- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-01-04 13:49:12 UTC ---
Restoring the bug status and priority which I believe were inadvertently
modified with the previous comment.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug lto/47162] [4.6 Regression] LTO is broken
  2011-01-04  2:06 [Bug lto/47162] New: [4.6 Regression] LTO is broken hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2011-01-04 13:49 ` jamborm at gcc dot gnu.org
@ 2011-01-04 18:49 ` jamborm at gcc dot gnu.org
  2011-01-05 14:59 ` hjl at gcc dot gnu.org
  2011-01-05 16:09 ` jamborm at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: jamborm at gcc dot gnu.org @ 2011-01-04 18:49 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-01-04 18:49:33 UTC ---
Proposed fix posted to the mailing list:

http://gcc.gnu.org/ml/gcc-patches/2011-01/msg00161.html


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug lto/47162] [4.6 Regression] LTO is broken
  2011-01-04  2:06 [Bug lto/47162] New: [4.6 Regression] LTO is broken hjl.tools at gmail dot com
                   ` (5 preceding siblings ...)
  2011-01-04 18:49 ` jamborm at gcc dot gnu.org
@ 2011-01-05 14:59 ` hjl at gcc dot gnu.org
  2011-01-05 16:09 ` jamborm at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: hjl at gcc dot gnu.org @ 2011-01-05 14:59 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-01-05 14:55:32 UTC ---
Author: hjl
Date: Wed Jan  5 14:55:27 2011
New Revision: 168515

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168515
Log:
Fix PR lto/47162.

2011-01-05  Martin Jambor  <mjambor@suse.cz>

    PR lto/47162
    * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk
    deltas on streamed outgoing edges.
    (output_node_opt_summary): Output info for outgoing edges only when
    the node is in new parameter set.
    (output_cgraph_opt_summary): New parameter set, passed to the two
    aforementioned functions.  Update its forward declaration and its
    callee too.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lto-cgraph.c


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug lto/47162] [4.6 Regression] LTO is broken
  2011-01-04  2:06 [Bug lto/47162] New: [4.6 Regression] LTO is broken hjl.tools at gmail dot com
                   ` (6 preceding siblings ...)
  2011-01-05 14:59 ` hjl at gcc dot gnu.org
@ 2011-01-05 16:09 ` jamborm at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: jamborm at gcc dot gnu.org @ 2011-01-05 16:09 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #7 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-01-05 15:39:41 UTC ---
Fixed.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-01-05 15:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-04  2:06 [Bug lto/47162] New: [4.6 Regression] LTO is broken hjl.tools at gmail dot com
2011-01-04  5:52 ` [Bug lto/47162] " hjl.tools at gmail dot com
2011-01-04  9:57 ` jamborm at gcc dot gnu.org
2011-01-04 10:13 ` rguenth at gcc dot gnu.org
2011-01-04 13:38 ` hjl.tools at gmail dot com
2011-01-04 13:49 ` jamborm at gcc dot gnu.org
2011-01-04 18:49 ` jamborm at gcc dot gnu.org
2011-01-05 14:59 ` hjl at gcc dot gnu.org
2011-01-05 16:09 ` jamborm at gcc dot gnu.org

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