[lsb-bugs] [Bug 2718] libchk flags e_ident[EI_OSABI] isn't expected value ELFOSABI_SYSV as failure

bugzilla-daemon at linux-foundation.org bugzilla-daemon at linux-foundation.org
Fri Sep 24 04:20:20 PDT 2010


http://bugs.linuxbase.org/show_bug.cgi?id=2718

--- Comment #14 from Denis Silakov <silakov at ispras.ru> 2010-09-24 04:20:19 PDT ---
(In reply to comment #5)
> Before applying, do we know if there are any versions of the dynamic linker
> that don't accept binaries with ELFOSABI_LINUX?  And if so, how far back we
> have to go for it to break?  If, as I expect, this has been accepted for a long
> time then there should be no problem with this.

We've performed some more experiments in this area, and the results are not as
good as they could be. While ELFOSABI_LINUX, indeed, has been known to binutils
for a long time (and readelf even in old systems is able to report "OS/ABI:
Unix - Linux"), old dynamic linkers fail to load such files. Even openSUSE 11.1
fails to load ELFOSABI_LINUX libraries with "ELF file OS ABI invalid" message.

So it seems that no changes in the specification are required at the moment,
ELFOSABI_SYSV should remain the only allowed value for application binaries.

And we should tweak elfchk somehow to produce errors if ELFOSABI_LINUX files
are met when checking applications - we should track this in bug #2732, I
guess.

-- 
Configure bugmail: http://bugs.linuxbase.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the lsb-bugs mailing list