Re: [PATCH] arm64/module: Fix livepatch BTI exceptions with Clang 21+
From: Mark Brown
Date: Tue Aug 11 2026 - 13:23:18 EST
On Tue, Aug 11, 2026 at 09:17:09AM -0700, Nick Desaulniers wrote:
> On Tue, Aug 11, 2026 at 6:18 AM Ard Biesheuvel <ardb@xxxxxxxxxx> wrote:
> > https://github.com/llvm/llvm-project/issues/215547
> Thanks.
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106671 was closed as
> invalid pointing to the same commit in llvm. What's going on here?
> Where's the corresponding feature request for GCC?
TBH I'd missed that that got closed, basically it's what's in the report
there - the GCC people really dislike the idea of adding landing pads
and want to see veneers added by the linker to fix up issues where
they're missing.
> At the least, I could imagine there being a `-fno-omit-bti-pads` or
> whatever for the kernel to opt into this behavior.
That would be useful.
Attachment:
signature.asc
Description: PGP signature