From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2D6DD385841A; Sat, 30 Dec 2023 20:00:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2D6DD385841A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1703966425; bh=4XOuMTVep4fco8B6rqOWgzXlYRmhnx3Yr4+WBvFNkGs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yz/qCWyv3Ywq542w+b/9K29FTOqkdQONsvYTmHw0st2dPAs7VKST0f3yD237s1tHB uRr4WBawpZQTe3GcOIqEycDT8CGxUL1Vo14PpZKmTFwqTLJgNoeDb0n81Z2cIvFnrW 1McjgDeeYEHSh6UfW3CZCq0r8L5g9nTMipRRO8BI= From: "sebunger44 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/113183] LTO crashes with Segmentation fault Date: Sat, 30 Dec 2023 20:00:24 +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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sebunger44 at gmail dot com X-Bugzilla-Status: UNCONFIRMED 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: 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=3D113183 --- Comment #11 from Sebastian Unger --- I see. It was the SORT_BY_INIT_PRIORITY with the section name used not actu= ally having a priority that triggered it, was it?! If I change the section name = to .init_array.1 then it works. But, yes, you suggestion using the constructor attribute is even better. Thank you very much. I suspect it would still be better to not crash though. ;-)=