This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] ld.so: Fix dlclose() removing required local scopeelements of NODELETE linkmaps
- From: Petr Baudis <pasky at ucw dot cz>
- To: Andreas Jaeger <aj at suse dot com>, libc-alpha at sourceware dot org
- Date: Thu, 20 Sep 2012 00:15:27 +0200
- Subject: Re: [PATCH] ld.so: Fix dlclose() removing required local scopeelements of NODELETE linkmaps
- References: <20120413164224.GF24309@machine.or.cz><4F88729F.6010501@suse.com><20120919212135.GA23930@altlinux.org>
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