]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86-64: Add GLIBC_ABI_GNU2_TLS version [BZ #33129]
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 28 Jul 2025 19:18:22 +0000 (12:18 -0700)
committerSam James <sam@gentoo.org>
Fri, 15 Aug 2025 21:20:32 +0000 (22:20 +0100)
commit62ff85fd09ff648183af4265f07dace2879e6d42
tree3d0cc5003a3174d31c8305f8705dfa33f39fb94e
parentf0e8d04eef4b2e0add23ccee710e925a497160b0
x86-64: Add GLIBC_ABI_GNU2_TLS version [BZ #33129]

Programs and shared libraries compiled with -mtls-dialect=gnu2 may fail
silently at run-time against glibc without the GNU2 TLS run-time fix
for:

https://sourceware.org/bugzilla/show_bug.cgi?id=31372

Add GLIBC_ABI_GNU2_TLS version to indicate that glibc has the working
GNU2 TLS run-time.  Linker can add the GLIBC_ABI_GNU2_TLS version to
binaries which depend on the working GNU2 TLS run-time:

https://sourceware.org/bugzilla/show_bug.cgi?id=33130

so that such programs and shared libraries will fail to load and run at
run-time against libc.so without the GLIBC_ABI_GNU2_TLS version, instead
of fail silently at random.

This fixes BZ #33129.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
(cherry picked from commit 9df8fa397d515dc86ff5565f6c45625e672d539e)
sysdeps/x86_64/Makefile
sysdeps/x86_64/Versions