Re: [PATCH v2] kbuild: clang: Support building UM with SUBARCH=i386
From: Kees Cook
Date: Tue Mar 04 2025 - 13:15:56 EST
On Tue, 04 Mar 2025 08:21:29 -0800, Kees Cook wrote:
> The UM builds distinguish i386 from x86_64 via SUBARCH, but we don't
> support building i386 directly with Clang. To make SUBARCH work for
> i386 UM, we need to explicitly test for it.
>
> This lets me run i386 KUnit tests with Clang:
>
> $ ./tools/testing/kunit/kunit.py run \
> --make_options LLVM=1 \
> --make_options SUBARCH=i386
> ...
>
> [...]
Applied to for-next/hardening, thanks!
[1/1] kbuild: clang: Support building UM with SUBARCH=i386
https://git.kernel.org/kees/c/a48d9ebdbb5a
Take care,
--
Kees Cook