This is the mail archive of the
mailing list for the glibc project.
/lib/ld.so.1 (glibc) issues on parisc-linux 2.5 kernel??
- From: Ryan Bradetich <rbradetich at uswest dot net>
- To: libc-alpha at sources dot redhat dot com
- Cc: parisc-linux at lists dot parisc-linux dot org
- Date: 20 Mar 2003 21:18:46 -0700
- Subject: /lib/ld.so.1 (glibc) issues on parisc-linux 2.5 kernel??
Hello libc hackers,
I am investigating a problem that occurs between ld.so.1
and the kernel on the 2.4 (w/o the added hack to fix this) and 2.5
kernels. The problem manifested itself when I tried to run the ltp
tests, and is shown below:
rbrad at vega:~$ /lib/ld.so.1 --verify /bin/sh
Inconsistency detected by ld.so: rtld.c: 879: dl_main: Assertion
The system is running Debian Linux with this version of glibc:
ii libc6 2.3.1-14 GNU C Library: Shared libraries and
The complete email thread on the parisc-linux list is located at:
I have basically tracked this mis-match down to this problem:
With this statement in the kernel (fs/binfmt_elf.c:create_elf_tables())
The user_entry and ENTRY_POINTS are:
With this statement not present, and the interpreter_type == 0 (No
Interpreter) .. the user_entry and ENTRY_POINT match. [Note: The
assert goes away at this point].
So at this point, I am not sure if the kernel is setting the
exec->e_entry incorrectly, or if the ENTRY_POINT needs to be adjusted
in glibc for the hppa platform.
Carlos O'Donell suggested I forward this message to this list for
additional advice. Please cc me on any replies since I am not
subscribed to this list.
Ryan Bradetich <rbradetich at uswest dot net>