From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8630D3858C00; Tue, 11 Apr 2023 10:44:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8630D3858C00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1681209841; bh=3f26WgM6dnx8318iGr+HMnefaiEHBRkjPPnxYEIZtbY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BKLolB2p69LWhduDU5igAoWivb7zRvbTnzbcxWy+bq8GHYGZqBrifyw64UIXs+GMK 9mDkDyqvJq2WJIovpjwGxRvm/7lYIHJwaJ6fzMacndWEN4roSBpyvMwX63EAVxrpue 81DURhdKX6gjc5EH/ZIa+TdI5T7EFTLT9aRRdG/I= From: "dodji at seketeli dot org" To: libabigail@sourceware.org Subject: [Bug default/30329] abidiff assertion error in dwarf reader Date: Tue, 11 Apr 2023 10:44:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: libabigail X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dodji at seketeli dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dodji at redhat dot com 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://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30329 --- Comment #4 from dodji at seketeli dot org --- ben at demerara dot io via Libabigail a =C3=A9crit: > Frustratingly I've nuked my local build environment for this, but I shoul= d be > able to kick off another build this evening. It should also be reasonably > straightforward to extent the CI to include this additional debuginfo wit= hin > the tarball. No problem, thank you for following up. > Is there an easy way to programmatically extract the path to the alternate > debuginfo file? I've tested with `objdump -Wk ` which gets = me > something I can run a regex match against, but I'm wondering if there's > something more direct. So, here is maybe a starting point. the ".gnu_debugaltlink" section of the main debuginfo file contains the path to the alternate debuginfo file. Let's examine the section headers of the of the main debuginfo file and see if the .gnu_debugaltlink section is in there: $ readelf -S libsqlite3.so.0.8.6.debug | grep .gnu_debugaltlink [35] .gnu_debugaltlink PROGBITS 0000000000000000 00201f1c Right it's in there. Now, let's read its content, as a string: $ readelf --string-dump=3D.gnu_debugaltlink libsqlite3.so.0.8.6.debug= =20 String dump of section '.gnu_debugaltlink': [ 0]=20 /usr/lib/debug/dwz/components/sqlite.bst/x86_64-unknown-linux-gnu [ 42] ;?^UW+%^[w^\E^AC^K^: $=20 I hope the above is useful. Thanks again! --=20 You are receiving this mail because: You are on the CC list for the bug.=