Bug 1708786

Summary: rpm debugedit doesn't handle -g3 .debug_macro output
Product: [Fedora] Fedora Reporter: Mark Wielaard <mjw>
Component: rpmAssignee: Mark Wielaard <mjw>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 31CC: bugproxy, dan, hannsj_uhl, igor.raits, jan.kratochvil, mjw, packaging-team-maint, pmatilai, pmoravco, sergiodj, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-28 11:22:10 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:    
Bug Blocks: 1535174    

Description Mark Wielaard 2019-05-10 20:46:29 UTC
rpm debugedit might corrupt the debug file strings when source files have been build with gcc -g3 which generates a .debug_macro section which shares strings with the .debuginfo section.

The current workaround is simply to not build with -g3, but use -g (which is the default).

Comment 1 Mark Wielaard 2019-06-17 09:25:23 UTC
Patch posted upstream: http://lists.rpm.org/pipermail/rpm-maint/2019-June/010344.html

Comment 2 Panu Matilainen 2019-06-20 09:44:21 UTC
Merged via https://github.com/rpm-software-management/rpm/pull/754 so it'll land when 4.15 beta lands in rawhide (should be next week)

Comment 3 Ben Cotton 2019-08-13 16:47:48 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 4 Panu Matilainen 2019-08-28 11:22:10 UTC
Fixed as of rpm >= 4.15.0-beta in rawhide and F31

Comment 5 Panu Matilainen 2019-08-28 11:22:43 UTC
Oops, wrong resolution.