Package: elfutils Version: 0.152-1 Tags: upstream Hi,
amd64 system. ld is binutils-gold 2.21.90.20111025-1. Trying to build elfutils, I get: PASS: run-elflint-test.sh section [11] '.rela.plt' has wrong flags: expected none and possibly ALLOC, is ALLOC|INFO_LINK *** failure in ../src/addr2line section [11] '.rela.plt' has wrong flags: expected none and possibly ALLOC, is ALLOC|INFO_LINK *** failure in ../src/elfcmp [...] *** failure in ../libelf/libelf.so section [ 8] '.gnu.version_r': entry 5 references unknown dependency [...] *** failure in ../libasm/libasm.so FAIL: run-elflint-self.sh [...] ===================================================== 1 of 70 tests failed Please report to http://bugzilla.redhat.com/bugzilla/ ===================================================== According to Ian Lance Taylor[1]: | Thanks for the test case. The elflint program is getting confused when it | tries to find the .dynamic section. The PT_DYNAMIC segment is at address | 0x32000. It happens that the .tbss section is at sddress 0x32000. Since the | .tbss section is SHT_NOBITS, it does not take up any address space. The | .dynamic section then follows it, also at address 0x32000. In the readelf -S | output: | | [18] .tbss NOBITS 0000000000032000 00032000 | 0000000000000008 0000000000000000 WAT 0 0 4 | [19] .dynamic DYNAMIC 0000000000032000 00032000 | 0000000000000240 0000000000000010 WA 3 0 8 | | This is confusing elflint. It is using gelf_offscn to return the section at | offset 0x32000. That winds up being the .tbss section, not the .dynamic | section. Based on that it decides that there are no DT_NEEDED entries, and | issues the .gnu.version_r warnings. | | I don't see any gold problem here. Known problem? [1] http://sourceware.org/bugzilla/show_bug.cgi?id=12945 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org