From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1167B3858D37; Mon, 18 Mar 2024 07:45:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1167B3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710747943; bh=ofJSoJdsUX/2gFyNWOxFa0Oqxjp4iHoFj6xwLBQONZA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=k/TBZkMZTY6LSOzIN4DzLDoYrlRVDUK+DjGvLuiyLAFN1S/m9OrnXlB6ny3AbtCgN 7Fg+SNaV6QKYv8IAztdKV42GfbNCK6J6yi6PhBpVbWThqvISU5RyUXe+TGKZ6r60D/ 7KCaKjOC7IHsAJY73AxNxaop8H8em0HLCCyJPXVs= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/113208] [14 Regression] lto1: error: Alias and target's comdat groups differs Date: Mon, 18 Mar 2024 07:45:42 +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: 14.0 X-Bugzilla-Keywords: ice-on-valid-code, needs-bisection, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D113208 --- Comment #3 from Sam James --- (In reply to Matthias Klose from comment #0) > seen with trunk 20240101, building the poedit package with -flto. >=20 > hints where to start the reduction are appreciated. >=20 First, take the link command and see if you can prune any objects and still= get the ICE (you can automate this with cvise but it's often not worth botherin= g, but see https://wiki.gentoo.org/wiki/GCC_ICE_reporting_guide#LTO_example fo= r an example) Once you identify the relevant objects, check if any of them are archives, = and expand them with e.g. 'ar x', replacing them in the link line. You can then try to replace them with preprocessed versions and LTO those, = and see if it still fails.=