]> 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)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 14 Aug 2025 12:42:54 +0000 (05:42 -0700)
commit9df8fa397d515dc86ff5565f6c45625e672d539e
tree733e3b4e0090ec59f7d1b0b3afef1b2ff9d1051d
parent9dccb0e1c57e8b90cf1fd171bd8505960aeb1f38
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>
sysdeps/x86_64/Makefile
sysdeps/x86_64/Versions