7.0.3 with clang 22.1.4 and full lto: objtool: bad .discard.annotate_insn entry: 609 of type 8
From: Klaus Kusche
Date: Sun May 03 2026 - 12:43:00 EST
Hello,
with clang 22.1.4, I get an error in the "LD vmlinux.o" step
(full lto):
"objtool: bad .discard.annotate_insn entry: 609 of type 8"
Same kernel & same config compiles and runs nicely with clang 21.1.8.
I've attached the kernel config to
https://bugzilla.kernel.org/show_bug.cgi?id=221460
--
Prof. Dr. Klaus Kusche
Privat: Söllmnitz 32 d, D-07554 Gera/Söllmnitz
036695/859909 klaus.kusche@xxxxxxxxxxxxxxx https://www.computerix.info
Dienstlich: DHGE Gera, Weg der Freundschaft 4, D-07546 Gera
klaus.kusche@xxxxxxx https://www.dhge.de