Bug 707677

Summary: debugedit doesn't support DWARF 4
Product: [Fedora] Fedora Reporter: Jakub Jelinek <jakub>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ffesti, jan.kratochvil, jnovy, mjw, pmatilai, tromey
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-26 07:24:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
debugedit-dwarf4.patch none

Description Jakub Jelinek 2011-05-25 17:12:09 UTC
Created attachment 500877 [details]
debugedit-dwarf4.patch

We'd like to turn on -gdwarf-4 by default for f16 in the next few days (currently gcc defaults to -gdwarf-3), unfortunately debugedit doesn't handle DWARF 4 yet.

I'm attaching a patch which backports relevant DWARF 4 changes from prelink/src/dwarf2.c (which is the base of debugedit), tested on a few short proglets compiled with -gdwarf-4 on F15.

Additionally the patch shuts up a -Wunused-but-set-variable warning in debugedit.c.

Could this be included in rawhide rpm ASAP, so that we can enable it?  Other tools (gdb, systemtap, valgrind, prelink) already support DWARF4.

Comment 1 Panu Matilainen 2011-05-26 07:24:42 UTC
In rawhide now as of rpm-4.9.0-8.fc16 (will upstream once we see nothing blows up)