From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8239938582AB; Thu, 11 May 2023 00:52:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8239938582AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683766343; bh=3svjLHFejyDTZti9YnT3skttyZ83oKTB2RDSkVYWUS0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=K2CvDL/u9Iv3N9buXyBerGJa7t7MovP7Q0+d439ojTX+hf+z0qzlKAVLalvIX8FLX x1DGhbPh+6B6NBkXPbJOvEVEBMNpfSoexuOnYnhSgmDgF0jzyM/EGC6r9/zRp5TzlC dUZYJTUOtf9/j8j+8qdrf/U4X9BegflZPIyPSS6A= From: "sergiodj at sergiodj dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/109805] LTO affecting -fdebug-prefix-map Date: Thu, 11 May 2023 00:52:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sergiodj at sergiodj dot net 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=3D109805 --- Comment #1 from Sergio Durigan Junior --- The formatting for the example snippet got messed up. Here's a fixed versi= on: $ echo 'int main(){}' > foo.c $ ~/gcc/install/bin/gcc -c foo.c -O2 -g -flto=3Dauto -ffat-lto-objects -fdebug-prefix-map=3D`pwd`=3D/aaaaaaa -o foo $ ~/gcc/install/bin/gcc foo -flto=3Dauto -ffat-lto-objects -o bar=