Hi Günther and Mickaël Salaün, On 2025/4/11 01:05, Mickaël Salaün wrote:
This is in my understanding a duplicate of the discussion in https://lore.kernel.org/all/20250407-kbuild-disable-gcc-plugins-v1-1-5d46ae583...@kernel.org/Yes, a new patch has been submitted: https://lore.kernel.org/all/20250409151154.work.872-k...@kernel.org/
Thank you both for the reminder! But I'm still a bit lost.With GCC 14, I can reproduce this problem by merely enabling landlock and RANDSTRUCT on top of the base x86_64_defconfig.
It doesn't appear that making GCC_PLUGINS depend on !COMPILE_TEST or restricting RANDSTRUCT to only be enabled when CC_HAS_RANDSTRUCT is set actually addresses the root cause.
I'm quite curious to know what the actual direct cause of this internal GCC error is.
Thanks, -- WangYuli
OpenPGP_0xC5DA1F3046F40BEE.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature