This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/5929] New: VALID_ELF_HEADER is not used for the executable


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]