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

Reply via email to