libc.so.6 dependencies
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Tue Jun 24 17:51:37 GMT 2025
On 24/06/25 14:45, Alex Ernst wrote:
> Hello glibc developers,
>
> Why do we have dependency on libgcc_s.so.1 for pthread_cance() and pthread_exit() (compared to older versions of glibc) ?
>
> GLIBC 2.28: strings libc.so.6 | grep "must be installed for"
> libgcc_s.so.1 must be installed for unwinding to work
>
> GLIBC 2.41: strings libc.so.6 | grep "must be installed for"
> libgcc_s.so.1 must be installed for unwinding to work
> libgcc_s.so.1 must be installed for pthread_cancel to work
> libgcc_s.so.1 must be installed for pthread_exit to work
>
The dependency always existed, the 1d95b035c72 (glibc 2.33) moved __pthread_unwind_next
into libc and the refactor added more meaningful error messages depending of which
symbol triggered the dlopen failure.
More information about the Libc-alpha
mailing list