Re: [PATCH v1] x86/defconfigs: Unbreak 32-bit defconfig builds

From: Jarkko Nikula
Date: Tue Sep 08 2020 - 15:02:56 EST


Hi

On 9/8/20 3:13 PM, Ingo Molnar wrote:

* Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

After the commit 1d0e12fd3a84 ("x86/defconfigs: Refresh defconfig files")
32-bit builds using defconfig become broken because on x86_64 build host
with no ARCH provided the default behaviour is to assume 64-bit independently
on the configuration file name. The crucial part is CONFIG_64BIT option
that used to be explicit. Let restore the latter option in order to unbreak
32-bit builds.

So exactly which build method broke due to this? The typical way to do a defconfig build is:

make ARCH=i386 defconfig

which still works fine AFAICS.

Maybe wrong way to do it, just plain "make i386_defconfig". I'm aware of ARCH=, but never needed to specify it for x86 targets.

Jarkko