Bug 2033627 - Include fix for DWARF decoding issue in devtoolset-10-binutils
Summary: Include fix for DWARF decoding issue in devtoolset-10-binutils
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Developer Toolset
Classification: Red Hat
Component: binutils
Version: DTS 10.1 RHEL 7
Hardware: All
OS: Unspecified
unspecified
unspecified
Target Milestone: alpha
: 10.1
Assignee: Nick Clifton
QA Contact: Martin Cermak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-17 13:34 UTC by simon.giesecke
Modified: 2022-02-10 17:17 UTC (History)
7 users (show)

Fixed In Version: devtoolset-10-binutils-2.35-5.el7.4
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-10 17:17:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker DTS-306 0 None None None 2021-12-17 13:36:55 UTC
Red Hat Product Errata RHBA-2022:0506 0 None None None 2022-02-10 17:17:18 UTC

Description simon.giesecke 2021-12-17 13:34:02 UTC
Description of problem:

addr2line shows DWARF errors ("DWARF error: could not find variable specification at offset ...")

There's a fix in binutils 2.35: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=269d40a2ef3b020b5beb3f3de5b8e909c43ab53b

Version-Release number of selected component (if applicable):

2.35-5.el7.2

How reproducible:

I have no public reproduction at hand, but this seems to be a known issue: https://sourceware.org/bugzilla/show_bug.cgi?id=26520

Comment 1 Nick Clifton 2021-12-17 14:37:55 UTC
(In reply to simon.giesecke from comment #0)
Hi Simon,

> There's a fix in binutils 2.35:

Given that DTS-11 is based upon version 2.36.1 which already contains the fix for this problem, do you really think that there is a need to backport a patch to DTS-10.1 ?  It would mean creating a z-stream release for DTS-10.1 and the issue does not seem to be that serious to me.

Comment 2 simon.giesecke 2021-12-17 15:35:55 UTC
I am not sure we could easily use devtoolset-11-binutils right now, the upgrade to devtoolset-10 took quite some preparation.

I was initially assuming that this is a fatal error, but although it says "DWARF error", it's actually a non-fatal warning. I guess it's possible to work around this unexpected output.

Comment 3 Nick Clifton 2022-01-11 16:16:46 UTC
OK then.  In which case I have applied the patch to:

  devtoolset-10-binutils-2.35-5.el7.4

Comment 7 Miloš Prchlík 2022-02-10 12:20:17 UTC
I'm afraid the best I can do here is SanityOnly verification:

* the only available reproducers, i.e. object files binutils stumble over, are limited to arm, which prevents me from actually reproducing the issue since there are no devtoolset-10-binutils for arm.
* patch's been applied correctly, there were no regressions.

Comment 11 errata-xmlrpc 2022-02-10 17:17:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (devtoolset-10-binutils bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:0506


Note You need to log in before you can comment on or make changes to this bug.