Re: [PATCH] arm64/module: Fix livepatch BTI exceptions with Clang 21+

Mark Brown <[email protected]>
Newsgroups org.kernel.vger.live-patching,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Tue, Aug 11, 2026 at 09:17:09AM -0700, Nick Desaulniers wrote:
> On Tue, Aug 11, 2026 at 6:18 AM Ard Biesheuvel <[email protected]> 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.
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmp7WnYACgkQJNaLcl1U
h9AlWAf9EDmcgnnvuL4cqwpOwcFQBZ+OC5V5uyozWCWwwgFZWuxMkGFmeh9jP133
HxdCeyAn4jdemlf7UuUPAVjCCrd1a/vLdbUVWSDpxCqd0eCK0FiSG1a0l+ybSDdf
l2AH8bLabTs1znEf1iKhKnRF32zzYxIB+kbiBSOpqIVDRSZcUS4kOAK+tyHvHVFc
t6es633XMyu7a+P/Y3p4kRNlPF9W4p/xks40GlVe+Qi6PZ23K6nlIRSDpTUmR2dI
TCjdXk3d8f5UVkXb4xGbzKTEGAuIUifDxi2e0AgMKCd+4MTtOhiyb8bzsxjGTUkG
U0sngeJ0+vaxaJ8iHRjWANooW8b2pg==
=eLwd
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.