[Bug target/47333] [4.8/4.9 regression] g++.dg/lto/20091219 FAILs on Solaris 2 with SUN as
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47333 --- Comment #35 from Jan Hubicka hubicka at gcc dot gnu.org --- I am having problem to reproduce it on a cross compiler. I assume you have non-plugin-enable LD setup, right?
[Bug target/47333] [4.8/4.9 regression] g++.dg/lto/20091219 FAILs on Solaris 2 with SUN as
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47333 --- Comment #36 from Jan Hubicka hubicka at gcc dot gnu.org --- I am having problem to reproduce it on a cross compiler. I assume you have non-plugin-enable LD setup, right? There is problem with chained weakrefs that ought to be fixed by the following change: Index: cgraphunit.c === --- cgraphunit.c(revision 199591) +++ cgraphunit.c(working copy) @@ -656,8 +656,11 @@ cgraph_process_same_body_aliases (void) @@ -2018,7 +2021,7 @@ compile (void) (DECL_ASSEMBLER_NAME (node-symbol.decl)) = 1; TREE_CHAIN (DECL_ASSEMBLER_NAME (node-symbol.decl)) = (node-symbol.alias_target ? node-symbol.alias_target - : DECL_ASSEMBLER_NAME (symtab_alias_target (node)-symbol.decl)); + : DECL_ASSEMBLER_NAME (symtab_alias_ultimate_target (node)-symbol.decl)); } #endif I however do not see any chained weakrefs in the preprocessed file attached, so I am not quite convinced this can change anything. Can you, please, run it in debugger and take a look what is the assembler name ultimate_target is called for and what is its CHAIN_DECL?
[Bug target/47333] [4.8/4.9 regression] g++.dg/lto/20091219 FAILs on Solaris 2 with SUN as
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47333 --- Comment #34 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE --- Within the last week (20130503 to 20150510), the failure has changed into an ICE: -FAIL: g++.dg/lto/20091219 cp_lto_20091219_0.o-cp_lto_20091219_0.o link, -O3 -fl to +FAIL: g++.dg/lto/20091219 cp_lto_20091219_0.o-cp_lto_20091219_0.o link, -O3 -fl to (internal compiler error) /var/gcc/regression/trunk/11-gcc/build/i386-pc-solaris2.11/libstdc++-v3/include/ext/atomicity.h: In function '_ZN9__gnu_cxxL27__exchange_and_add_dispatchEPii.constprop.1': /var/gcc/regression/trunk/11-gcc/build/i386-pc-solaris2.11/libstdc++-v3/include/ext/atomicity.h:86:3: internal compiler error: in ultimate_transparent_alias_target, at varasm.c:2288 0x8cec21b ultimate_transparent_alias_target /vol/gcc/src/hg/trunk/local/gcc/varasm.c:2288 0x881caa0 ultimate_transparent_alias_target /vol/gcc/src/hg/trunk/local/gcc/tree.h:3690 0x881caa0 assemble_name(__FILE*, char const*) /vol/gcc/src/hg/trunk/local/gcc/varasm.c:2331 0x837bf33 output_addr_const(__FILE*, rtx_def*) /vol/gcc/src/hg/trunk/local/gcc/final.c:3796 0x886702e ix86_print_operand(__FILE*, rtx_def*, int) /vol/gcc/src/hg/trunk/local/gcc/config/i386/i386.c:14818 0x837ba64 output_operand(rtx_def*, int) /vol/gcc/src/hg/trunk/local/gcc/final.c:3755 0x837c3f6 output_asm_insn(char const*, rtx_def**) /vol/gcc/src/hg/trunk/local/gcc/final.c:3653 0x837de2a final_scan_insn(rtx_def*, __FILE*, int, int, int*) /vol/gcc/src/hg/trunk/local/gcc/final.c:2921 0x837e7f1 final(rtx_def*, __FILE*, int) /vol/gcc/src/hg/trunk/local/gcc/final.c:1957 0x837ec1e rest_of_handle_final /vol/gcc/src/hg/trunk/local/gcc/final.c:4362 Jan, could you *please* have a look at this issue? Thanks. Rainer
[Bug target/47333] [4.8/4.9 regression] g++.dg/lto/20091219 FAILs on Solaris 2 with SUN as
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47333 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Target Milestone|4.6.4 |4.7.4 Summary|[4.6/4.8/4.9 regression]|[4.8/4.9 regression] |g++.dg/lto/20091219 FAILs |g++.dg/lto/20091219 FAILs |on Solaris 2 with SUN as|on Solaris 2 with SUN as --- Comment #33 from Jakub Jelinek jakub at gcc dot gnu.org 2013-04-12 15:19:23 UTC --- GCC 4.6.4 has been released and the branch has been closed.