[PATCH] hardening: Disable GCC randstruct for COMPILE_TEST

Arnd Bergmann arnd at arndb.de
Wed Apr 9 15:22:30 UTC 2025


On Wed, Apr 9, 2025, at 17:11, Kees Cook wrote:
> 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 at kernel.org>
> Link: 
> https://lore.kernel.org/all/20250407-kbuild-disable-gcc-plugins-v1-1-5d46ae583f5e@kernel.org/ 
> [1]
> Signed-off-by: Kees Cook <kees at kernel.org>

Acked-by: Arnd Bergmann <arnd at arndb.de>



More information about the Linux-security-module-archive mailing list