From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C4A703851C0A; Mon, 21 Jun 2021 03:33:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C4A703851C0A From: "robert at ocallahan dot org" To: dwz@sourceware.org Subject: [Bug default/28000] New: Fedora glibc debuginfo .dwz contains a partial unit with needed debuginfo but which is not imported Date: Mon, 21 Jun 2021 03:33:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: dwz X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: robert at ocallahan dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: nobody at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: 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 X-BeenThere: dwz@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dwz mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2021 03:33:51 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28000 Bug ID: 28000 Summary: Fedora glibc debuginfo .dwz contains a partial unit with needed debuginfo but which is not imported Product: dwz Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: default Assignee: nobody at sourceware dot org Reporter: robert at ocallahan dot org CC: dwz at sourceware dot org Target Milestone: --- The Fedora 34 package glibc-debuginfo-2.33-16.fc34.x86_64 package has glibc symbols in /usr/lib/debug/.build-id/08/1490fc18239fa63189a53e526a68ee5d19c571.debug wh= ose .gnu_debugaltlink is /usr/lib/debug/usr/.dwz/glibc-2.33-16.fc34.x86_64. /usr/lib/debug/.build-id/08/1490fc18239fa63189a53e526a68ee5d19c571.debug ha= s a compilation unit at 0x795fa that imports the partial unit at 0x1f63c from t= he .dwz file. That partial unit contains a variable declaration whose DW_AT_specification (0x1f0d2) lives in another partial compilation unit 0x1f0cd. However, that partial unit is not imported anywhere in /usr/lib/debug/.build-id/08/1490fc18239fa63189a53e526a68ee5d19c571.debug as= far as I can tell. I think the compilation unit at global-locale.c, at least, should be importing it. Relevant debuginfo dumps: UNIT
: < 0><0x0000000c GOFF=3D0x000795fa> DW_TAG_compile_unit DW_AT_producer=20=20=20=20=20=20=20=20= =20=20=20=20=20 <.debug_str(sup)+0x0001200e> DW_AT_language DW_LANG_C11 DW_AT_name global-loca= le.c DW_AT_comp_dir=20=20=20=20=20=20=20=20= =20=20=20=20=20 /usr/src/debug/glibc-2.33-16.fc34.x86_64/locale DW_AT_stmt_list=20=20=20=20=20=20=20=20= =20=20=20=20 <.debug_line+0x0000ce8a> < 1><0x0000001e GOFF=3D0x0007960c> DW_TAG_imported_unit DW_AT_import=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 <.debug_info(sup)+0x0001f63c> UNIT
: < 0><0x0000000c GOFF=3D0x0001f63c> DW_TAG_partial_unit DW_AT_stmt_list=20=20=20=20=20=20=20=20= =20=20=20=20 <.debug_line+0x00000000> ... < 1><0x00000038 GOFF=3D0x0001f668> DW_TAG_variable DW_AT_specification=20=20=20=20=20=20= =20=20 <.debug_info+0x0001f0d2> DW_AT_decl_file 0x0000013b /usr/src/debug/glibc-2.33-16.fc34.x86_64/locale/global-locale.c DW_AT_decl_line 0x00000040 DW_AT_decl_column 0x00000013 DW_AT_location len 0x000= a: 0e00000000000000009b: DW_OP_const8u 0 DW_OP_form_tls_address UNIT
: < 0><0x0000000c GOFF=3D0x0001f0cd> DW_TAG_partial_unit DW_AT_stmt_list=20=20=20=20=20=20=20=20= =20=20=20=20 <.debug_line+0x00000000> < 1><0x00000011 GOFF=3D0x0001f0d2> DW_TAG_variable DW_AT_name=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 __libc_tsd_LOCALE DW_AT_decl_file 0x00000089 /usr/src/debug/glibc-2.33-16.fc34.x86_64/locale/localeinfo.h DW_AT_decl_line 0x000000e1 DW_AT_decl_column 0x00000001 DW_AT_type=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 <.debug_info+0x00035fb3> DW_AT_external yes DW_AT_declaration yes --=20 You are receiving this mail because: You are on the CC list for the bug.=