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...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
Depends on:
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: ---


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 , but seems have not been fixed yet?

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

emerge's build log: 
/usr/bin/debugedit: /var/tmp/portage/x11-libs/libXaw-1.0.15/image/usr/lib64/ Unknown DWARF DW_FORM_0x25

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