Bug 759272 - /usr/lib/rpm/debugedit: Unknown debugging section .debug_macro
Summary: /usr/lib/rpm/debugedit: Unknown debugging section .debug_macro
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 16
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-01 20:33 UTC by Vedran Miletić
Modified: 2016-11-28 13:18 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-11 06:48:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
debugedit fix. (754 bytes, patch)
2012-02-07 23:35 UTC, Jan Kratochvil
no flags Details | Diff

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


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