[Bug tree-optimization/27657] [4.2 regression] bogus undefined reference error to static var with -g and -O
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-08-10 07:35 --- *** Bug 28673 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||marcus at jet dot franken ||dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27657
[Bug tree-optimization/27657] [4.2 regression] bogus undefined reference error to static var with -g and -O
--- Comment #3 from hubicka at gcc dot gnu dot org 2006-08-07 11:59 --- Created an attachment (id=12037) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12037&action=view) patch It looks like we should bite the bullet and let cgraph code to output the debug info I am testing the attached patch Honza -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27657
[Bug tree-optimization/27657] [4.2 regression] bogus undefined reference error to static var with -g and -O
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-06-29 19:21 --- *** Bug 27950 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||gcc at pdoerfler dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27657
[Bug tree-optimization/27657] [4.2 regression] bogus undefined reference error to static var with -g and -O
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27657
[Bug tree-optimization/27657] [4.2 regression] bogus undefined reference error to static var with -g and -O
--- Comment #1 from amodra at bigpond dot net dot au 2006-05-29 03:07 --- Confirmed. The reference is the relocation for DW_AT_const_value. $ readelf -wi test.o [snip] <1><7a>: Abbrev Number: 8 (DW_TAG_variable) DW_AT_name: (indirect string, offset: 0x0): gconf_g_utf8_skip DW_AT_decl_file : 1 DW_AT_decl_line : 2 DW_AT_type: <89> DW_AT_const_value : 0 [snip] $ readelf -r test.o Relocation section '.rela.debug_info' at offset 0x53c contains 8 entries: [snip] 0085 0b01 R_PPC_ADDR32 utf8_skip_data + 0 -- amodra at bigpond dot net dot au changed: What|Removed |Added CC||amodra at bigpond dot net ||dot au Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-05-29 03:07:05 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27657
[Bug tree-optimization/27657] [4.2 regression] bogus undefined reference error to static var with -g and -O
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||hubicka at gcc dot gnu dot ||org Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27657