[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/32022] Assembler shouldn't accept invalid TLS instructions
From: |
sam at gentoo dot org |
Subject: |
[Bug gas/32022] Assembler shouldn't accept invalid TLS instructions |
Date: |
Mon, 29 Jul 2024 11:36:36 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=32022
--- Comment #6 from Sam James <sam at gentoo dot org> ---
(In reply to Jan Beulich from comment #5)
> (In reply to H.J. Lu from comment #0)
> > [hjl@gnu-tgl-3 tmp]$ ld y.o
> > ld: warning: cannot find entry symbol _start; defaulting to 0000000000401000
> > ld: y.o: TLS transition from R_X86_64_GOTTPOFF to R_X86_64_TPOFF32 against
> > `foo' at 0x3 in section `.text' failed
> > ld: final link failed: bad value
>
> And why exactly does linking need to fail is such a situation? The TLS
> transitions are optional, aren't they? Not being able to do carry one out
> may indeed deserve a warning (with a control to silence), but not more.
>
We would need a way to make it error out by default when invoked by GCC then,
given it exposed an x86 backend issue.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/32022] New: Assembler shouldn't accept invalid TLS instructions, hjl.tools at gmail dot com, 2024/07/25
- [Bug gas/32022] Assembler shouldn't accept invalid TLS instructions, hjl.tools at gmail dot com, 2024/07/25
- [Bug gas/32022] Assembler shouldn't accept invalid TLS instructions, hjl.tools at gmail dot com, 2024/07/25
- [Bug gas/32022] Assembler shouldn't accept invalid TLS instructions, sam at gentoo dot org, 2024/07/25
- [Bug gas/32022] Assembler shouldn't accept invalid TLS instructions, hjl.tools at gmail dot com, 2024/07/25
- [Bug gas/32022] Assembler shouldn't accept invalid TLS instructions, lili.cui at intel dot com, 2024/07/26
- [Bug gas/32022] Assembler shouldn't accept invalid TLS instructions, hjl.tools at gmail dot com, 2024/07/26
- [Bug gas/32022] Assembler shouldn't accept invalid TLS instructions, hjl.tools at gmail dot com, 2024/07/26
- [Bug gas/32022] Assembler shouldn't accept invalid TLS instructions, jbeulich at suse dot com, 2024/07/29
- [Bug gas/32022] Assembler shouldn't accept invalid TLS instructions,
sam at gentoo dot org <=
- [Bug gas/32022] Assembler shouldn't accept invalid TLS instructions, jbeulich at suse dot com, 2024/07/29
- [Bug gas/32022] Assembler shouldn't accept invalid TLS instructions, sam at gentoo dot org, 2024/07/29
- [Bug gas/32022] Assembler shouldn't accept invalid TLS instructions, jbeulich at suse dot com, 2024/07/29
- [Bug gas/32022] Assembler shouldn't accept invalid TLS instructions, sam at gentoo dot org, 2024/07/29