[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/32387] ppc64 TLS local-dynamic optimization bug when built with
From: |
amodra at gmail dot com |
Subject: |
[Bug ld/32387] ppc64 TLS local-dynamic optimization bug when built with -fno-plt |
Date: |
Mon, 25 Nov 2024 09:42:16 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=32387
--- Comment #5 from Alan Modra <amodra at gmail dot com> ---
Yes, as things stand the inline plt code emitted by gcc is incompatible with
the linker telling glibc ld.so (via DT_PPC64_OPT & PPC64_OPT_TLS) to
short-circuit tls_get_addr calls at runtime.
I think I'd fix this in the linker by detecting whether any of the inline plt
relocs against __tls_get_addr exist, and forcing tls_get_addr_opt = 0 if found.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/32387] New: ppc64 TLS local-dynamic optimization bug when built with -fno-plt, bergner at linux dot ibm.com, 2024/11/23
- [Bug ld/32387] ppc64 TLS local-dynamic optimization bug when built with -fno-plt, bergner at linux dot ibm.com, 2024/11/23
- [Bug ld/32387] ppc64 TLS local-dynamic optimization bug when built with -fno-plt, bergner at linux dot ibm.com, 2024/11/23
- [Bug ld/32387] ppc64 TLS local-dynamic optimization bug when built with -fno-plt, sam at gentoo dot org, 2024/11/23
- [Bug ld/32387] ppc64 TLS local-dynamic optimization bug when built with -fno-plt, besser82 at fedoraproject dot org, 2024/11/24
- [Bug ld/32387] ppc64 TLS local-dynamic optimization bug when built with -fno-plt, bergner at linux dot ibm.com, 2024/11/24
- [Bug ld/32387] ppc64 TLS local-dynamic optimization bug when built with -fno-plt,
amodra at gmail dot com <=
- [Bug ld/32387] ppc64 TLS optimization bug when built with -fno-plt, amodra at gmail dot com, 2024/11/25
- [Bug ld/32387] ppc64 TLS optimization bug when built with -fno-plt, amodra at gmail dot com, 2024/11/25
- [Bug ld/32387] ppc64 TLS optimization bug when built with -fno-plt, bergner at linux dot ibm.com, 2024/11/25
- [Bug ld/32387] ppc64 TLS optimization bug when built with -fno-plt, cvs-commit at gcc dot gnu.org, 2024/11/26
- [Bug ld/32387] ppc64 TLS optimization bug when built with -fno-plt, amodra at gmail dot com, 2024/11/26
- [Bug ld/32387] ppc64 TLS optimization bug when built with -fno-plt, cvs-commit at gcc dot gnu.org, 2024/11/27
- [Bug ld/32387] ppc64 TLS optimization bug when built with -fno-plt, cvs-commit at gcc dot gnu.org, 2024/11/27