Bug 1708786 - rpm debugedit doesn't handle -g3 .debug_macro output
Summary: rpm debugedit doesn't handle -g3 .debug_macro output
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 31
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Mark Wielaard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1535174
TreeView+ depends on / blocked
 
Reported: 2019-05-10 20:46 UTC by Mark Wielaard
Modified: 2019-08-28 11:22 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-28 11:22:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
IBM Linux Technology Center 177580 0 None None None 2019-07-31 21:36:07 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.