On Tue, Oct 28, 2025 at 10:52 AM Nathan Chancellor <[email protected]> wrote: > > On Mon, Oct 27, 2025 at 11:56:21PM +0100, Linus Walleij wrote: > > On Mon, Oct 27, 2025 at 4:54 PM Sami Tolvanen <[email protected]> > > wrote: > > > Instead of working around issues with the generic pass, would it make > > > more sense to just disable arm32 CFI with older Clang versions > > > entirely? Linus, any thoughts? > > > > We have people using this with the default compilers that come with > > Debiand and Fedora. I would say as soon as the latest release of > > the major distributions supports this, we can drop support for older > > compilers. > > Okay, I think that is reasonable enough. This is not a very large > workaround and I do not expect these type of workarounds to be necessary > frequently so I think it is worth keeping this working if people are > actually using it. That means we could mandate the backend version of > kCFI for ARM with Debian Forky in 2027.
Yeah, it's a bit unfortunate, but I agree that we shouldn't break existing users until newer Clang is actually available in distros. Sami
