On Tue, Mar 04, 2025 at 11:44:18AM +0000, Daniel P. Berrangé wrote:
> The QEMU community is discussing possible use of -gsplit-dwarf as a default
> option for QEMU's build system:
> 
>  https://lists.nongnu.org/archive/html/qemu-devel/2025-03/msg00424.html
> 
> This option causes debug symbols to be written to separate .dwo files
> instead of the .o files or final executables.

Don't.
-gsplit-dwarf is something to get faster link times at the expense of slower
debugging and more files around.
So, it can be useful for fast modify/rebuild/test cycles during development,
but is something that is really undesirable for the distro builds.
There you don't mind slightly longer link times, that is done once per
build, but having to ship larger debug info and especially when it is split
into hundreds or thousands of small files is then a price everybody who
downloads the package debuginfo pays.
debugedit can't deal with it, dwz can't either, in order to ship something
reasonable one would need to dwp the separate debug info back into the
normal debug info.

        Jakub

-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to