From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2A4F73851C18; Mon, 28 Dec 2020 14:33:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2A4F73851C18 From: "mark at klomp dot org" To: dwz@sourceware.org Subject: [Bug default/27115] FAIL: dwz-0.13/testsuite/dwz.tests/devel-ignore-size.sh Date: Mon, 28 Dec 2020 14:33:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: mark at klomp dot org X-Bugzilla-Status: NEW 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: everconfirmed cf_reconfirmed_on 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 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, 28 Dec 2020 14:33:08 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27115 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2020-12-28 Status|UNCONFIRMED |NEW CC| |mark at klomp dot org --- Comment #2 from Mark Wielaard --- It looks like binutils 2.35.1 readelf helpfully adds the tag (DW_TAG_partial_unit in this case) to the DW_AT_import when reporting the Abbrev Number. Older readelf produced: <0>: Abbrev Number: 17 (DW_TAG_partial_unit) <6b> DW_AT_import : <0xb> [Abbrev Number: 17] DW_AT_import : <0xb> [Abbrev Number: 17] So an workaround might be something like: diff --git a/testsuite/dwz.tests/pr24468.sh b/testsuite/dwz.tests/pr24468.sh index 4dac9a1..3b1b671 100644 --- a/testsuite/dwz.tests/pr24468.sh +++ b/testsuite/dwz.tests/pr24468.sh @@ -7,7 +7,7 @@ dwz -m 3 1 2 readelf -wi 1 > READELF 2>/dev/null -offsets=3D$(grep '(DW_TAG_partial_unit' READELF \ +offsets=3D$(grep '(DW_TAG_partial_unit' READELF | grep -v DW_AT_import \ | awk '{print $1}' \ | sed 's/.*.*//') for off in $offsets; do --=20 You are receiving this mail because: You are on the CC list for the bug.=