Bug 1472979

Summary: DWARF5 support in eu-readelf
Product: Red Hat Developer Toolset Reporter: Ben Woodard <woodard>
Component: elfutilsAssignee: Mark Wielaard <mjw>
Status: CLOSED ERRATA QA Contact: Martin Cermak <mcermak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: DTS 7.0 RHEL 7CC: bgollahe, jakub, kanderso, law, mcermak, mjw, mnewsome, nickc, ohudlick, qe-baseos-tools-bugs, tgummels
Target Milestone: alpha   
Target Release: 7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: devtoolset-7-elfutils-0.170-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1472969 Environment:
Last Closed: 2017-10-24 09:46:09 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:
Bug Depends On: 1472955, 1472969, 1472978    
Bug Blocks: 1472966, 1472971    

Comment 2 Ben Woodard 2017-07-19 17:39:18 UTC
After talking to mjw we decided that it was best to deliver this first in DTS and then later in RHEL.

Comment 3 Mark Wielaard 2017-08-03 12:32:42 UTC
elfutils 0.170 was released with partial DWARF5 support:

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.

This isn't full DWARF5 support, but it is all the DWARF5 you can encounter in "non-strict" DWARF mode (aka DWARF4 plus extensions that don't alter any data structures/forms). Which is enough for purposes of this bug/feature.

Comment 5 Martin Cermak 2017-09-15 15:05:31 UTC
Made sure elfutils-0.168-8.el7 do not have the minimal DWARF5 support in terms of attached testcase 560859, and verified, that this minimal support is in place within devtoolset-7-elfutils-0.170-1.el{6,7}

Comment 7 errata-xmlrpc 2017-10-24 09:46:09 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.

https://access.redhat.com/errata/RHEA-2017:3010