This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5929] New: VALID_ELF_HEADER is not used for the executable
- From: "drow at sources dot redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 13 Mar 2008 12:36:45 -0000
- Subject: [Bug libc/5929] New: VALID_ELF_HEADER is not used for the executable
- Reply-to: sourceware-bugzilla at sourceware dot org
I'm working on a project that involves bumping the EI_ABIVERSION, since new
binaries require loader support. We wanted a sensible error message when using
an old loader, but it doesn't work unless you run ld.so by hand:
$ /lib/ld.so.1 ./newtest.exe
./newtest.exe: error while loading shared libraries: ./newtest.exe: ELF file ABI
version invalid
$ ./newtest.exe
Segmentation fault (core dumped)
VALID_ELF_HEADER is only used when loading a new file; it is never applied to
the mapped executable when ld.so is the interpreter.
--
Summary: VALID_ELF_HEADER is not used for the executable
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: drow at sources dot redhat dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=5929
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.