Re: [tip: x86/urgent] x86/build: Do not allow X86_NATIVE_CPU to be enabled when compile testing

From: Nathan Chancellor

Date: Mon Nov 16 2026 - 08:02:07 EST


On Mon, Nov 16, 2026 at 10:40:01AM +0100, Ingo Molnar wrote:
> Can we just limit the feature to when host == target, ie. to not
> work it around in such a crude fashion?

That was my v1 but Boris didn't like it:

https://lore.kernel.org/20261113-x86-no-march-native-on-non-x86_64-v1-1-cbc8b096d1c4@xxxxxxxxxx

--
Cheers,
Nathan