public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/45194] New: lto1: internal compiler error: in lto_varpool_replace_node, at lto-symtab.c:292
@ 2010-08-05 11:46 jamborm at gcc dot gnu dot org
2010-08-05 11:53 ` [Bug lto/45194] " jamborm at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-08-05 11:46 UTC (permalink / raw)
To: gcc-bugs
With gcc trunk revision 162816 I am unable to compile Firefox with
WHOPR (or LTO, for that matter) because I get the following ICE:
lto1: internal compiler error: in lto_varpool_replace_node, at lto-symtab.c:292
I will attach preprocessed versions of four source files which are
necessary to reproduce the issue.
--
Summary: lto1: internal compiler error: in
lto_varpool_replace_node, at lto-symtab.c:292
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jamborm at gcc dot gnu dot org
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45194
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug lto/45194] lto1: internal compiler error: in lto_varpool_replace_node, at lto-symtab.c:292
2010-08-05 11:46 [Bug lto/45194] New: lto1: internal compiler error: in lto_varpool_replace_node, at lto-symtab.c:292 jamborm at gcc dot gnu dot org
@ 2010-08-05 11:53 ` jamborm at gcc dot gnu dot org
2010-08-22 9:16 ` hubicka at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-08-05 11:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jamborm at gcc dot gnu dot org 2010-08-05 11:53 -------
Created an attachment (id=21401)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21401&action=view)
Original testcase
After extracting, set CC and CXX variables to paths to c and c++
compilers respectively and run the run script:
$ CXX=/abuild/mjambor/inst/icln/bin/g++ CC=/abuild/mjambor/inst/icln/bin/gcc
./run
+ /abuild/mjambor/inst/icln/bin/gcc -fPIC -fno-exceptions -fwhopr=24
-fuse-linker-plugin -fno-strict-aliasing -pthread -pipe -Os -freorder-blocks
-fno-reorder-functions -fomit-frame-pointer -c sysunix.i
+ /abuild/mjambor/inst/icln/bin/gcc -fPIC -fno-exceptions -fwhopr=24
-fuse-linker-plugin -fno-strict-aliasing -pthread -pipe -Os -freorder-blocks
-fno-reorder-functions -fomit-frame-pointer -c editline.i
+ /abuild/mjambor/inst/icln/bin/g++ -fPIC -fno-exceptions -fwhopr=24
-fuse-linker-plugin -fno-strict-aliasing -pthread -pipe -Os -freorder-blocks
-fno-reorder-functions -fomit-frame-pointer -c -fno-rtti -fpermissive
-Wno-invalid-offsetof js.ii
+ /abuild/mjambor/inst/icln/bin/g++ -fPIC -fno-exceptions -fwhopr=24
-fuse-linker-plugin -fno-strict-aliasing -pthread -pipe -Os -freorder-blocks
-fno-reorder-functions -fomit-frame-pointer -c -fno-rtti -fpermissive
-Wno-invalid-offsetof jsworkers.ii
+ /abuild/mjambor/inst/icln/bin/g++ -o js -fPIC -fno-exceptions -fwhopr=24
-fuse-linker-plugin -fno-strict-aliasing -pthread -pipe -Os -freorder-blocks
-fno-reorder-functions -fomit-frame-pointer js.o jsworkers.o editline.o
sysunix.o -lpthread -Wl,-rpath-link,/bin -Wl,-rpath-link,/lib -lplds4 -lplc4
-lnspr4 -lpthread -ldl -ldl -lm
lto1: internal compiler error: in lto_varpool_replace_node, at lto-symtab.c:292
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: /abuild/mjambor/inst/icln/bin/g++ returned 1 exit status
/usr/bin/gold: fatal error: lto-wrapper failed
collect2: ld returned 1 exit status
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45194
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug lto/45194] lto1: internal compiler error: in lto_varpool_replace_node, at lto-symtab.c:292
2010-08-05 11:46 [Bug lto/45194] New: lto1: internal compiler error: in lto_varpool_replace_node, at lto-symtab.c:292 jamborm at gcc dot gnu dot org
2010-08-05 11:53 ` [Bug lto/45194] " jamborm at gcc dot gnu dot org
@ 2010-08-22 9:16 ` hubicka at gcc dot gnu dot org
2010-09-01 13:15 ` jamborm at gcc dot gnu dot org
2010-09-17 0:27 ` hubicka at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2010-08-22 9:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from hubicka at gcc dot gnu dot org 2010-08-22 09:15 -------
It works for me on clean tree at today mainline.
+ ../xgcc -B .. -fPIC -fno-exceptions -fwhopr=24 -fuse-linker-plugin
-fno-strict-aliasing -pthread -pipe -Os -freorder-blocks -fno-reorder-functions
-fomit-frame-pointer -c sysunix.i
+ ../xgcc -B .. -fPIC -fno-exceptions -fwhopr=24 -fuse-linker-plugin
-fno-strict-aliasing -pthread -pipe -Os -freorder-blocks -fno-reorder-functions
-fomit-frame-pointer -c editline.i
+ ../g++ -B .. -L ../../x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/ -fPIC
-fno-exceptions -fwhopr=24 -fuse-linker-plugin -fno-strict-aliasing -pthread
-pipe -Os -freorder-blocks -fno-reorder-functions -fomit-frame-pointer -c
-fno-rtti -fpermissive -Wno-invalid-offsetof js.ii
+ ../g++ -B .. -L ../../x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/ -fPIC
-fno-exceptions -fwhopr=24 -fuse-linker-plugin -fno-strict-aliasing -pthread
-pipe -Os -freorder-blocks -fno-reorder-functions -fomit-frame-pointer -c
-fno-rtti -fpermissive -Wno-invalid-offsetof jsworkers.ii
+ ../g++ -B .. -L ../../x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/ -o js
-fPIC -fno-exceptions -fwhopr=24 -fuse-linker-plugin -fno-strict-aliasing
-pthread -pipe -Os -freorder-blocks -fno-reorder-functions -fomit-frame-pointer
js.o jsworkers.o editline.o sysunix.o -lpthread -Wl,-rpath-link,/bin
-Wl,-rpath-link,/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl -lm
/abuild/jh/trunk-install/x86_64-unknown-linux-gnu/bin/ld:
/tmp/ccqrfzic.ltrans0.ltrans.o: in function
_ZL18split_getObjectOpsP9JSContextP7JSClass.5202.4730:ccqrfzic.ltrans0.o(.text+0x2f):
error: undefined reference to 'js_ObjectOps'
/abuild/jh/trunk-install/x86_64-unknown-linux-gnu/bin/ld:
/tmp/ccqrfzic.ltrans0.ltrans.o: in function
_ZL22ShellOperationCallbackP9JSContext.4851.5014:ccqrfzic.ltrans0.o(.text+0xb1):
error: undefined reference to 'JS_ClearPendingException'
/abuild/jh/trunk-install/x86_64-unknown-linux-gnu/bin/ld:
/tmp/ccqrfzic.ltrans0.ltrans.o: in function
_ZN8ToStringC2EP9JSContextli.local.285.constprop.348.3463:ccqrfzic.ltrans0.o(.text+0xd4):
error: undefined reference to 'JS_ValueToString'
....
Can you double check if it works for you too? Might be also gold bug.
Mine is:
jh@evans:/abuild/jh/trunk-2/gcc> gold --version
GNU gold (GNU Binutils; SUSE Linux Enterprise 11 2.20.0.20100122-0.7.9) 1.9
Copyright 2008 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
--
hubicka at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tglek at mozilla dot com
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45194
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug lto/45194] lto1: internal compiler error: in lto_varpool_replace_node, at lto-symtab.c:292
2010-08-05 11:46 [Bug lto/45194] New: lto1: internal compiler error: in lto_varpool_replace_node, at lto-symtab.c:292 jamborm at gcc dot gnu dot org
2010-08-05 11:53 ` [Bug lto/45194] " jamborm at gcc dot gnu dot org
2010-08-22 9:16 ` hubicka at gcc dot gnu dot org
@ 2010-09-01 13:15 ` jamborm at gcc dot gnu dot org
2010-09-17 0:27 ` hubicka at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-09-01 13:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jamborm at gcc dot gnu dot org 2010-09-01 13:15 -------
No, I still get the same ICE (on both the reduced testcase and firefox
as such) even with a recent checkout of trunk (revision 163677 from
yesterday).
Not only I use the same version of gold but apparently also the same
binary on the same computer :-)
How do you configure the gcc? I use
/abuild/mjambor/icln/configure --prefix=/abuild/mjambor/inst/icln/
--enable-checking=yes --enable-languages=c,c++ --disable-bootstrap
--enable-gold --with-plugin-ld=/usr/bin/gold
--
jamborm at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
Status|WAITING |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-09-01 13:15:16
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45194
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug lto/45194] lto1: internal compiler error: in lto_varpool_replace_node, at lto-symtab.c:292
2010-08-05 11:46 [Bug lto/45194] New: lto1: internal compiler error: in lto_varpool_replace_node, at lto-symtab.c:292 jamborm at gcc dot gnu dot org
` (2 preceding siblings ...)
2010-09-01 13:15 ` jamborm at gcc dot gnu dot org
@ 2010-09-17 0:27 ` hubicka at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2010-09-17 0:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from hubicka at gcc dot gnu dot org 2010-09-17 00:27 -------
Hmm, so actually it is really difference in gold.
System gold on evans is
GNU gold (GNU Binutils; SUSE Linux Enterprise 11 2.20.0.20100122-0.7.9) 1.
while one I use is
GNU gold (GNU Binutils 2.20.51.20100706) 1.9
you might just grab gold binary from
/abuild/jh/trunk-install/x86_64-unknown-linux-gnu/bin/
Sorry, I remembered I installed gold, but I tought it is long gone ;)
Honza
--
hubicka at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45194
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-09-17 0:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-05 11:46 [Bug lto/45194] New: lto1: internal compiler error: in lto_varpool_replace_node, at lto-symtab.c:292 jamborm at gcc dot gnu dot org
2010-08-05 11:53 ` [Bug lto/45194] " jamborm at gcc dot gnu dot org
2010-08-22 9:16 ` hubicka at gcc dot gnu dot org
2010-09-01 13:15 ` jamborm at gcc dot gnu dot org
2010-09-17 0:27 ` hubicka at gcc dot gnu dot 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).