diff options
author | Jose Quaresma <quaresma.jose@gmail.com> | 2024-02-14 13:43:24 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-15 09:18:09 +0000 |
commit | 46fb0082dda20f1c07a5308d068fe41b0c2787f2 (patch) | |
tree | e2393631075807660b7f59b401f22311634480f8 /meta/recipes-devtools/qemu/qemu.inc | |
parent | 54f660a5f6656b5091e3b9b58b6a59f3e1fa3dda (diff) | |
download | poky-46fb0082dda20f1c07a5308d068fe41b0c2787f2.tar.gz |
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
(From OE-Core rev: c2524614e49aee95b23d7bc162b1a30dee8cf59c)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu.inc')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 2a81870151..5d953e5ef5 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc | |||
@@ -126,6 +126,7 @@ EXTRA_OECONF = " \ | |||
126 | --disable-download \ | 126 | --disable-download \ |
127 | --disable-docs \ | 127 | --disable-docs \ |
128 | --host-cc='${BUILD_CC}' \ | 128 | --host-cc='${BUILD_CC}' \ |
129 | --disable-af-xdp \ | ||
129 | ${PACKAGECONFIG_CONFARGS} \ | 130 | ${PACKAGECONFIG_CONFARGS} \ |
130 | " | 131 | " |
131 | 132 | ||