Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/117827 _Compilation issues_ Submitter: Stephen Hemminger Date: 2022-10-11 00:10:16 Reply_mail: <20221011001016.173447-1-stephen@networkplumber.org> DPDK git baseline: Repo:dpdk, CommitID: f2485c47f0267b2a02ebf2c1795feff6c1a44990 Meson Build Summary: 24 Builds Done, 19 Successful, 5 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FC36-64 | pass | pass | | | | | | | FreeBSD13-64 | fail | fail | | fail | fail | | | | RHEL86-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | RHEL90-64 | pass | | | | | | | | UB2004-64 | pass | pass | | | | pass | | | UB2204-32 | pass | | | | | | | | UB2204-64 | pass | pass | | | | pass | pass | | CentOS79-64 | fail | | | | | | | | RHEL86-64Rt | pass | pass | | | | | | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ Comments: Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928), All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. Test environment and configuration as below: OS: FC36-64 Kernel Version: 5.17.7-300.fc36.x86_64 GCC Version: gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1) Clang Version: 14.0.0 (Fedora 14.0.0-1.fc36) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: FreeBSD13-64 Kernel Version: 13.1-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 10.3.0 Clang Version: 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL86-64 Kernel Version: 4.18.0-372.9.1.el8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13) Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug OS: SUSE15-64 Kernel Version: 5.14.21-150400.22-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 11.0.1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: RHEL90-64 Kernel Version: 5.14.0-70.13.1.el9_0.x86_64 GCC Version: gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9) Clang Version: 13.0.1 (Red Hat 13.0.1-1.el9) x86_64-native-linuxapp-gcc OS: UB2004-64 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-doc OS: UB2204-32 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: NA i686-native-linuxapp-gcc OS: UB2204-64 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: 14.0.0-1ubuntu1 x86_64-native-linuxapp-gcc+16byte x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-doc OS: CentOS79-64 Kernel Version: 3.10.0-1160.el7.x86_64 GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc OS: RHEL86-64Rt Kernel Version: 4.18.0-372.9.1.rt7.166.el8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13) Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang *Build Failed #1: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc FAILED: drivers/libtmp_rte_net_udp.a.p/net_udp_rte_eth_udp.c.o gcc -Idrivers/libtmp_rte_net_udp.a.p -Idrivers -I../drivers -Idrivers/net/udp -I../drivers/net/udp -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.udp -MD -MQ drivers/libtmp_rte_net_udp.a.p/net_udp_rte_eth_udp.c.o -MF drivers/libtmp_rte_net_udp.a.p/net_udp_rte_eth_udp.c.o.d -o drivers/libtmp_rte_net_udp.a.p/net_udp_rte_eth_udp.c.o -c ../drivers/net/udp/rte_eth_udp.c ../drivers/net/udp/rte_eth_udp.c: In function 'parse_ipv6_address': ../drivers/net/udp/rte_eth_udp.c:75:14: error: implicit declaration of function 'strdupa'; did you mean 'strdup'? [-Werror=implicit-function-declaration] 75 | char *str = strdupa(value); | ^~~~~~~ | strdup ../drivers/net/udp/rte_eth_udp.c:75:14: error: nested extern declaration of 'strdupa' [-Werror=nested-externs] ../drivers/net/udp/rte_eth_udp.c:75:14: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] ../drivers/net/udp/rte_eth_udp.c: In function 'parse_ipv4_address': ../drivers/net/udp/rte_eth_udp.c:106:14: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 106 | char *str = strdupa(value); | ^~~~~~~ cc1: all warnings being treated as errors [1416/2068] Linking static target drivers/libtmp_rte_net_ice.a [1417/2068] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_pci.c.o [1418/2068] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [1419/2068] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx_simple.c.o [1420/2068] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx_simple_sse.c.o [1421/2068] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtqueue.c.o [1422/2068] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_ethdev.c.o [1423/2068] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o [1424/2068] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o ninja: build stopped *Build Failed #2: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-clang FAILED: drivers/libtmp_rte_net_udp.a.p/net_udp_rte_eth_udp.c.o clang -Idrivers/libtmp_rte_net_udp.a.p -Idrivers -I../drivers -Idrivers/net/udp -I../drivers/net/udp -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.udp -MD -MQ drivers/libtmp_rte_net_udp.a.p/net_udp_rte_eth_udp.c.o -MF drivers/libtmp_rte_net_udp.a.p/net_udp_rte_eth_udp.c.o.d -o drivers/libtmp_rte_net_udp.a.p/net_udp_rte_eth_udp.c.o -c ../drivers/net/udp/rte_eth_udp.c ../drivers/net/udp/rte_eth_udp.c:75:14: error: implicit declaration of function 'strdupa' is invalid in C99 [-Werror,-Wimplicit-function-declaration] char *str = strdupa(value); ^ ../drivers/net/udp/rte_eth_udp.c:75:14: note: did you mean 'strdup'? /usr/include/string.h:90:7: note: 'strdup' declared here char *strdup(const char *) __malloc_like; ^ ../drivers/net/udp/rte_eth_udp.c:75:8: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Werror,-Wint-conversion] char *str = strdupa(value); ^ ~~~~~~~~~~~~~~ ../drivers/net/udp/rte_eth_udp.c:106:14: error: implicit declaration of function 'strdupa' is invalid in C99 [-Werror,-Wimplicit-function-declaration] char *str = strdupa(value); ^ ../drivers/net/udp/rte_eth_udp.c:106:8: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Werror,-Wint-conversion] char *str = strdupa(value); ^ ~~~~~~~~~~~~~~ 4 errors generated. [1432/2051] Generating rte_raw_ntb_def with a custom command [1433/2051] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_ethdev.c.o [1434/2051] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb_hw_intel.c.o [1435/2051] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx_simple_sse.c.o [1436/2051] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o [1437/2051] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o [1438/2051] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o [1439/2051] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o [1440/2051] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o ninja: build stopped *Build Failed #3: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: drivers/libtmp_rte_net_udp.a.p/net_udp_rte_eth_udp.c.o gcc -Idrivers/libtmp_rte_net_udp.a.p -Idrivers -I../drivers -Idrivers/net/udp -I../drivers/net/udp -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.udp -MD -MQ drivers/libtmp_rte_net_udp.a.p/net_udp_rte_eth_udp.c.o -MF drivers/libtmp_rte_net_udp.a.p/net_udp_rte_eth_udp.c.o.d -o drivers/libtmp_rte_net_udp.a.p/net_udp_rte_eth_udp.c.o -c ../drivers/net/udp/rte_eth_udp.c ../drivers/net/udp/rte_eth_udp.c: In function 'parse_ipv6_address': ../drivers/net/udp/rte_eth_udp.c:75:14: error: implicit declaration of function 'strdupa'; did you mean 'strdup'? [-Werror=implicit-function-declaration] 75 | char *str = strdupa(value); | ^~~~~~~ | strdup ../drivers/net/udp/rte_eth_udp.c:75:14: error: nested extern declaration of 'strdupa' [-Werror=nested-externs] ../drivers/net/udp/rte_eth_udp.c:75:14: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] ../drivers/net/udp/rte_eth_udp.c: In function 'parse_ipv4_address': ../drivers/net/udp/rte_eth_udp.c:106:14: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 106 | char *str = strdupa(value); | ^~~~~~~ cc1: all warnings being treated as errors [1456/1972] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx_simple_sse.c.o [1457/1972] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [1458/1972] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtqueue.c.o [1459/1972] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o [1460/1972] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_ethdev.c.o [1461/1972] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o [1462/1972] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o [1463/1972] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o [1464/1972] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o ninja: build stopped *Build Failed #4: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: drivers/libtmp_rte_net_udp.a.p/net_udp_rte_eth_udp.c.o gcc -Idrivers/libtmp_rte_net_udp.a.p -Idrivers -I../drivers -Idrivers/net/udp -I../drivers/net/udp -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.udp -MD -MQ drivers/libtmp_rte_net_udp.a.p/net_udp_rte_eth_udp.c.o -MF drivers/libtmp_rte_net_udp.a.p/net_udp_rte_eth_udp.c.o.d -o drivers/libtmp_rte_net_udp.a.p/net_udp_rte_eth_udp.c.o -c ../drivers/net/udp/rte_eth_udp.c ../drivers/net/udp/rte_eth_udp.c: In function 'parse_ipv6_address': ../drivers/net/udp/rte_eth_udp.c:75:14: error: implicit declaration of function 'strdupa'; did you mean 'strdup'? [-Werror=implicit-function-declaration] 75 | char *str = strdupa(value); | ^~~~~~~ | strdup ../drivers/net/udp/rte_eth_udp.c:75:14: error: nested extern declaration of 'strdupa' [-Werror=nested-externs] ../drivers/net/udp/rte_eth_udp.c:75:14: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] ../drivers/net/udp/rte_eth_udp.c: In function 'parse_ipv4_address': ../drivers/net/udp/rte_eth_udp.c:106:14: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 106 | char *str = strdupa(value); | ^~~~~~~ cc1: all warnings being treated as errors [1416/2068] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_phy.c.o [1417/2068] Generating drivers/rte_net_sfc.sym_chk with a custom command (wrapped by meson to capture output) [1418/2068] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio.c.o [1419/2068] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o [1420/2068] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [1421/2068] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_pci_ethdev.c.o [1422/2068] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_pci.c.o [1423/2068] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_ethdev.c.o [1424/2068] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o ninja: build stopped *Build Failed #5: OS: CentOS79-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_udp.a.p/net_udp_rte_eth_udp.c.o gcc -Idrivers/libtmp_rte_net_udp.a.p -Idrivers -I../drivers -Idrivers/net/udp -I../drivers/net/udp -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.udp -MD -MQ drivers/libtmp_rte_net_udp.a.p/net_udp_rte_eth_udp.c.o -MF drivers/libtmp_rte_net_udp.a.p/net_udp_rte_eth_udp.c.o.d -o drivers/libtmp_rte_net_udp.a.p/net_udp_rte_eth_udp.c.o -c ../drivers/net/udp/rte_eth_udp.c ../drivers/net/udp/rte_eth_udp.c: In function 'eth_udp_rx': ../drivers/net/udp/rte_eth_udp.c:189:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint16_t i = 0; i < nb_pkts; i++) { ^ ../drivers/net/udp/rte_eth_udp.c:189:2: note: use option -std=c99 or -std=gnu99 to compile your code ../drivers/net/udp/rte_eth_udp.c:193:3: error: 'for' loop initial declarations are only allowed in C99 mode for (unsigned int n = 0; n < segs_per_pkt; n++, nb_iovs++) { ^ ../drivers/net/udp/rte_eth_udp.c:213:11: error: conflicting types for 'i' for (int i = 0; i < ret; i++) { ^ ../drivers/net/udp/rte_eth_udp.c:189:16: note: previous definition of 'i' was here for (uint16_t i = 0; i < nb_pkts; i++) { ^ ../drivers/net/udp/rte_eth_udp.c:213:2: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < ret; i++) { ^ ../drivers/net/udp/rte_eth_udp.c: In function 'eth_udp_tx': ../drivers/net/udp/rte_eth_udp.c:273:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint16_t i = 0; i < nb_bufs; i++) { ^ ../drivers/net/udp/rte_eth_udp.c:280:3: error: 'for' loop initial declarations are only allowed in C99 mode for (unsigned int n = 0; n < nsegs; n++) { ^ ../drivers/net/udp/rte_eth_udp.c:297:3: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < ret; i++) ^ [2113/3576] Generating drivers/rte_net_vhost_mingw with a custom command [2114/3576] Linking target drivers/librte_net_qede.so.23.0 [2115/3576] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_tm.c.o [2116/3576] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_flow.c.o [2117/3576] Compiling C object drivers/libtmp_rte_net_vdev_netvsc.a.p/net_vdev_netvsc_vdev_netvsc.c.o [2118/3576] Generating drivers/rte_net_tap.sym_chk with a custom command (wrapped by meson to capture output) [2119/3576] Generating drivers/rte_net_thunderx.sym_chk with a custom command (wrapped by meson to capture output) [2120/3576] Compiling C object drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o [2121/3576] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o ninja: build stopped DPDK STV team