Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/127550 _Compilation issues_ Submitter: Xing, Beilei Date: 2023-05-26 07:38:50 Reply_mail: <20230526073850.101079-14-beilei.xing@intel.com> DPDK git baseline: Repo:dpdk-next-net-intel, CommitID: 554ea7a53a753e558768d4d494353166b5319c49 Meson Build Summary: 25 Builds Done, 19 Successful, 6 Failures, 0 Blocked +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ | OpenAnolis8.8-64 | pass | | | | | | | | FreeBSD13-64 | pass | fail | | pass | pass | | | | RHEL92-64 | pass | fail | | pass | pass | | | | SUSE15-64 | pass | fail | | | | | | | CBL-Mariner2.0-64 | pass | | | | | | | | UB2004-64 | pass | | | | | | | | UB2204-32 | pass | | | | | | | | RHEL87-64 | pass | | | | | | | | UB2204-64 | pass | fail | | | | pass | pass | | CentOS79-64 | fail | | | | | | | | RHEL92-64Rt | pass | | | | | | | | UB2304-64 | pass | | | | | | | | FC38-64 | pass | fail | | | | | | | UB2204-64Rt | 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: OpenAnolis8.8-64 Kernel Version: 5.10.134-13.an8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3) Clang Version: 13.0.1 (Anolis 13.0.1-2.0.2.module+an8.7.0+10996+1588f068) x86_64-native-linuxapp-gcc OS: FreeBSD13-64 Kernel Version: 13.2-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 12.2.0 Clang Version: 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL92-64 Kernel Version: 5.14.0-284.11.1.el9_2.x86_64 GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4) Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9) 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: CBL-Mariner2.0-64 Kernel Version: 5.15.55.1_2e9a4f9+ GCC Version: gcc (GCC) 11.2.0 Clang Version: NA 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-gcc OS: UB2204-32 Kernel Version: 5.15.0-58-generic GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 Clang Version: NA i686-native-linuxapp-gcc OS: RHEL87-64 Kernel Version: 4.18.0-425.3.1.el8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-15) Clang Version: NA x86_64-native-linuxapp-gcc OS: UB2204-64 Kernel Version: 5.15.0-58-generic GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.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.81.1.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: RHEL92-64Rt Kernel Version: 5.14.0-284.11.1.rt14.296.el9_2.x86_64 GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4) Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9) x86_64-native-linuxapp-gcc OS: UB2304-64 Kernel Version: 6.2.0-20-generic GCC Version: gcc (Ubuntu 12.2.0-17ubuntu1) 12.2.0 Clang Version: NA x86_64-native-linuxapp-gcc OS: FC38-64 Kernel Version: 6.2.9-300.fc38.x86_64 GCC Version: gcc (GCC) 13.0.1 20230401 (Red Hat 13.0.1-0) Clang Version: 16.0.0 (Fedora 16.0.0-2.fc38) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: UB2204-64Rt Kernel Version: 5.15.111-rt63 GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 Clang Version: 14.0.0-1ubuntu1 x86_64-native-linuxapp-gcc *Build Failed #1: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-clang FAILED: drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o clang -Idrivers/libtmp_rte_net_cpfl.a.p -Idrivers -I../drivers -Idrivers/net/cpfl -I../drivers/net/cpfl -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 -Idrivers/common/idpf -I../drivers/common/idpf -Idrivers/common/iavf -I../drivers/common/iavf -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 -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cpfl -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o -MF drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o.d -o drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o -c ../drivers/net/cpfl/cpfl_ethdev.c ../drivers/net/cpfl/cpfl_ethdev.c:1104:13: error: variable 'j' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] } else if (tx == 0) { ^~~~~~~ ../drivers/net/cpfl/cpfl_ethdev.c:1114:9: note: uninitialized use occurs here return j; ^ ../drivers/net/cpfl/cpfl_ethdev.c:1104:9: note: remove the 'if' if its condition is always true } else if (tx == 0) { ^~~~~~~~~~~~~ ../drivers/net/cpfl/cpfl_ethdev.c:1088:10: note: initialize the variable 'j' to silence this warning int i, j; ^ = 0 1 error generated. [765/1872] Linking static target drivers/libtmp_rte_net_bnxt.a [766/1872] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o [767/1872] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbevf_ethdev.c.o [768/1872] Compiling C object drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o [769/1872] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbevf_main.c.o [770/1872] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_ethdev.c.o [771/1872] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_main.c.o [772/1872] Generating lib/pipeline.sym_chk with a custom command (wrapped by meson to capture output) [773/1872] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o ninja: build stopped *Build Failed #2: OS: RHEL92-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o clang -Idrivers/libtmp_rte_net_cpfl.a.p -Idrivers -I../drivers -Idrivers/net/cpfl -I../drivers/net/cpfl -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 -Idrivers/common/idpf -I../drivers/common/idpf -Idrivers/common/iavf -I../drivers/common/iavf -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cpfl -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o -MF drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o.d -o drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o -c ../drivers/net/cpfl/cpfl_ethdev.c ../drivers/net/cpfl/cpfl_ethdev.c:1104:13: error: variable 'j' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] } else if (tx == 0) { ^~~~~~~ ../drivers/net/cpfl/cpfl_ethdev.c:1114:9: note: uninitialized use occurs here return j; ^ ../drivers/net/cpfl/cpfl_ethdev.c:1104:9: note: remove the 'if' if its condition is always true } else if (tx == 0) { ^~~~~~~~~~~~~ ../drivers/net/cpfl/cpfl_ethdev.c:1088:10: note: initialize the variable 'j' to silence this warning int i, j; ^ = 0 1 error generated. [1262/3240] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbevf_ethdev.c.o [1263/3240] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbevf_main.c.o [1264/3240] Compiling C object drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o [1265/3240] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_ethdev.c.o [1266/3240] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_filter.c.o [1267/3240] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_main.c.o [1268/3240] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_flow.c.o [1269/3240] Generating drivers/rte_net_cnxk.pmd.c with a custom command [1270/3240] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_sge.c.o ninja: build stopped *Build Failed #3: OS: SUSE15-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o clang -Idrivers/libtmp_rte_net_cpfl.a.p -Idrivers -I../drivers -Idrivers/net/cpfl -I../drivers/net/cpfl -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 -Idrivers/common/idpf -I../drivers/common/idpf -Idrivers/common/iavf -I../drivers/common/iavf -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cpfl -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o -MF drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o.d -o drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o -c ../drivers/net/cpfl/cpfl_ethdev.c ../drivers/net/cpfl/cpfl_ethdev.c:1104:13: error: variable 'j' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] } else if (tx == 0) { ^~~~~~~ ../drivers/net/cpfl/cpfl_ethdev.c:1114:9: note: uninitialized use occurs here return j; ^ ../drivers/net/cpfl/cpfl_ethdev.c:1104:9: note: remove the 'if' if its condition is always true } else if (tx == 0) { ^~~~~~~~~~~~~ ../drivers/net/cpfl/cpfl_ethdev.c:1088:10: note: initialize the variable 'j' to silence this warning int i, j; ^ = 0 1 error generated. [1271/3321] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_ethdev.c.o [1272/3321] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_clip_tbl.c.o [1273/3321] Compiling C object drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o [1274/3321] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_main.c.o [1275/3321] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_flow.c.o [1276/3321] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_filter.c.o [1277/3321] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_mps_tcam.c.o [1278/3321] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_sge.c.o [1279/3321] Generating drivers/rte_net_cnxk.pmd.c with a custom command ninja: build stopped *Build Failed #4: OS: UB2204-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o clang -Idrivers/libtmp_rte_net_cpfl.a.p -Idrivers -I../drivers -Idrivers/net/cpfl -I../drivers/net/cpfl -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 -Idrivers/common/idpf -I../drivers/common/idpf -Idrivers/common/iavf -I../drivers/common/iavf -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cpfl -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o -MF drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o.d -o drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o -c ../drivers/net/cpfl/cpfl_ethdev.c ../drivers/net/cpfl/cpfl_ethdev.c:1104:13: error: variable 'j' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] } else if (tx == 0) { ^~~~~~~ ../drivers/net/cpfl/cpfl_ethdev.c:1114:9: note: uninitialized use occurs here return j; ^ ../drivers/net/cpfl/cpfl_ethdev.c:1104:9: note: remove the 'if' if its condition is always true } else if (tx == 0) { ^~~~~~~~~~~~~ ../drivers/net/cpfl/cpfl_ethdev.c:1088:10: note: initialize the variable 'j' to silence this warning int i, j; ^ = 0 1 error generated. [1271/3321] Compiling C object drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o [1272/3321] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_main.c.o [1273/3321] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_filter.c.o [1274/3321] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_ethdev.c.o [1275/3321] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_clip_tbl.c.o [1276/3321] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_flow.c.o [1277/3321] Generating drivers/rte_net_cnxk.pmd.c with a custom command [1278/3321] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_mps_tcam.c.o [1279/3321] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_sge.c.o ninja: build stopped *Build Failed #5: OS: CentOS79-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o gcc -Idrivers/libtmp_rte_net_cpfl.a.p -Idrivers -I../drivers -Idrivers/net/cpfl -I../drivers/net/cpfl -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 -Idrivers/common/idpf -I../drivers/common/idpf -Idrivers/common/iavf -I../drivers/common/iavf -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.cpfl -MD -MQ drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o -MF drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o.d -o drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o -c ../drivers/net/cpfl/cpfl_rxtx.c ../drivers/net/cpfl/cpfl_rxtx.c: In function 'cpfl_hairpin_rx_bufq_config': ../drivers/net/cpfl/cpfl_rxtx.c:918:9: error: missing braces around initializer [-Werror=missing-braces] struct virtchnl2_rxq_info rxq_info[1] = {0}; ^ ../drivers/net/cpfl/cpfl_rxtx.c:918:9: error: (near initialization for 'rxq_info[0]') [-Werror=missing-braces] ../drivers/net/cpfl/cpfl_rxtx.c: In function 'cpfl_hairpin_rxq_config': ../drivers/net/cpfl/cpfl_rxtx.c:936:9: error: missing braces around initializer [-Werror=missing-braces] struct virtchnl2_rxq_info rxq_info[1] = {0}; ^ ../drivers/net/cpfl/cpfl_rxtx.c:936:9: error: (near initialization for 'rxq_info[0]') [-Werror=missing-braces] ../drivers/net/cpfl/cpfl_rxtx.c: In function 'cpfl_hairpin_tx_complq_config': ../drivers/net/cpfl/cpfl_rxtx.c:962:9: error: missing braces around initializer [-Werror=missing-braces] struct virtchnl2_txq_info txq_info[1] = {0}; ^ ../drivers/net/cpfl/cpfl_rxtx.c:962:9: error: (near initialization for 'txq_info[0]') [-Werror=missing-braces] ../drivers/net/cpfl/cpfl_rxtx.c: In function 'cpfl_hairpin_txq_config': ../drivers/net/cpfl/cpfl_rxtx.c:979:9: error: missing braces around initializer [-Werror=missing-braces] struct virtchnl2_txq_info txq_info[1] = {0}; ^ ../drivers/net/cpfl/cpfl_rxtx.c:979:9: error: (near initialization for 'txq_info[0]') [-Werror=missing-braces] cc1: all warnings being treated as errors [1261/3268] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_32_47_mseg.c.o [1262/3268] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_48_63_mseg.c.o [1263/3268] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbevf_main.c.o [1264/3268] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_64_79_mseg.c.o [1265/3268] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_80_95_mseg.c.o [1266/3268] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_main.c.o [1267/3268] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_ethdev.c.o [1268/3268] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_96_111_mseg.c.o [1269/3268] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_112_127_mseg.c.o ninja: build stopped *Build Failed #6: OS: FC38-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o clang -Idrivers/libtmp_rte_net_cpfl.a.p -Idrivers -I../drivers -Idrivers/net/cpfl -I../drivers/net/cpfl -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 -Idrivers/common/idpf -I../drivers/common/idpf -Idrivers/common/iavf -I../drivers/common/iavf -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cpfl -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o -MF drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o.d -o drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o -c ../drivers/net/cpfl/cpfl_ethdev.c ../drivers/net/cpfl/cpfl_ethdev.c:1104:13: error: variable 'j' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] } else if (tx == 0) { ^~~~~~~ ../drivers/net/cpfl/cpfl_ethdev.c:1114:9: note: uninitialized use occurs here return j; ^ ../drivers/net/cpfl/cpfl_ethdev.c:1104:9: note: remove the 'if' if its condition is always true } else if (tx == 0) { ^~~~~~~~~~~~~ ../drivers/net/cpfl/cpfl_ethdev.c:1088:10: note: initialize the variable 'j' to silence this warning int i, j; ^ = 0 1 error generated. [1281/3479] Linking static target drivers/libtmp_rte_net_cnxk.a [1282/3479] Compiling C object drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o [1283/3479] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbevf_ethdev.c.o [1284/3479] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbevf_main.c.o [1285/3479] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_main.c.o [1286/3479] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_ethdev.c.o [1287/3479] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_flow.c.o [1288/3479] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_filter.c.o [1289/3479] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_sge.c.o ninja: build stopped DPDK STV team