From: Jose Quaresma Date: Wed, 14 Feb 2024 13:43:24 +0000 (+0000) Subject: qemu: disbale AF_XDP network backend support X-Git-Tag: uninative-4.4~126 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c2524614e49aee95b23d7bc162b1a30dee8cf59c;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git qemu: disbale AF_XDP network backend support This fix some host contaminations issues: | /poky/build/tmp/hosttools/ld.bfd: libcommon.fa.p/net_af-xdp.c.o: undefined reference to symbol 'bpf_xdp_detach@@LIBBPF_0.7.0' | /poky/build/tmp/hosttools/ld.bfd: /usr/lib/libbpf.so.1: error adding symbols: DSO missing from command line | collect2: error: ld returned 1 exit status The AF_XDP network backend support [1] requires the libxdp that is not available in any layer, otherwise you can configure this option: | PACKAGECONFIG[af-xdp] = "--enable-af-xdp,--disable-af-xdp,libxdp" [1] https://github.com/qemu/qemu/commit/cb039ef3d9e3112da01e1ecd9b136ac9809ef733 Signed-off-by: Jose Quaresma Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 2a818701513..5d953e5ef56 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc @@ -126,6 +126,7 @@ EXTRA_OECONF = " \ --disable-download \ --disable-docs \ --host-cc='${BUILD_CC}' \ + --disable-af-xdp \ ${PACKAGECONFIG_CONFARGS} \ "