[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <174111063359.3934820.5690548067195753148.b4-ty@kernel.org>
Date: Tue, 4 Mar 2025 09:50:34 -0800
From: Kees Cook <kees@...nel.org>
To: Nathan Chancellor <nathan@...nel.org>,
Kees Cook <kees@...nel.org>
Cc: Thomas Weißschuh <linux@...ssschuh.net>,
Bill Wendling <morbo@...gle.com>,
Justin Stitt <justinstitt@...gle.com>,
Masahiro Yamada <masahiroy@...nel.org>,
Nicolas Schier <nicolas@...sle.eu>,
llvm@...ts.linux.dev,
linux-kbuild@...r.kernel.org,
David Gow <davidgow@...gle.com>,
linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH v2] kbuild: clang: Support building UM with SUBARCH=i386
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
Powered by blists - more mailing lists