Re: [PATCH] x86/build: Do not allow X86_NATIVE_CPU to be enabled on non-x86_64 hosts
From: Borislav Petkov
Date: Sun Nov 15 2026 - 10:53:23 EST
On Sat, Nov 14, 2026 at 10:07:30PM -0700, Nathan Chancellor wrote:
> Another option short of adding this test or killing it entirely would be
> depending on !COMPILE_TEST, as I only noticed this because
> CONFIG_X86_NATIVE_CPU gets enabled for allmodconfig.
This sounds better to me, TBH. As in: we don't need to do native CPU compile
tests in environments like cross-compiling on another uarch where this doesn't
even make sense to begin with.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette