git-pthread_symbols
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sat, 23 Nov 2024 13:57:03 +0000 (14:57 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sat, 23 Nov 2024 13:57:03 +0000 (14:57 +0100)
commitbd5423f55975082b5522f58123d6ec4798f6f226
tree7fbbfc1c890152e5cea63219808069c8e1405342
parente31b3cfc93ac6b17651796585989caf485d97f68
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