Skip to contentSkip to conversation

glibc fix for /lib/ld.so.1

PATCH New Ryan Bradetich 1 participant 1 message Mar 27, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glibc fix for /lib/ld.so.1

Hello parisc-linux hackers,

Finally tracked down the glibc problem (with help from tausq and others :)). I have attached the changelog entry, and the dpatch. I am assuming you will push it upstream Carlos?

When working on this problem it caused a gcc ICE. The gcc ICE has been reported at:

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10215

This is why the ENTRY_POINT macro is uglier than really necessary.

Once this patch is in glibc, then we can remove the RGH_FIX hack from the 2.4 kernels as well.

oh. This patch fixes this assert in glibc:

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!

Thanks!

- Ryan

Signature · 1 line
Ryan Bradetich <[email protected]>