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
(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.
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.
OK then. In which case I have applied the patch to: devtoolset-10-binutils-2.35-5.el7.4
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.
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