Bug 1472969

Summary: [LLNL 7.5 Bug] DWARF5 support in eu-readelf
Product: Red Hat Enterprise Linux 7 Reporter: Ben Woodard <woodard>
Component: elfutilsAssignee: Mark Wielaard <mjw>
Status: CLOSED ERRATA QA Contact: Martin Cermak <mcermak>
Severity: unspecified Docs Contact: Vladimír Slávik <vslavik>
Priority: unspecified    
Version: 7.5CC: bgollahe, law, mbenitez, mcermak, mjw, nickc, ohudlick, qe-baseos-tools-bugs, tgummels, vslavik
Target Milestone: rcKeywords: Rebase
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: elfutils-0.170-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1472955
: 1472971 1472979 (view as bug list) Environment:
Last Closed: 2018-04-10 16:17:17 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:
Bug Depends On: 1472955, 1472978    
Bug Blocks: 1432486, 1471969, 1472966, 1472971, 1472979, 1522983    

Comment 2 Mark Wielaard 2017-10-16 07:46:19 UTC
The correct upstream bug is https://sourceware.org/bugzilla/show_bug.cgi?id=21792 which has been resolved for the 0.170 release:

Although it isn't full DWARF5 support all DWARF5 tags and attributes are recognized in 0.170. From the NEWS file:

Version 0.170

libdw: Added new DWARF5 attribute, tag, character encoding, language code,
       calling convention, defaulted member function and macro constants
       to dwarf.h.
       New functions dwarf_default_lower_bound and dwarf_line_file.
       dwarf_peel_type now handles DWARF5 immutable, packed and shared tags.
       dwarf_getmacros now handles DWARF5 .debug_macro sections.

And the above example now shows:

 [   7e1]      namespace
               name                 (strp) "__cxx11"
               decl_file            (data1) 1
               decl_line            (data2) 2214
               export_symbols       (flag_present) yes

Comment 9 Martin Cermak 2018-01-08 09:38:59 UTC
Rebase testing finished with elfutils-0.170-4.el7.

Comment 12 errata-xmlrpc 2018-04-10 16:17:17 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, and where to find the updated
files, follow the link below.

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