elfutils http://elfutils.fedorahosted.org/ comes with an elflint program which flags a couple of issues when elfutils is build against GNU gold. make check had the following failure messages (while running elflint over the binaries and shared libraries of elfutils just build). I will try to split these into separate bugs later, but wanted to at least add a note to bugzilla about it for now.
section [14] '.gnu.hash': hash table entry size incorrect section [34] '.note.gnu.gold-version': unknown object file note type 4 at offset 24 section [35] '.symtab': _GLOBAL_OFFSET_TABLE_ symbol value 0x403dc8 does not match .got section address 0x403dc0 *** failure in ../src/addr2line section [14] '.gnu.hash': hash table entry size incorrect section [35] '.note.gnu.gold-version': unknown object file note type 4 at offset 24 section [36] '.symtab': _GLOBAL_OFFSET_TABLE_ symbol value 0x405dd8 does not match .got section address 0x405dd0 *** failure in ../src/elfcmp section [14] '.gnu.hash': hash table entry size incorrect section [35] '.note.gnu.gold-version': unknown object file note type 4 at offset 24 section [36] '.symtab': _GLOBAL_OFFSET_TABLE_ symbol value 0x416160 does not match .got section address 0x416158 *** failure in ../src/elflint section [14] '.gnu.hash': hash table entry size incorrect section [34] '.note.gnu.gold-version': unknown object file note type 4 at offset 24 section [35] '.symtab': _GLOBAL_OFFSET_TABLE_ symbol value 0x403230 does not match .got section address 0x403228 *** failure in ../src/findtextrel section [12] '.dynsym': symbol 159: local symbol outside range described in sh_info section [12] '.dynsym': symbol 159: symbol in dynamic symbol table with non-default visibility section [14] '.gnu.hash': hash table entry size incorrect section [35] '.note.gnu.gold-version': unknown object file note type 4 at offset 24 section [36] '.symtab': _GLOBAL_OFFSET_TABLE_ symbol value 0x42b598 does not match .got section address 0x42b588 section [16] '.gnu.version': symbol 159: local symbol with global scope *** failure in ../src/ld section [14] '.gnu.hash': hash table entry size incorrect section [35] '.note.gnu.gold-version': unknown object file note type 4 at offset 24 section [36] '.symtab': _GLOBAL_OFFSET_TABLE_ symbol value 0x4091c0 does not match .got section address 0x4091b8 *** failure in ../src/nm section [14] '.gnu.hash': hash table entry size incorrect section [35] '.note.gnu.gold-version': unknown object file note type 4 at offset 24 section [36] '.symtab': _GLOBAL_OFFSET_TABLE_ symbol value 0x406ef8 does not match .got section address 0x406ef0 *** failure in ../src/objdump section [12] '.dynsym': symbol 105: local symbol outside range described in sh_info section [12] '.dynsym': symbol 105: symbol in dynamic symbol table with non-default visibility section [14] '.gnu.hash': hash table entry size incorrect section [35] '.note.gnu.gold-version': unknown object file note type 4 at offset 24 section [36] '.symtab': _GLOBAL_OFFSET_TABLE_ symbol value 0x41f528 does not match .got section address 0x41f510 section [16] '.gnu.version': symbol 105: local symbol with global scope *** failure in ../src/readelf section [14] '.gnu.hash': hash table entry size incorrect section [34] '.note.gnu.gold-version': unknown object file note type 4 at offset 24 section [35] '.symtab': _GLOBAL_OFFSET_TABLE_ symbol value 0x4042e8 does not match .got section address 0x4042e0 *** failure in ../src/size section [14] '.gnu.hash': hash table entry size incorrect section [35] '.note.gnu.gold-version': unknown object file note type 4 at offset 24 section [36] '.symtab': _GLOBAL_OFFSET_TABLE_ symbol value 0x40af88 does not match .got section address 0x40af80 *** failure in ../src/strip section [13] '.gnu.hash': hash table entry size incorrect section [36] '.note.gnu.gold-version': unknown object file note type 4 at offset 24 section [37] '.symtab': _GLOBAL_OFFSET_TABLE_ symbol value 0x14058 does not match .got section address 0x14030 loadable segment [7] is writable but contains no writable sections *** failure in ../libelf/libelf.so section [11] '.dynsym': symbol 158: local symbol outside range described in sh_info section [11] '.dynsym': symbol 176: local symbol outside range described in sh_info section [13] '.gnu.hash': hash table entry size incorrect section [13] '.gnu.hash': symbol 280 referenced in chain for bucket 249 is undefined section [16] '.gnu.version_r': entry 3 references unknown dependency section [16] '.gnu.version_r': entry 2 references unknown dependency section [16] '.gnu.version_r': entry 1 references unknown dependency section [16] '.gnu.version_r': entry 0 references unknown dependency section [36] '.note.gnu.gold-version': unknown object file note type 4 at offset 24 section [37] '.symtab': _GLOBAL_OFFSET_TABLE_ symbol value 0x2f8f0 does not match .got section address 0x2f8a0 loadable segment [7] is writable but contains no writable sections section [14] '.gnu.version': symbol 158: local symbol with global scope section [14] '.gnu.version': symbol 176: local symbol with global scope *** failure in ../libdw/libdw.so section [13] '.gnu.hash': hash table entry size incorrect section [13] '.gnu.hash': symbol 17 referenced in chain for bucket 10 is undefined section [16] '.gnu.version_r': entry 2 references unknown dependency section [16] '.gnu.version_r': entry 1 references unknown dependency section [16] '.gnu.version_r': entry 0 references unknown dependency section [36] '.note.gnu.gold-version': unknown object file note type 4 at offset 24 section [37] '.symtab': _GLOBAL_OFFSET_TABLE_ symbol value 0x7508 does not match .got section address 0x74d8 loadable segment [7] is writable but contains no writable sections *** failure in ../libasm/libasm.so FAIL: run-elflint-self.sh -- Summary: elfutils elflint failures Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: gold AssignedTo: ian at airs dot com ReportedBy: mjw at redhat dot com CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=10450 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils