From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 01A1F3857C4B; Wed, 29 Nov 2023 16:54:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 01A1F3857C4B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1701276844; bh=p9rrudbuzVLzjQTE9t8b85Q3287g5gV3AiFAYfHZgOw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HWKuCK652Z6GB6QmoYxh7W8hAtjsdXVRSgwKaGhT8DCIWLaSKFtTOP8Q2Njk/CLsc vuhh+J1ShPM5Smny/nE2pfZugHDWgIHLY9fcQz8TFHBh6i6sdKQjroe1j/KGWI6k0i 1RIECaXpGbdghLT16IwcNzi7YhZ617gLGfncmA9U= From: "fche at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/31088] gdb requires build directories to exist Date: Wed, 29 Nov 2023 16:54:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 12.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fche at redhat dot com X-Bugzilla-Status: NEW 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: cf_reconfirmed_on everconfirmed bug_status cc 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=3D31088 Frank Ch. Eigler changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-11-29 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC| |fche at redhat dot com --- Comment #1 from Frank Ch. Eigler --- Some baby investigation with ubuntu 22.04 binaries, taking /bin/ls as an example: eu-readelf -w `debuginfod-find debuginfo /bin/ls`: DWARF section [30] '.debug_info' at offset 0x438: [Offset] Compilation unit at offset 0: Version: 5, Abbreviation section offset: 4084, Address size: 8, Offset siz= e: 4 Unit type: partial (3) [ c] partial_unit abbrev: 50 stmt_list (sec_offset) 0 comp_dir (line_strp) "." Compilation unit at offset 3348: Version: 5, Abbreviation section offset: 0, Address size: 8, Offset size: 4 Unit type: compile (1) [ d20] compile_unit abbrev: 43 producer (GNU_strp_alt) "GNU GIMPLE 11.2.0 -mtune=3Dgeneric -march=3Dx86-64 -g -g -O2 -O2 -fno-openmp -fno-openacc -fP= IC -fcf-protection=3Dfull -fstack-protector-strong -ffat-lto-objects -fltrans" language (data1) C11 (29) name (line_strp) "" comp_dir (line_strp) "." i.e., AT_comp_dir =3D "." MJW advises this implicates https://dwarfstd.org/issues/210628.1.html , wherein it is acknowledged that absolute paths are expected, and offers semantics to DWARF6 for special cases. Those special cases would not help at all in the debuginfod-supplied cases, where the file names in the client cache have no relationship to the build system's file tree or the installed location of the binary. So the question is why are these binaries arriving with ".", seeing that they were produced by GCC. --=20 You are receiving this mail because: You are on the CC list for the bug.=