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.

I tested a Fedora RPM build with this set and somewhat unsurprisingly
it appears breaks the creation of debuginfo packages.

The kernel can use -gsplit-dwarf but they've hidden it behind a Kconfig
option that Fedora's kernel packages don't turn on.

Does anyone have any experiance with -gsplit-dwarf from other packages
in Fedora. Is this is a showstopper for -debuginfo package creation,
or is there an easy fix I don't know about (aside from patching QEMU
to remove -gsplit-dwarf from CFLAGS downstream of course).

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

-- 
_______________________________________________
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