From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ECF7C3858407; Tue, 22 Mar 2022 09:36:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ECF7C3858407 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/105012] [12 Regression] wrf from SPECCPU2017 ICEs during LTO linking Date: Tue, 22 Mar 2022 09:36:19 +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: 12.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW 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: cf_reconfirmed_on everconfirmed bug_status 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2022 09:36:20 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105012 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2022-03-22 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #1 from Martin Li=C5=A1ka --- I can reproduce that on x86_64-linux-gnu and I'm trying to reduce that. > Sorry for the lack of a small reproducer, still need to learn how to redu= ce > LTO cases properly.. You can do that in the following steps: 1) reduce the number of objects needed on the linker command line - you can= put them to FILES.txt and then use cvise-delta to find a minimal set of files needed; sometimes one needs to use -shared -fPIC in order to prevent missing symbols linker errors 2) create pre-processed files for the culprit objects and then run gcc *.i -flto ... and bisect all files at once with cvise=