Skip to contentSkip to conversation

qemu: add PACKAGECONFIG for debuginfo support

PATCH New [email protected] 1 participant 1 message May 16, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu: add PACKAGECONFIG for debuginfo support

From: Ross Burton <[email protected]>

qemu was auto-detecting the presence of libdw from elfutils, which causes problems with a sstate object for qemu-native built with libdw is ran on a machine without libdw.

We have no need for the debuginfo support to be enabled, so disable this by default.

---
 meta/recipes-devtools/qemu/qemu.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/qemu/qemu.inc +1 -0
index 394fa2acabf..a87dee5c996 100644
@@ -224,6 +224,7 @@ PACKAGECONFIG[vde] = "--enable-vde,--disable-vde"
 PACKAGECONFIG[slirp] = "--enable-slirp,--disable-slirp,libslirp"
 PACKAGECONFIG[brlapi] = "--enable-brlapi,--disable-brlapi"
 PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack,"
+PACKAGECONFIG[debuginfo] = "--enable-libdw,--disable-libdw,elfutils"
 
 INSANE_SKIP:${PN} = "arch"
 
Signature · 1 line
2.34.1