On Mon, May 18, 2026 at 09:48:47AM +0200, Arnd Bergmann wrote:
> On Mon, May 18, 2026, at 01:05, Nathan Chancellor wrote:
> > Now that the minimum supported version of LLVM for building the kernel
> > has been raised to 17.0.1, the '!Clang || Clang > 15.0.6' dependency for
> > CONFIG_CC_HAS_ZERO_CALL_USED_REGS is always true, so it can be removed.
> >
> > Reviewed-by: Nicolas Schier <[email protected]>
> > Signed-off-by: Nathan Chancellor <[email protected]>
> 
> Acked-by: Arnd Bergmann <[email protected]>

Thanks for taking a look!

> >  config CC_HAS_ZERO_CALL_USED_REGS
> >     def_bool $(cc-option,-fzero-call-used-regs=used-gpr)
> > -   # https://github.com/ClangBuiltLinux/linux/issues/1766
> > -   # https://github.com/llvm/llvm-project/issues/59242
> > -   depends on !CC_IS_CLANG || CLANG_VERSION > 150006
> > 
> 
> Maybe add a comment to mention that this now requires gcc-11,
> that way we have it easier to remove the check when that becomes
> the minimum version.

Sure, I can add

  # supported by gcc-11 or newer and all supported versions of clang

when I apply it.

-- 
Cheers,
Nathan

Reply via email to