Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/57101 _Compilation issues_ Submitter: JinYu Date: 2019-07-25 21:23:34 Reply_mail: 20190725212335.9675-2-jin.yu@intel.com DPDK git baseline: Repo:dpdk-next-virtio, CommitID: f6c689dc3d103490b2712471d14d91e179a2d66d Makefile build Summary: 22 Builds Done, 18 Successful, 4 Failures meson build Summary: 8 Builds Done, 6 Successful, 2 Failures Test environment and configuration as below: ** Makefile build ** OS: RHEL76-64 Kernel Version: 3.10.0-957.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Clang Version: NA x86_64-native-linuxapp-gcc OS: CENTOS76-64 Kernel Version: 3.10.0-957.10.1.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-icc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: UB1904-64 Kernel Version: 5.0.0-13-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0 Clang Version: 8.0.0-3 (tags/RELEASE_800/final) x86_64-native-linuxapp-gcc OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) i686-native-linuxapp-gcc OS: UB1604-64 Kernel Version: 4.4.0-47-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: FC30-64 Kernel Version: 5.1.7-300.fc30.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1) Clang Version: 8.0.0 (Fedora 8.0.0-1.fc30) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: FreeBSD12-64 Kernel Version: 12.0-RC3 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.98-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 7.3.0 Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) x86_64-native-bsdapp-gcc+debug x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc OS: RHEL80-64 Kernel Version: 4.18.0-80.el8.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: NA x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-icc x86_64-native-linuxapp-gcc OS: SUSE15-64 Kernel Version: 4.12.14-lp150.11-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang ** meson build ** OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-doc build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: FC30-64 Kernel Version: 5.0.9-301.fc30.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1) Clang Version: 8.0.0 (Fedora 8.0.0-1.fc30) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: WIN10-64 Kernel Version: N/A CPU info: N/A GCC Version: N/A Clang Version: Clang 8.0.0 x86_64-windows-clang OS: FreeBSD12-64 Kernel Version: 12.0-RC3 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.99-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 7.3.0 Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: RHEL80-64 Kernel Version: 4.18.0-80.el8.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: NA build-gcc-static build-gcc-shared build-x86-default OS: SUSE15-64 Kernel Version: 4.12.14-lp150.11-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default *Make Build Failed #1: OS: UB1604-32 Target: i686-native-linuxapp-gcc make[5]: warning: Clock skew detected. Your build may be incomplete. CC rte_port_ras.o /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/lib/librte_vhost/vhost_user.c: At top level: cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ [-Werror] cc1: all warnings being treated as errors /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'vhost_user.o' failed make[5]: *** [vhost_user.o] Error 1 make[5]: *** Waiting for unfinished jobs.... CC rte_port_sched.o CC rte_port_fd.o CC rte_port_source_sink.o CC rte_port_sym_crypto.o -- CC rte_table_hash_key32.o CC rte_table_hash_ext.o CC rte_table_hash_lru.o CC rte_table_array.o CC rte_table_stub.o /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/rte.subdir.mk:35: recipe for target 'librte_vhost' failed make[4]: *** [librte_vhost] Error 2 make[4]: *** Waiting for unfinished jobs.... AR librte_table.a INSTALL-LIB librte_table.a /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'lib' failed make[3]: *** [lib] Error 2 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed make: *** [install] Error 2 *Make Build Failed #2: OS: UB1904-64 Target: x86_64-native-linuxapp-gcc /usr/include/linux/virtio_ring.h:196:8: note: originally defined here struct vring_packed_desc_event { ^~~~~~~~~~~~~~~~~~~~~~~ cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ [-Werror] cc1: all warnings being treated as errors make[5]: *** [/tmp/UB1904-64_K4.18.0_GCC8.3.0/x86_64-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/internal/rte.compile-pre.mk:116: iotlb.o] Error 1 make[5]: *** Waiting for unfinished jobs.... CC vhost.o == Build lib/librte_gso CC rte_event_timer_adapter.o CC gro_vxlan_tcp4.o -- /usr/include/linux/virtio_ring.h:196:8: note: originally defined here struct vring_packed_desc_event { ^~~~~~~~~~~~~~~~~~~~~~~ cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ [-Werror] cc1: all warnings being treated as errors make[5]: *** [/tmp/UB1904-64_K4.18.0_GCC8.3.0/x86_64-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/internal/rte.compile-pre.mk:116: vhost.o] Error 1 CC rte_event_crypto_adapter.o In file included from /tmp/UB1904-64_K4.18.0_GCC8.3.0/x86_64-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/lib/librte_vhost/vhost.h:23, from /tmp/UB1904-64_K4.18.0_GCC8.3.0/x86_64-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/lib/librte_vhost/socket.c:22: /tmp/UB1904-64_K4.18.0_GCC8.3.0/x86_64-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/lib/librte_vhost/rte_vhost.h:153:8: error: redefinition of ‘struct vring_packed_desc’ struct vring_packed_desc { -- /usr/include/linux/virtio_ring.h:196:8: note: originally defined here struct vring_packed_desc_event { ^~~~~~~~~~~~~~~~~~~~~~~ cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ [-Werror] cc1: all warnings being treated as errors make[5]: *** [/tmp/UB1904-64_K4.18.0_GCC8.3.0/x86_64-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/internal/rte.compile-pre.mk:116: socket.o] Error 1 CC rte_event_eth_tx_adapter.o AR librte_distributor.a INSTALL-LIB librte_distributor.a make[5]: warning: Clock skew detected. Your build may be incomplete. CC rte_ipv4_reassembly.o -- CC esp_outb.o CC bpf_validate.o INSTALL-LIB librte_ip_frag.a AR librte_gso.a make[5]: warning: Clock skew detected. Your build may be incomplete. make[4]: *** [/tmp/UB1904-64_K4.18.0_GCC8.3.0/x86_64-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/rte.subdir.mk:35: librte_vhost] Error 2 make[4]: *** Waiting for unfinished jobs.... INSTALL-LIB librte_gso.a CC bpf_jit_x86.o == Build lib/librte_port CC sa.o -- AR librte_ipsec.a INSTALL-LIB librte_ipsec.a make[5]: warning: Clock skew detected. Your build may be incomplete. AR librte_port.a INSTALL-LIB librte_port.a make[3]: *** [/tmp/UB1904-64_K4.18.0_GCC8.3.0/x86_64-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/rte.sdkbuild.mk:48: lib] Error 2 make[2]: *** [/tmp/UB1904-64_K4.18.0_GCC8.3.0/x86_64-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/tmp/UB1904-64_K4.18.0_GCC8.3.0/x86_64-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/tmp/UB1904-64_K4.18.0_GCC8.3.0/x86_64-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #3: OS: FC30-64 Target: x86_64-native-linuxapp-gcc from /tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/lib/librte_vhost/iotlb.h:37, from /tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/lib/librte_vhost/iotlb.c:39: /usr/include/linux/virtio_ring.h:196:8: note: originally defined here 196 | struct vring_packed_desc_event { | ^~~~~~~~~~~~~~~~~~~~~~~ make[5]: *** [/tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/internal/rte.compile-pre.mk:116: iotlb.o] Error 1 make[5]: *** Waiting for unfinished jobs.... CC rte_ipv4_reassembly.o AR librte_kni.a INSTALL-LIB librte_kni.a CC rte_ipv6_reassembly.o -- INSTALL-LIB librte_gro.a CC rte_event_eth_tx_adapter.o SYMLINK-FILE include/bpf_def.h SYMLINK-FILE include/rte_bpf.h SYMLINK-FILE include/rte_gso.h make[4]: *** [/tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/rte.subdir.mk:35: librte_vhost] Error 2 make[4]: *** Waiting for unfinished jobs.... SYMLINK-FILE include/rte_bpf_ethdev.h CC rte_gso.o CC bpf.o CC gso_common.o -- CC rte_port_sym_crypto.o AR librte_bpf.a INSTALL-LIB librte_bpf.a AR librte_port.a INSTALL-LIB librte_port.a make[3]: *** [/tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/rte.sdkbuild.mk:48: lib] Error 2 make[2]: *** [/tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #4: OS: FC30-64 Target: x86_64-native-linuxapp-clang ^ /usr/include/linux/virtio_ring.h:196:8: note: previous definition is here struct vring_packed_desc_event { ^ 2 errors generated. make[5]: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/internal/rte.compile-pre.mk:116: iotlb.o] Error 1 make[5]: *** Waiting for unfinished jobs.... CC rte_ipv4_reassembly.o CC rte_event_eth_rx_adapter.o CC rte_distributor_match_sse.o CC gro_vxlan_tcp4.o -- ^ /usr/include/linux/virtio_ring.h:196:8: note: previous definition is here struct vring_packed_desc_event { ^ 2 errors generated. make[5]: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/internal/rte.compile-pre.mk:116: socket.o] Error 1 CC rte_event_timer_adapter.o CC rte_event_crypto_adapter.o CC rte_event_eth_tx_adapter.o AR librte_pdump.a INSTALL-LIB librte_pdump.a -- CC rte_ipv6_reassembly.o CC gso_common.o CC rte_ip_frag_common.o AR librte_gro.a INSTALL-LIB librte_gro.a make[4]: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/rte.subdir.mk:37: librte_vhost] Error 2 make[4]: *** Waiting for unfinished jobs.... CC ip_frag_internal.o == Build lib/librte_bpf CC gso_tcp4.o CC gso_tunnel_tcp4.o -- INSTALL-LIB librte_gso.a AR librte_ip_frag.a INSTALL-LIB librte_ip_frag.a AR librte_bpf.a INSTALL-LIB librte_bpf.a make[3]: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/rte.sdkbuild.mk:48: lib] Error 2 make[2]: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/277ce56fa7ff429caef5b98c53411d33/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Meson Build Failed #1: OS: FC30-64 Target:build-gcc-static FAILED: lib/76b5a35@@rte_vhost@sta/librte_vhost_vdpa.c.o gcc -Ilib/76b5a35@@rte_vhost@sta -Ilib -I../lib -Ilib/librte_vhost -I../lib/librte_vhost -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_pci -I../lib/librte_pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -Wno-format-truncation -fno-strict-aliasing -DALLOW_EXPERIMENTAL_API -MD -MQ 'lib/76b5a35@@rte_vhost@sta/librte_vhost_vdpa.c.o' -MF 'lib/76b5a35@@rte_vhost@sta/librte_vhost_vdpa.c.o.d' -o 'lib/76b5a35@@rte_vhost@sta/librte_vhost_vdpa.c.o' -c ../lib/librte_vhost/vdpa.c In file included from ../lib/librte_vhost/rte_vdpa.h:17, from ../lib/librte_vhost/vdpa.c:14: ../lib/librte_vhost/rte_vhost.h:153:8: error: redefinition of ‘struct vring_packed_desc’ 153 | struct vring_packed_desc { | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/linux/vhost_types.h:17, from /usr/include/linux/vhost.h:14, from ../lib/librte_vhost/rte_vhost.h:25, from ../lib/librte_vhost/rte_vdpa.h:17, from ../lib/librte_vhost/vdpa.c:14: /usr/include/linux/virtio_ring.h:203:8: note: originally defined here 203 | struct vring_packed_desc { | ^~~~~~~~~~~~~~~~~ In file included from ../lib/librte_vhost/rte_vdpa.h:17, from ../lib/librte_vhost/vdpa.c:14: ../lib/librte_vhost/rte_vhost.h:167:8: error: redefinition of ‘struct vring_packed_desc_event’ 167 | struct vring_packed_desc_event { | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/linux/vhost_types.h:17, from /usr/include/linux/vhost.h:14, from ../lib/librte_vhost/rte_vhost.h:25, from ../lib/librte_vhost/rte_vdpa.h:17, from ../lib/librte_vhost/vdpa.c:14: /usr/include/linux/virtio_ring.h:196:8: note: originally defined here 196 | struct vring_packed_desc_event { | ^~~~~~~~~~~~~~~~~~~~~~~ [291/1784] Compiling C object 'lib/76b5a35@@rte_sched@sta/librte_sched_rte_sched.c.o'. [292/1784] Compiling C object 'lib/76b5a35@@rte_vhost@sta/librte_vhost_iotlb.c.o'. FAILED: lib/76b5a35@@rte_vhost@sta/librte_vhost_iotlb.c.o gcc -Ilib/76b5a35@@rte_vhost@sta -Ilib -I../lib -Ilib/librte_vhost -I../lib/librte_vhost -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_pci -I../lib/librte_pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -Wno-format-truncation -fno-strict-aliasing -DALLOW_EXPERIMENTAL_API -MD -MQ 'lib/76b5a35@@rte_vhost@sta/librte_vhost_iotlb.c.o' -MF 'lib/76b5a35@@rte_vhost@sta/librte_vhost_iotlb.c.o.d' -o 'lib/76b5a35@@rte_vhost@sta/librte_vhost_iotlb.c.o' -c ../lib/librte_vhost/iotlb.c In file included from ../lib/librte_vhost/vhost.h:23, from ../lib/librte_vhost/iotlb.h:37, from ../lib/librte_vhost/iotlb.c:39: ../lib/librte_vhost/rte_vhost.h:153:8: error: redefinition of ‘struct vring_packed_desc’ 153 | struct vring_packed_desc { | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/linux/vhost_types.h:17, from /usr/include/linux/vhost.h:14, from ../lib/librte_vhost/vhost.h:13, from ../lib/librte_vhost/iotlb.h:37, from ../lib/librte_vhost/iotlb.c:39: /usr/include/linux/virtio_ring.h:203:8: note: originally defined here 203 | struct vring_packed_desc { | ^~~~~~~~~~~~~~~~~ In file included from ../lib/librte_vhost/vhost.h:23, from ../lib/librte_vhost/iotlb.h:37, from ../lib/librte_vhost/iotlb.c:39: ../lib/librte_vhost/rte_vhost.h:167:8: error: redefinition of ‘struct vring_packed_desc_event’ 167 | struct vring_packed_desc_event { | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/linux/vhost_types.h:17, from /usr/include/linux/vhost.h:14, from ../lib/librte_vhost/vhost.h:13, from ../lib/librte_vhost/iotlb.h:37, from ../lib/librte_vhost/iotlb.c:39: /usr/include/linux/virtio_ring.h:196:8: note: originally defined here 196 | struct vring_packed_desc_event { | ^~~~~~~~~~~~~~~~~~~~~~~ [293/1784] Generating symbol file 'lib/76b5a35@@rte_security@sha/librte_security.so.2.1.symbols'. [294/1784] Compiling C object 'lib/76b5a35@@rte_vhost@sta/librte_vhost_socket.c.o'. FAILED: lib/76b5a35@@rte_vhost@sta/librte_vhost_socket.c.o gcc -Ilib/76b5a35@@rte_vhost@sta -Ilib -I../lib -Ilib/librte_vhost -I../lib/librte_vhost -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_pci -I../lib/librte_pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -Wno-format-truncation -fno-strict-aliasing -DALLOW_EXPERIMENTAL_API -MD -MQ 'lib/76b5a35@@rte_vhost@sta/librte_vhost_socket.c.o' -MF 'lib/76b5a35@@rte_vhost@sta/librte_vhost_socket.c.o.d' -o 'lib/76b5a35@@rte_vhost@sta/librte_vhost_socket.c.o' -c ../lib/librte_vhost/socket.c In file included from ../lib/librte_vhost/vhost.h:23, from ../lib/librte_vhost/socket.c:22: ../lib/librte_vhost/rte_vhost.h:153:8: error: redefinition of ‘struct vring_packed_desc’ 153 | struct vring_packed_desc { | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/linux/vhost_types.h:17, from /usr/include/linux/vhost.h:14, from ../lib/librte_vhost/vhost.h:13, from ../lib/librte_vhost/socket.c:22: /usr/include/linux/virtio_ring.h:203:8: note: originally defined here 203 | struct vring_packed_desc { | ^~~~~~~~~~~~~~~~~ In file included from ../lib/librte_vhost/vhost.h:23, from ../lib/librte_vhost/socket.c:22: ../lib/librte_vhost/rte_vhost.h:167:8: error: redefinition of ‘struct vring_packed_desc_event’ 167 | struct vring_packed_desc_event { | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/linux/vhost_types.h:17, from /usr/include/linux/vhost.h:14, from ../lib/librte_vhost/vhost.h:13, from ../lib/librte_vhost/socket.c:22: /usr/include/linux/virtio_ring.h:196:8: note: originally defined here 196 | struct vring_packed_desc_event { | ^~~~~~~~~~~~~~~~~~~~~~~ [295/1784] Generating symbol file 'lib/76b5a35@@rte_stack@sha/librte_stack.so.1.1.symbols'. [296/1784] Compiling C object 'lib/76b5a35@@rte_vhost@sta/librte_vhost_vhost.c.o'. FAILED: lib/76b5a35@@rte_vhost@sta/librte_vhost_vhost.c.o gcc -Ilib/76b5a35@@rte_vhost@sta -Ilib -I../lib -Ilib/librte_vhost -I../lib/librte_vhost -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_pci -I../lib/librte_pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -Wno-format-truncation -fno-strict-aliasing -DALLOW_EXPERIMENTAL_API -MD -MQ 'lib/76b5a35@@rte_vhost@sta/librte_vhost_vhost.c.o' -MF 'lib/76b5a35@@rte_vhost@sta/librte_vhost_vhost.c.o.d' -o 'lib/76b5a35@@rte_vhost@sta/librte_vhost_vhost.c.o' -c ../lib/librte_vhost/vhost.c In file included from ../lib/librte_vhost/vhost.c:21: ../lib/librte_vhost/rte_vhost.h:153:8: error: redefinition of ‘struct vring_packed_desc’ 153 | struct vring_packed_desc { | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/linux/vhost_types.h:17, from /usr/include/linux/vhost.h:14, from ../lib/librte_vhost/vhost.c:5: /usr/include/linux/virtio_ring.h:203:8: note: originally defined here 203 | struct vring_packed_desc { | ^~~~~~~~~~~~~~~~~ In file included from ../lib/librte_vhost/vhost.c:21: ../lib/librte_vhost/rte_vhost.h:167:8: error: redefinition of ‘struct vring_packed_desc_event’ 167 | struct vring_packed_desc_event { | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/linux/vhost_types.h:17, from /usr/include/linux/vhost.h:14, from ../lib/librte_vhost/vhost.c:5: /usr/include/linux/virtio_ring.h:196:8: note: originally defined here 196 | struct vring_packed_desc_event { | ^~~~~~~~~~~~~~~~~~~~~~~ [297/1784] Generating symbol file 'lib/76b5a35@@rte_reorder@sha/librte_reorder.so.1.1.symbols'. ninja: build stopped: subcommand failed *Meson Build Failed #2: OS: UB1604-32 Target:build-gcc-static FAILED: lib/76b5a35@@rte_vhost@sta/librte_vhost_vhost_user.c.o gcc -Ilib/76b5a35@@rte_vhost@sta -Ilib -I../lib -Ilib/librte_vhost -I../lib/librte_vhost -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_pci -I../lib/librte_pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-pointer-to-int-cast -D_GNU_SOURCE -fPIC -march=native -fno-strict-aliasing -DALLOW_EXPERIMENTAL_API -MD -MQ 'lib/76b5a35@@rte_vhost@sta/librte_vhost_vhost_user.c.o' -MF 'lib/76b5a35@@rte_vhost@sta/librte_vhost_vhost_user.c.o.d' -o 'lib/76b5a35@@rte_vhost@sta/librte_vhost_vhost_user.c.o' -c ../lib/librte_vhost/vhost_user.c In file included from ../lib/librte_eal/common/include/rte_bus.h:52:0, from ../lib/librte_eal/common/include/rte_eal.h:21, from ../lib/librte_eal/common/include/rte_lcore.h:16, from ../lib/librte_eal/common/include/generic/rte_spinlock.h:21, from ../lib/librte_eal/common/include/arch/x86/rte_spinlock.h:12, from ../lib/librte_eal/common/include/arch/x86/rte_rwlock.h:13, from ../lib/librte_eal/common/include/rte_fbarray.h:40, from ../lib/librte_eal/common/include/rte_memory.h:25, from ../lib/librte_eal/common/include/rte_malloc.h:17, from ../lib/librte_vhost/vhost_user.c:44: ../lib/librte_vhost/vhost_user.c: In function ‘vhost_user_get_inflight_fd’: ../lib/librte_vhost/vhost_user.c:1319:35: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] msg->payload.inflight.mmap_size); ^ ../lib/librte_eal/common/include/rte_log.h:324:25: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ ../lib/librte_vhost/vhost_user.c:1322:37: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] msg->payload.inflight.mmap_offset); ^ ../lib/librte_eal/common/include/rte_log.h:324:25: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ ../lib/librte_vhost/vhost_user.c: In function ‘vhost_user_set_inflight_fd’: ../lib/librte_vhost/vhost_user.c:1360:48: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] "set_inflight_fd mmap_size: %lu\n", mmap_size); ^ ../lib/librte_eal/common/include/rte_log.h:324:25: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ ../lib/librte_vhost/vhost_user.c:1362:52: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] "set_inflight_fd mmap_offset: %lu\n", mmap_offset); ^ ../lib/librte_eal/common/include/rte_log.h:324:25: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ cc1: all warnings being treated as errors [306/1656] Compiling C object 'lib/76b5a35@@rte_ipsec@sta/librte_ipsec_sa.c.o'. [307/1656] Compiling C object 'lib/76b5a35@@rte_ipsec@sta/librte_ipsec_esp_inb.c.o'. [308/1656] Compiling C object 'lib/76b5a35@@rte_ipsec@sta/librte_ipsec_esp_outb.c.o'. [309/1656] Compiling C object 'lib/76b5a35@@rte_vhost@sta/librte_vhost_vhost_crypto.c.o'. [310/1656] Compiling C object 'lib/76b5a35@@rte_vhost@sta/librte_vhost_virtio_net.c.o'. ninja: build stopped: subcommand failed DPDK STV team