]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
qemu: disbale AF_XDP network backend support
authorJose Quaresma <quaresma.jose@gmail.com>
Wed, 14 Feb 2024 13:43:24 +0000 (13:43 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 15 Feb 2024 09:17:40 +0000 (09:17 +0000)
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 <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/qemu/qemu.inc

index 2a818701513732b7c54fc6830d53d5db480690c4..5d953e5ef567f0061a382d70ecd96f7b182dd045 100644 (file)
@@ -126,6 +126,7 @@ EXTRA_OECONF = " \
     --disable-download \
     --disable-docs \
     --host-cc='${BUILD_CC}' \
+    --disable-af-xdp \
     ${PACKAGECONFIG_CONFARGS} \
     "