From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8263F3858427; Thu, 28 Mar 2024 00:25:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8263F3858427 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711585526; bh=ORYKOlNaLrOgHYBI2x6kYVGJUbCmqbrGu+vkIdlq3f4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=eMl75XD2EAyJpaZJFq+4g1a37NrrVRjVDcJ9MR0dCLND0k6o5n/VwyaA7wEm5kHPL iauPyRuMYMdmvFYqDcrhjZbZx01T6U5OcaVzN+7ujktt29KA5fJjobVVacFGASpM6j Vji1VaMnBpgNL/LDE1dIKCSA9OX2PI51iI7nu0ik= From: "xry111 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/114505] static archives built with gcc --without-zstd cause ICE when read by gcc with zstd support Date: Thu, 28 Mar 2024 00:25:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 13.2.1 X-Bugzilla-Keywords: lto, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: xry111 at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114505 Xi Ruoyao changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-reduction --- Comment #5 from Xi Ruoyao --- (In reply to Andrew Pinski from comment #3) > THis should not case should not being ICE and should be handled correctly= . I > am thinking something else is wrong. >=20 > Now the opposite direction is definitely should be a fatal_error instead = of > an internal_error. I'm pretty sure I've seen the ICE before (when I forgot to strip the LTO sections from a fat LTO archive built by a "GCC w/o zstd" to produce a non-= LTO archive). Just need to find a test case...=