Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911306 - dev-util/debugedit-5.0-r1 doesn't work with FEATURES="installsources" when compile w/ clang
Summary: dev-util/debugedit-5.0-r1 doesn't work with FEATURES="installsources" when co...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-27 07:58 UTC by Zhixu Liu
Modified: 2023-09-17 09:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zhixu Liu 2023-07-27 07:58:10 UTC
for example, when build app-arch/cpio with CC=clang

/usr/bin/debugedit: /var/tmp/portage/app-arch/cpio-2.14/image/bin/gcpio: Unknown DWARF DW_FORM_0x25

which will cause installsources not working. This had been reported in https://sourceware.org/bugzilla/show_bug.cgi?id=28728 , but seems have not been fixed yet?

Reproducible: Always
Comment 1 Arniii 2023-09-17 09:55:53 UTC
make.conf : http://0x0.st/HOcW.conf 
summary : clang profile + lto + O3 + native + debug symbols + splitdebug + compressdebug + installsources

emerge's build log: http://0x0.st/HOAn.log 
 
/usr/bin/debugedit: /var/tmp/portage/x11-libs/libXaw-1.0.15/image/usr/lib64/libXaw7.so.7.0.0: Unknown DWARF DW_FORM_0x25

right now (not) solved by adding -gdwarf-4 -fdebug-default-version=4 as compilation flags for clang.