https://sourceware.org/bugzilla/show_bug.cgi?id=33130
Bug ID: 33130 Summary: GNU2 TLS binary may not work on Linux Product: binutils Version: 2.45 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com CC: fweimer at redhat dot com Depends on: 33129, 31372 Target Milestone: --- Target: x86-64 GNU2 TLS binary may not work on Linux without the GNU2 TLS run-time fix for: https://sourceware.org/bugzilla/show_bug.cgi?id=31372 There is a proposal to add a glibc version tag, GLIBC_ABI_GNU2_TLS, to indicate that glibc has the working GNU2 TLS run-time: https://sourceware.org/bugzilla/show_bug.cgi?id=33129 Linker should add GLIBC_ABI_GNU2_TLS version dependency on output when linking against glibc if inputs have R_X86_64_TLSDESC_CALL relocations so that the output will fail to run with glibc which doesn't have the GLIBC_ABI_GNU2_TLS version. Referenced Bugs: https://sourceware.org/bugzilla/show_bug.cgi?id=31372 [Bug 31372] _dl_tlsdesc_dynamic doesn't preserve all caller-saved registers https://sourceware.org/bugzilla/show_bug.cgi?id=33129 [Bug 33129] Need a version tag to indicate that glibc has working GNU2 TLS support -- You are receiving this mail because: You are on the CC list for the bug.