From: Ryan Bradetich <rbradetich@uswest.net>
To: libc-alpha@sources.redhat.com
Cc: parisc-linux@lists.parisc-linux.org
Subject: [parisc-linux] /lib/ld.so.1 (glibc) issues on parisc-linux 2.5 kernel??
Date: 20 Mar 2003 21:18:46 -0700 [thread overview]
Message-ID: <1048220325.15076.160.camel@beavis.ybsoft.com> (raw)
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@vega:~$ /lib/ld.so.1 --verify /bin/sh
Inconsistency detected by ld.so: rtld.c: 879: dl_main: Assertion
`_rtld_local._dl_rtld_map.l_libname' failed!
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:
http://lists.parisc-linux.org/pipermail/parisc-linux/2003-March/019460.html
I have basically tracked this mis-match down to this problem:
With this statement in the kernel (fs/binfmt_elf.c:create_elf_tables())
NEW_AUX_ENT(AT_ENTRY, exec->e_entry);
The user_entry and ENTRY_POINTS are:
user_entry: 41001fb4
ENTRY_POINT: 41027082
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].
user_entry: 41027082
ENTRY_POINT: 41027082
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.
Thanks,
- Ryan
--
Ryan Bradetich <rbradetich@uswest.net>
next reply other threads:[~2003-03-21 4:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-21 4:18 Ryan Bradetich [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-03-24 8:05 [parisc-linux] /lib/ld.so.1 (glibc) issues on parisc-linux 2.5 kernel?? Ryan Bradetich
2003-03-24 8:05 Ryan Bradetich
2003-03-24 9:48 ` Andreas Schwab
2003-03-24 18:44 ` Ryan Bradetich
2003-03-24 18:44 ` Ryan Bradetich
2003-03-25 16:12 ` H. J. Lu
2003-03-25 16:12 ` H. J. Lu
2003-03-24 9:48 ` Andreas Schwab
2003-03-21 4:18 Ryan Bradetich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1048220325.15076.160.camel@beavis.ybsoft.com \
--to=rbradetich@uswest.net \
--cc=libc-alpha@sources.redhat.com \
--cc=parisc-linux@lists.parisc-linux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox