From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2D5913858D32; Tue, 27 Jun 2023 00:52:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2D5913858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1687827142; bh=NS62a+TRIV9LuJLnDmhuYEr5oy+q/sVXFL6TDs1N+7o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=A0LX6X/CZQTeupQrk/NW0rqgO2WC5WbHfIk80Wqn2z+Q08I6iQwBch4gZ5KM4vpav DViymkrkzyj+HLS1PmmVlMl3wgNa+BAEC0hpqclB3oPEdXKscNfB6BzsIt7bg+lDto w2cvz7sWzclJfhbwfkjfTayPItPOUAWkSq7JrTro= From: "fche at redhat dot com" To: elfutils-devel@sourceware.org Subject: [Bug debuginfod/30589] debuginfod can't find sources even though they exist on disk Date: Tue, 27 Jun 2023 00:52:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: debuginfod X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: fche at redhat dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30589 Frank Ch. Eigler changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fche at redhat dot com Last reconfirmed| |2023-06-27 Ever confirmed|0 |1 Status|UNCONFIRMED |WAITING --- Comment #2 from Frank Ch. Eigler --- In my tests here on f38, the gcc -ffile-prefix-map option resulted in highly sus dwarf: % gcc -g -O0 test.c -Wl,--build-id=3D0xaaaaaaaaaabbbbbbbbbbccccccccccdddddd= dddd -ffile-prefix-map=3D`pwd`=3D`pwd`/servefrom % eu-readelf -w a.out Directory table: [path(line_strp)] 0 /home/fche/[...]/servefrom/servefrom (61) i.e., the suffix was added twice. On another test, where the map target was to a non-subdirectory like /tmp/foo, gcc produced correct looking dwarf, and debuginfod took it like a champ. gcc version 13.1.1 20230614 (Red Hat 13.1.1-4) (GCC) --=20 You are receiving this mail because: You are on the CC list for the bug.=