Bug 2033627

Summary: Include fix for DWARF decoding issue in devtoolset-10-binutils
Product: Red Hat Developer Toolset Reporter: simon.giesecke
Component: binutilsAssignee: Nick Clifton <nickc>
Status: CLOSED ERRATA QA Contact: Martin Cermak <mcermak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: DTS 10.1 RHEL 7CC: bmikulov, mcermak, mnewsome, mpolacek, mprchlik, ohudlick, sipoyare
Target Milestone: alphaKeywords: Bugfix, Triaged
Target Release: 10.1Flags: pm-rhel: mirror+
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: devtoolset-10-binutils-2.35-5.el7.4 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-10 17:17:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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