diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-07-17 02:03:13 +0200 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-08-01 23:58:51 +0200 |
| commit | 8dc3f4f8adcfbc991b1677464dd7cd485f4e6d85 (patch) | |
| tree | ec34dd8c56cc69226a20169f4c67200d1d78bd04 /htl | |
| parent | ec119972cb2598c04ec7d4219e20506006836f64 (diff) | |
| download | glibc-8dc3f4f8adcfbc991b1677464dd7cd485f4e6d85.tar.xz glibc-8dc3f4f8adcfbc991b1677464dd7cd485f4e6d85.zip | |
hurd: Fix missing pthread_ compat symbol in libc
5476f8cd2e68 ("htl: move pthread_self info libc.") and
9dfa2562162b ("htl: move pthread_equal into libc") to
1dc0bc8f0748 ("htl: move pthread_attr_setdetachstate into libc")
moved some pthread_ symbols from libpthread.so to libc.so, but missed
adding the compat version like 5476f8cd2e68 ("htl: move pthread_self
info libc.") did: libc already had these symbols as forwards,
but versioned GLIBC_2.21, while the symbols in libpthread.so were
versioned GLIBC_2.12.
To fix running executables built before this, we thus have to add the
GLIBC_2.12 version, otherwise execution fails with e.g.
/usr/lib/i386-gnu/libglib-2.0.so: symbol lookup error: /usr/lib/i386-gnu/libglib-2.0.so: undefined symbol: pthread_attr_setinheritsched, version GLIBC_2.12
Diffstat (limited to 'htl')
| -rw-r--r-- | htl/Versions | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/htl/Versions b/htl/Versions index 69b79b4f1b..949c1867fe 100644 --- a/htl/Versions +++ b/htl/Versions @@ -3,6 +3,16 @@ libc { GLIBC_2.12 { pthread_self; __pthread_self; + pthread_attr_getdetachstate; + pthread_attr_getinheritsched; + pthread_attr_getschedparam; + pthread_attr_getschedpolicy; + pthread_attr_setdetachstate; + pthread_attr_setinheritsched; + pthread_attr_setschedpolicy; + pthread_equal; + pthread_getschedparam; + pthread_setschedparam; } GLIBC_2.21 { |
