[Bug dynamic-link/33129] Need a version tag to indicate that glibc has working GNU2 TLS support

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Fri Aug 15 21:18:02 GMT 2025


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

--- Comment #8 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The release/2.41/master branch has been updated by Sam James
<sjames@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=dd87fcda434e646ae2795e67f5877193133b6db6

commit dd87fcda434e646ae2795e67f5877193133b6db6
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Jul 28 12:18:22 2025 -0700

    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)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list