]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hardening: Disable GCC randstruct for COMPILE_TEST
authorKees Cook <kees@kernel.org>
Wed, 9 Apr 2025 15:11:58 +0000 (08:11 -0700)
committerKees Cook <kees@kernel.org>
Tue, 15 Apr 2025 20:50:17 +0000 (13:50 -0700)
commitf5c68a4e84f9feca3be578199ec648b676db2030
tree754343cee247c9415b8d2fa2b482e6be08a16edb
parent62d32440ac127b79747ef930205052803a8efd0f
hardening: Disable GCC randstruct for COMPILE_TEST

There is a GCC crash bug in the randstruct for latest GCC versions that
is being tickled by landlock[1]. Temporarily disable GCC randstruct for
COMPILE_TEST builds to unbreak CI systems for the coming -rc2. This can
be restored once the bug is fixed.

Suggested-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/all/20250407-kbuild-disable-gcc-plugins-v1-1-5d46ae583f5e@kernel.org/
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20250409151154.work.872-kees@kernel.org
Signed-off-by: Kees Cook <kees@kernel.org>
security/Kconfig.hardening