git-pthread_symbols
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Tue, 24 Sep 2024 19:46:16 +0000 (21:46 +0200)
committerAurelien Jarno <aurel32@debian.org>
Tue, 24 Sep 2024 19:46:16 +0000 (21:46 +0200)
commit941d1e1eeee3cb7f7a1815934304b272be45e519
tree8a70f3aa5cf0c11cecab20cb4ec8389d27b29126
parentd5fe268fe3863a2e29fb98c34d23a6557c42d53f
git-pthread_symbols

commit 8dc3f4f8adcfbc991b1677464dd7cd485f4e6d85
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Wed Jul 17 02:03:13 2024 +0200

    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

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-pthread_symbols.diff
12 files changed:
htl/Versions
sysdeps/htl/pt-attr-getdetachstate.c
sysdeps/htl/pt-attr-getinheritsched.c
sysdeps/htl/pt-attr-getschedparam.c
sysdeps/htl/pt-attr-getschedpolicy.c
sysdeps/htl/pt-attr-setdetachstate.c
sysdeps/htl/pt-attr-setinheritsched.c
sysdeps/htl/pt-attr-setschedpolicy.c
sysdeps/htl/pt-equal.c
sysdeps/htl/pt-getschedparam.c
sysdeps/htl/pt-setschedparam.c
sysdeps/mach/hurd/i386/libc.abilist