[PATCH] ld.so: Fix dlclose() removing required local scope elements of NODELETE linkmaps
Petr Baudis
pasky@ucw.cz
Wed Sep 19 22:15:00 GMT 2012
Hi!
On Thu, Sep 20, 2012 at 01:21:35AM +0400, Dmitry V. Levin wrote:
> On Fri, Apr 13, 2012 at 08:38:23PM +0200, Andreas Jaeger wrote:
> > I just applied the patch and run the testsuite and got a failure on both
> > x86 and x86-64 for elf/tst-dlmodcount:
> >
> > GCONV_PATH=/build/glibc/x86/iconvdata LC_ALL=C
> > /build/glibc/x86/elf/ld-linux.so.2 --library-path
> > /build/glibc/x86:/build/glibc/x86/math:/build/glibc/x86/elf:/build/glibc/x86/dlfcn:/build/glibc/x86/nss:/build/glibc/x86/nis:/build/glibc/x86/rt:/build/glibc/x86/resolv:/build/glibc/x86/crypt:/build/glibc/x86/nptl
> > /build/glibc/x86/elf/tst-dlmodcount >
> > /build/glibc/x86/elf/tst-dlmodcount.out
> > dlpi_subs failed to get incremented!
> > make[2]: *** [/build/glibc/x86/elf/tst-dlmodcount.out] Error 4
> >
> > cat elf/tst-dlmodcount.out
> > size = 64
> > dlpi_adds = 5 dlpi_subs = 0
> > loading `firstobj.so'
> > size = 64
> > dlpi_adds = 7 dlpi_subs = 0
> > loading `globalmod1.so'
> > size = 64
> > dlpi_adds = 8 dlpi_subs = 0
> > unloading `firstobj.so'
> > size = 64
> > dlpi_adds = 8 dlpi_subs = 0
>
> Was there any follow-up to this?
No, I'm sorry. With my current workload and this not being a pressing
problem of mine anymore, I'm unlikely to be able to spend more time
on this. I hope the patch will be at least a good starting point for
someone else pursuing this.
Kind regards,
Petr "Pasky" Baudis
More information about the Libc-alpha
mailing list