Re: [PATCH 09/11] x86: rework CONFIG_GENERIC_CPU compiler flags
From: Jason A. Donenfeld
Date: Thu Dec 05 2024 - 07:35:35 EST
On Thu, Dec 05, 2024 at 12:58:22PM +0100, Arnd Bergmann wrote:
> As I said earlier, I don't think we should offer the 'native'
> option for 32-bit targets at all. For 64-bit, we either decide
> it's a user error to enable -march=native, or change it to
> -mtune=native to avoid the problem.
I've been building my laptop's kernel with -march=native for years, and
I'd be happy if this capability were upstream.
Jason