[PATCH 1/3] nptl: Move nanosleep implementation to libc
Florian Weimer
fweimer@redhat.com
Wed Nov 6 13:04:00 GMT 2019
* Adhemerval Zanella:
> diff --git a/nptl/Versions b/nptl/Versions
> index adbd4fa589..92291bf49e 100644
> --- a/nptl/Versions
> +++ b/nptl/Versions
> - GLIBC_2.2.6 {
> - # Cancellation wrapper
> - __nanosleep;
> - }
Sorry, this change is not correct because it removes the GLIBC_2.2.6
symbol version. Old programs will fail to load as a result, not due to
the missing __nanosleep@@GLIBC_2.2.6 (we removed that check, and the
symbol in libc is sufficient), but due to the overall GLIBC_2.2.6 check
for libpthread. You can use __libpthread_version_placeholder as a stub
symbol to keep that version alive.
Thanks,
Florian
More information about the Libc-alpha
mailing list