[Bug debug/50279] [4.7 Regression] ICE while building the go front-end with LTO enabled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50279 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Comment #11 from Richard Guenther rguenth at gcc dot gnu.org 2011-12-09 12:31:36 UTC --- dup *** This bug has been marked as a duplicate of bug 48354 ***
[Bug debug/50279] [4.7 Regression] ICE while building the go front-end with LTO enabled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50279 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2011-11-30 Ever Confirmed|0 |1 --- Comment #10 from Andrew Pinski pinskia at gcc dot gnu.org 2011-11-30 23:45:55 UTC --- Confirmed: apinski@apinskidesktop:~/src/gcc-fsf/local/gcc/objdir/gcc$ ~/local-gcc/bin/g++ t.cc -flto -g -r -nostdlib lto1: internal compiler error: in splice_child_die, at dwarf2out.c:5009 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions. lto-wrapper: /home/apinski/local-gcc/bin/g++ returned 1 exit status collect2: error: lto-wrapper returned 1 exit status
[Bug debug/50279] [4.7 Regression] ICE while building the go front-end with LTO enabled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50279 --- Comment #8 from Jack Howarth howarth at nitro dot med.uc.edu 2011-10-10 18:03:47 UTC --- (In reply to comment #7) I've attached a reduced testcase that reproduces the ICE with the commandline g++ -nostdlib -flto -g test.i This test case doesn't trigger the ICE on x86_64-apple-darwin11... howarth% g++-fsf-4.7 -nostdlib -flto -g -c test.ii howarth% Note on darwin '-c' is required, else the test case fails with... howarth% g++-fsf-4.7 -nostdlib -flto -g test.ii ld: warning: symbol dyld_stub_binder not found, normally in libSystem.dylib ld: entry point (start) undefined. Usually in crt1.o for architecture x86_64 collect2: error: ld returned 1 exit status
[Bug debug/50279] [4.7 Regression] ICE while building the go front-end with LTO enabled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50279 --- Comment #9 from Peter Foley jpfoley2 at verizon dot net 2011-10-10 20:34:01 UTC --- (In reply to comment #8) (In reply to comment #7) I've attached a reduced testcase that reproduces the ICE with the commandline g++ -nostdlib -flto -g test.i This test case doesn't trigger the ICE on x86_64-apple-darwin11... howarth% g++-fsf-4.7 -nostdlib -flto -g -c test.ii howarth% Note on darwin '-c' is required, else the test case fails with... howarth% g++-fsf-4.7 -nostdlib -flto -g test.ii ld: warning: symbol dyld_stub_binder not found, normally in libSystem.dylib ld: entry point (start) undefined. Usually in crt1.o for architecture x86_64 collect2: error: ld returned 1 exit status -c prevents the test case from triggering the ICE on x86_64-pc-linux-gnu for me as well. Try removing -nostdlib from the commandline.
[Bug debug/50279] [4.7 Regression] ICE while building the go front-end with LTO enabled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50279 --- Comment #6 from Peter Foley jpfoley2 at verizon dot net 2011-10-06 00:09:03 UTC --- Created attachment 25426 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25426 reduced testcase
[Bug debug/50279] [4.7 Regression] ICE while building the go front-end with LTO enabled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50279 --- Comment #7 from Peter Foley jpfoley2 at verizon dot net 2011-10-06 00:11:08 UTC --- I've attached a reduced testcase that reproduces the ICE with the commandline g++ -nostdlib -flto -g test.i
[Bug debug/50279] [4.7 Regression] ICE while building the go front-end with LTO enabled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50279 --- Comment #5 from Peter Foley jpfoley2 at verizon dot net 2011-10-01 14:59:16 UTC --- I still get this with fc393cf /root/gcc/lto/./prev-gcc/g++ -B/root/gcc/lto/./prev-gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -nostdinc++ -B/root/gcc/lto/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/root/gcc/lto/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -I/root/gcc/lto/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu -I/root/gcc/lto/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include -I/root/gcc/libstdc++-v3/libsupc++ -L/root/gcc/lto/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -L/root/gcc/lto/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -g -O2 -flto=jobserver -frandom-seed=1 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -o go1 \ go/ast-dump.o go/dataflow.o go/export.o go/expressions.o go/go-backend.o go/go-dump.o go/go-gcc.o go/go-lang.o go/go-optimize.o go/go.o go/gogo-tree.o go/gogo.o go/import.o go/import-archive.o go/lex.o go/parse.o go/runtime.o go/statements.o go/types.o go/unsafe.o attribs.o main.o tree-browser.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 -lppl_c -lppl -lgmpxx -lmpc -lmpfr -lgmp -rdynamic -ldl -L../zlib -lz In member function '_M_insert_aux': lto1: internal compiler error: in splice_child_die, at dwarf2out.c:5007 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions. make[4]: *** [/tmp/ccOGb3DK.ltrans2.ltrans.o] Error 1 lto-wrapper: make returned 2 exit status /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: lto-wrapper failed collect2: error: ld returned 1 exit status make[3]: *** [go1] Error 1
[Bug debug/50279] [4.7 Regression] ICE while building the go front-end with LTO enabled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50279 --- Comment #4 from Jack Howarth howarth at nitro dot med.uc.edu 2011-09-29 13:47:12 UTC --- (In reply to comment #0) Peter, can you retest the failing lto-bootstrap building the go compiler under current gcc trunk? I believe honza's recent ipa-related fixes may have fixed this.
[Bug debug/50279] [4.7 Regression] ICE while building the go front-end with LTO enabled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50279 --- Comment #3 from Jack Howarth howarth at nitro dot med.uc.edu 2011-09-27 22:52:58 UTC --- (In reply to comment #2) The same error occurs while building xplor-nih on x86_64-apple-darwin11... The failures building xplor-nih with -flto using gcc trunk are gone at r179288.
[Bug debug/50279] [4.7 Regression] ICE while building the go front-end with LTO enabled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50279 Jack Howarth howarth at nitro dot med.uc.edu changed: What|Removed |Added CC||howarth at nitro dot ||med.uc.edu --- Comment #2 from Jack Howarth howarth at nitro dot med.uc.edu 2011-09-15 20:15:02 UTC --- The same error occurs while building xplor-nih on x86_64-apple-darwin11... [MacPro:~/xplor-nih-2.27/nmrPot/bin.Darwin_11_x86_64] howarth% g++-fsf-4.7 -dynamiclib -fdefault-integer-8 -O3 -ffast-math -funroll-loops -g -flto -flat_namespace -undefined suppress -single_module noePot.o atomProb.o rdcPot1.o csaPot.o jCoupPot.o shapePot.o atomDensity.o probDistPot.o cosRatioPot.o ncsPot.o prePot.o rdcWavePot.o varTensor.o surfaceArea.o psolPot.o orderPot.o posRMSDPot.o utils.o posSymmPot.o sphereFun.o volume.o planeDistPot.o selNBPot.o gyrPot.o cstMagPot.o diffPot.o relaxRatioPot.o distSymmPot.o sardcPot.o surfTessellation.o torsionDBPot.o nbTargetPot.o solnScatPot.o -o libnmrPot.dylib -lcrypto -L/Users/howarth/xplor-nih-2.27/bin.Darwin_11_x86_64/ -lspecfun -lsurfD -llapack -lblas In file included from /Users/howarth/xplor-nih-2.27/CDSlib/cdsList.hh:380:0, from /Users/howarth/xplor-nih-2.27/CDSlib/cdsSStream.cc:325, from :1622: /Users/howarth/xplor-nih-2.27/nmrPot/relaxRatioPot.hh: In member function ‘numRestraints’: /Users/howarth/xplor-nih-2.27/nmrPot/relaxRatioPot.hh:163:37: internal compiler error: in splice_child_die, at dwarf2out.c:5007 Using -v, shows the failure occurs in... /sw/lib/gcc4.7/libexec/gcc/x86_64-apple-darwin11.2.0/4.7.0/lto1 -fPIC -feliminate-unused-debug-symbols -quiet -dumpdir ./ -dumpbase libnmrPot.dylib.ltrans1 -mmacosx-version-min=10.7.2 -mtune=core2 -auxbase-strip /var/folders/1l/n78sywl52lz6kkys6nv7mnphgp/T//ccaxwWx8.ltrans1.ltrans.o -g -O3 -version -fdefault-integer-8 -ffast-math -funroll-loops -fltrans @/var/folders/1l/n78sywl52lz6kkys6nv7mnphgp/T//cc4I8zif -o /var/folders/1l/n78sywl52lz6kkys6nv7mnphgp/T//ccA4Iv2n.s
[Bug debug/50279] [4.7 Regression] ICE while building the go front-end with LTO enabled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50279 Steffen Möller steffen_moeller at gmx dot de changed: What|Removed |Added CC||steffen_moeller at gmx dot ||de --- Comment #1 from Steffen Möller steffen_moeller at gmx dot de 2011-09-04 13:08:36 UTC --- The same error occurs while compiling the Debian package autodocksuite from sid with LTO enabled: /usr/lib/gcc-snapshot/bin/g++ -Wall -g -flto -O2 -Winline -finline-functions -Wl,--as-needed -flto -o autogrid4 autogrid4-main.o autogrid4-check_size.o autogrid4-setflags.o autogrid4-timesys.o autogrid4-timesyshms.o autogrid4-printhms.o autogrid4-prHMSfixed.o autogrid4-printdate.o autogrid4-strindex.o autogrid4-banner.o autogrid4-gpfparser.o autogrid4-parsetypes.o autogrid4-atom_parameter_manager.o autogrid4-read_parameter_library.o autogrid4-parse_param_line.o autogrid4-distdepdiel.o -lm In file included from setflags.cpp:142:0, from :118: main.cpp: In function 'main': main.cpp:2542:1: internal compiler error: in splice_child_die, at dwarf2out.c:5007 Please submit a full bug report, with preprocessed source if appropriate. $ /usr/lib/gcc-snapshot/bin/g++ --version g++ (Debian 20110816-1) 4.7.0 20110816 (experimental) [trunk revision 177785] Sorry for not isolating the problem more. The problem could not be observed in g++ 4.6.1 from Debian unstable (4.6.1-8). It fails later, hence the installation of the snapshot :) Without the LTO, everything is fine.
[Bug debug/50279] [4.7 Regression] ICE while building the go front-end with LTO enabled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50279 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords|ice-on-invalid-code |ice-on-valid-code Target Milestone|--- |4.7.0