------- Comment #3 from pinskia at gcc dot gnu dot org 2006-09-20 05:56 ------- (In reply to comment #0) > DW_FORM_ref_addr uses address size in DWARF2, but uses offset size in DWARF3. > The current linker can only handle DWARF2 info. It looks like gcc generates > DWARF3 DW_FORM_ref_addr while marking debug info as DWARF2.
Yes and those sizes are the same on 90% of the targets (only a few are different) so I think the linker is still making a mistake. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29146