[PATCH 00/10] nptl: Complete libpthread removal

Florian Weimer fweimer@redhat.com
Thu May 20 13:27:31 GMT 2021


* Andreas Schwab:

> On Mai 18 2021, Florian Weimer wrote:
>
>> I don't think we can do anything about that.  The libpthread.so linker
>> script won't suppress it because it's not loaded implicitly, and as soon
>> we load libpthread.so.0 explicitly during the link, we also end up with
>> a DT_NEEDED reference, which I don't think we want.
>
> I don't think that would be such a bad thing.  It will vanish over time
> when libraries are relinked.

Coming back to this, should we stop loading libpthread at all?  That is,
keep libpthread.so.0 around indefinitely (with the placeholder symbols
and symbol versions), and just wait until more and more binaries are
linked with the empty libpthread.a and no longer have a DT_NEEDED
dependency on libpthread.so.0?

Thanks,
Florian



More information about the Libc-alpha mailing list