Bug 759272

Summary: /usr/lib/rpm/debugedit: Unknown debugging section .debug_macro
Product: [Fedora] Fedora Reporter: Vedran Miletić <vedran>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16CC: dkenshin, ffesti, jan.kratochvil, jnovy, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-11 06:48:32 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 fix. none

Description Vedran Miletić 2011-12-01 20:33:01 UTC
http://fedoraproject.org/wiki/Features/Ns3

I'm getting errors like:

+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id /home/vedranm/rpmbuild/BUILD/ns-allinone-3.13/ns-3.13
extracting debug info from /home/vedranm/rpmbuild/BUILDROOT/ns-3.13-0.20111201hg7608.fc16.x86_64/usr/lib64/libns3-internet.so.3.13
/usr/lib/rpm/debugedit: /home/vedranm/rpmbuild/BUILDROOT/ns-3.13-0.20111201hg7608.fc16.x86_64/usr/lib64/libns3-internet.so.3.13: Unknown debugging section .debug_macro
extracting debug info from /home/vedranm/rpmbuild/BUILDROOT/ns-3.13-0.20111201hg7608.fc16.x86_64/usr/lib64/libns3-propagation.so.3.13
/usr/lib/rpm/debugedit: /home/vedranm/rpmbuild/BUILDROOT/ns-3.13-0.20111201hg7608.fc16.x86_64/usr/lib64/libns3-propagation.so.3.13: Unknown debugging section .debug_macro

Comment 1 Jan Kratochvil 2012-02-07 23:34:07 UTC
You have bug in your .spec file as default rpmbuild CFLAGS do not use -g3.
Default -g (equivalent to -g2) does not produce macro information.

Comment 2 Jan Kratochvil 2012-02-07 23:35:12 UTC
Created attachment 560089 [details]
debugedit fix.

Still this is a bug in debugedit as it should be able to process the new format of macro information.
The patch is untested but there is no need to adjust .debug_macro content.

Comment 3 Panu Matilainen 2012-05-11 06:48:32 UTC
Fixed upstream in rpm >= 4.10 in current rawhide. Given that it only occurs on non-standard -g option (ie packaging bug in Fedora context), doesn't seem worth a specific update to F16 and all.

Comment 4 YOUNGSOO CHOI 2016-11-28 13:18:51 UTC
Hello, I'm working on building c++ source, using gcc option |-gsplit-dwarf| and |-g2| to use debug fission on gbs build system that generates rpm files.

Unfortunately, I faced with following warnings during extracting debug info.
Could anybody please help me?

>> [ 1452s] extracting debug info from XXX
>> [ 1452s] /usr/lib/rpm/debugedit: XXX: Unknown debugging section .debug_addr