This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] ld.so: Support moving versioned symbols between sonames [BZ #24741]
- From: Zack Weinberg <zackw at panix dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 27 Jun 2019 10:48:47 -0400
- Subject: Re: [PATCH] ld.so: Support moving versioned symbols between sonames [BZ #24741]
- References: <87woh7t7f7.fsf@oldenburg2.str.redhat.com>
On Thu, Jun 27, 2019 at 10:44 AM Florian Weimer <fweimer@redhat.com> wrote:
>
> This change should be fully backwards-compatible because the old
> code aborted the load if a soname mismatch was encountered
> (instead of searching further for a matching symbol). This means
> that no different symbols are found.
I am not familiar enough with the guts of the dynamic linker to review
your code changes, but I endorse the idea. This should make it
possible to eliminate most of the double definitions of functions in
libc.so and libpthread.so without needing to leave forwarding stubs
behind in libpthread.
zw