[Bug ld/3191] ld: Dwarf Error: DW_FORM_strp offset X greater than or equal to .debug_str size Y.

2006-09-19 Thread pluto at agmk dot net
--- Additional Comments From pluto at agmk dot net 2006-09-19 08:27 --- (In reply to comment #3) $ g++ -o /dev/null .libs/client.o (...) /usr/bin/ld: Dwarf Error: DW_FORM_strp offset (685178) greater than or equal to .debug_str size (27238). /usr/bin/ld: Dwarf Error: DW_FORM_strp

[Bug ld/3223] ld fails to link correct variables from linker script.

2006-09-19 Thread sjo at anglia dot com
--- Additional Comments From sjo at anglia dot com 2006-09-19 08:31 --- with nothing declared in the data section i would expect the __data_start and _edata to be 0x2000. however _edata is 0x12C. The behaviour is correct in binutils 2.16.1 and if a variable is declared. --

[Bug ld/3230] linker rejects mixed (elf64-big/elf64-sparc) archives.

2006-09-19 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-09-19 22:57 --- When an object file is marked as generic ELF, it shouldn't have any processor specific data, including relocations. exception.o is a generic ELF object with relocations. Linker doesn't know how to process those

[Bug ld/3191] ld: Dwarf Error: DW_FORM_strp offset X greater than or equal to .debug_str size Y.

2006-09-19 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-09-19 23:01 --- Please also provide the preprocessed source and assembly code. -- http://sourceware.org/bugzilla/show_bug.cgi?id=3191 --- You are receiving this mail because: --- You are on the CC list for the bug, or

[Bug ld/3191] Linker failed to handle DW_FORM_ref_addr properly

2006-09-19 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-09-20 04:37 --- A patch is posted at http://sourceware.org/ml/binutils/2006-09/msg00187.html -- What|Removed |Added

[Bug ld/3191] Linker doesn't support DWARF3 DW_FORM_ref_addr

2006-09-19 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-09-20 05:28 --- It looks like a gcc bug. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29146 -- What|Removed |Added

[Bug ld/3191] Linker doesn't support DWARF3 DW_FORM_ref_addr

2006-09-19 Thread pluto at agmk dot net
--- Additional Comments From pluto at agmk dot net 2006-09-20 05:49 --- (In reply to comment #8) It looks like a gcc bug. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29146 i don't think so. `-gdwarf-2' option allows gcc to use dwarf3 features. --

[Bug ld/3191] Linker doesn't support DWARF3 DW_FORM_ref_addr

2006-09-19 Thread pluto at agmk dot net
--- Additional Comments From pluto at agmk dot net 2006-09-20 05:50 --- (In reply to comment #7) A patch is posted at http://sourceware.org/ml/binutils/2006-09/msg00187.html i'll test it today... -- http://sourceware.org/bugzilla/show_bug.cgi?id=3191 --- You are receiving