lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <A8ED9B14F380E4B2+7fc9a2e8-5661-4344-9ac2-481da95cc6f8@uniontech.com>
Date: Fri, 11 Apr 2025 10:50:12 +0800
From: WangYuli <wangyuli@...ontech.com>
To: Mickaël Salaün <mic@...ikod.net>,
 Günther Noack <gnoack3000@...il.com>
Cc: gnoack@...gle.com, paul@...l-moore.com, jmorris@...ei.org,
 serge@...lyn.com, kees@...nel.org, masahiroy@...nel.org, nathan@...nel.org,
 nicolas@...sle.eu, linux-security-module@...r.kernel.org,
 "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
 linux-hardening@...r.kernel.org, linux-kbuild@...r.kernel.org,
 陈麟轩 <chenlinxuan@...ontech.com>,
 占俊 <zhanjun@...ontech.com>, 聂诚
 <niecheng1@...ontech.com>, 关文涛
 <guanwentao@...ontech.com>
Subject: Re: [Bug Report] A compilation failure occurs when landlock and
 RANDSTRUCT are combined with GCC 14.2.0.

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-5d46ae583f5e@kernel.org/
> Yes, a new patch has been submitted:
> https://lore.kernel.org/all/20250409151154.work.872-kees@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

Download attachment "OpenPGP_0xC5DA1F3046F40BEE.asc" of type "application/pgp-keys" (633 bytes)

Download attachment "OpenPGP_signature.asc" of type "application/pgp-signature" (237 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ