From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7E0FE3858D39; Fri, 2 Dec 2022 19:04:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7E0FE3858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670007862; bh=vUKwWI4CCoK91cZiA70gJ8jihme1Ph2t+bigPzdphRI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VR9tvpBRjxkhVYrKypWnHyEadzqMcN5SYzaVUlUJnyTbkIOHXwRzcCy5fE6pMwis8 exxCtEaS9CCWwyiwnCKYU5gKczxsldzBzk9auyvrgxCzAnzdzYVVxOpHlZMuDhNi9c RgP5kzxpELehyARAXIouWOh5R7vaFs4iRaV9UESs= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/107078] LTO is causing that firebird build is core dumping Date: Fri, 02 Dec 2022 19:04:22 +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.2.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin 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=3D107078 --- Comment #18 from Martin Li=C5=A1ka --- > This issue is about compiler issue on linking firebird binary linked with > LTO. Good, so it's isql command that crashes: make gpre make[2]: Entering directory '/tmp/firebird-4.0.2/gen' rm -f metadata.fdb /tmp/firebird-4.0.2/gen/Release/firebird/bin/isql -q -i /tmp/firebird-4.0.2/src/dbs/metadata.sql make[2]: *** [Makefile:441: metadata.fdb] Segmentation fault (core dumped) make[2]: *** Deleting file 'metadata.fdb' make[2]: Leaving directory '/tmp/firebird-4.0.2/gen' make[1]: *** [Makefile:292: master_process] Error 2 And my question is, how run it under gdb?=