compilation|FAILURE| pw(162233) sid(37597) job(PER_PATCH_BUILD18247)net/cnxk: disable template on generic build
sys_stv at intel.com
sys_stv at intel.com
Mon Mar 9 11:37:18 CET 2026
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/162233
_Compilation issues_
Submitter: Pavan Nikhilesh Bhagavatula <pbhagavatula at marvell.com>
Date: 2026-03-09 10:16:39
Reply_mail: <20260309101640.32391-1-pbhagavatula at marvell.com>
DPDK git baseline: Repo:dpdk, CommitID: 8dc80afda7a52a1bd28088fe34102e7c1ba17282
Meson Build Summary: 23 Builds Done, 18 Successful, 5 Failures, 0 Blocked
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.10-64 | fail | | | | | | |
| FreeBSD15-64 | pass | pass | | pass | pass | | |
| RHEL96-64 | fail | pass | | fail | fail | | |
| SUSE15-64 | pass | pass | | | | | |
| AzureLinux3.0-64 | pass | | | | | | |
| UB2404-32 | pass | | | | | | |
| RHEL10.1-64 | pass | | | | | | |
| UB2404-64 | pass | pass | | | | pass | pass |
| RHEL10-64RT | pass | | | | | | |
| UB2504-64 | pass | | | | | | |
| Fedora43-64 | pass | pass | | | | | |
| OpenEuler2404-64 | fail | | | | | | |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
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.10-64
Kernel Version: 5.10.134-18.an8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-24.0.1)
Clang Version: 18.1.8 (Red Hat 18.1.8-1.0.1.module+an8.9.0+11287+9d0292d3)
x86_64-native-linuxapp-gcc
OS: FreeBSD15-64
Kernel Version: 15.0-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 14.2.0
Clang Version: 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL96-64
Kernel Version: 5.14.0-570.12.1.el9_6.x86_64
GCC Version: gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)
Clang Version: 19.1.7 (Red Hat, Inc. 19.1.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: 6.4.0-150700.51-default
GCC Version: gcc (SUSE Linux) 14.2.0
Clang Version: 17.0.6
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: AzureLinux3.0-64
Kernel Version: 6.6.47.1-1.azl3
GCC Version: gcc (GCC) 13.2.0
Clang Version: 18.1.2
x86_64-native-linuxapp-gcc
OS: UB2404-32
Kernel Version: 6.8.0-41-generic
GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Clang Version: NA
i686-native-linuxapp-gcc
OS: RHEL10.1-64
Kernel Version: 6.12.0-124.8.1.el10_1.x86_64
GCC Version: gcc (GCC) 14.3.1 20250617 (Red Hat 14.3.1-2)
Clang Version: 20.1.8 (Red Hat, Inc. 20.1.8-1.el10)
x86_64-native-linuxapp-gcc
OS: UB2404-64
Kernel Version: 6.8.0-41-generic
GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Clang Version: 18.1.3 (1ubuntu1)
x86_64-native-linuxapp-gcc+16byte
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-doc
OS: RHEL10-64RT
Kernel Version: 6.12.0-55.9.1.el10_0.x86_64+rt
GCC Version: gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el10)
x86_64-native-linuxapp-gcc
OS: UB2504-64
Kernel Version: 6.14.0-15-generic
GCC Version: gcc (Ubuntu 14.2.0-19ubuntu2) 14.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: Fedora43-64
Kernel Version: 6.17.1-300.fc43.x86_64
GCC Version: gcc (GCC) 15.2.1 20250924 (Red Hat 15.2.1-2)
Clang Version: 21.1.8 (Fedora 21.1.8-4.fc43)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: OpenEuler2404-64
Kernel Version: 6.6.0-98.0.0.103.oe2403sp2.x86_64
GCC Version: gcc (GCC) 12.3.1 (openEuler 12.3.1-98.oe2403sp2)
Clang Version: 17.0.6 ( 17.0.6-45.oe2403sp2)
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: OpenAnolis8.10-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_all_offload.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/argparse -I../lib/argparse -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCNXK_DIS_TMPLT_FUNC -Wno-vla -Wno-shadow -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_all_offload.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_all_offload.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_all_offload.c.o -c ../drivers/net/cnxk/tx/cn10k/tx_all_offload.c
In file included from ../drivers/net/cnxk/tx/cn10k/tx_all_offload.c:5:
../drivers/net/cnxk/tx/cn10k/tx_all_offload.c: In function ‘cn10k_nix_xmit_pkts_all_offload’:
../drivers/net/cnxk/cn10k_tx.h:1681:44: error: ‘sec’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (!(flags & NIX_TX_OFFLOAD_SECURITY_F) || !sec) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
../drivers/net/cnxk/cn10k_tx.h:1614:7: note: ‘sec’ was declared here
bool sec;
^~~
cc1: all warnings being treated as errors
[1476/3703] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_l2t.c.o
[1477/3703] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_ethdev.c.o
[1478/3703] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_smt.c.o
[1479/3703] Compiling C object drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_fmlib_fm_vsp.c.o
[1480/3703] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_base_t4vf_hw.c.o
[1481/3703] Compiling C object drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_fmlib_fm_lib.c.o
[1482/3703] Compiling C object drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_dpaa_flow.c.o
[1483/3703] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_base_t4_hw.c.o
[1484/3703] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_sge.c.o
ninja: build stopped
*Build Failed #2:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_all_offload.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/argparse -I../lib/argparse -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DCNXK_DIS_TMPLT_FUNC -Wno-vla -Wno-shadow -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_all_offload.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_all_offload.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_all_offload.c.o -c ../drivers/net/cnxk/tx/cn10k/tx_all_offload.c
In file included from ../drivers/net/cnxk/tx/cn10k/tx_all_offload.c:5:
../drivers/net/cnxk/tx/cn10k/tx_all_offload.c: In function ‘cn10k_nix_xmit_pkts_all_offload’:
../drivers/net/cnxk/cn10k_tx.h:1681:58: error: ‘sec’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
1681 | if (!(flags & NIX_TX_OFFLOAD_SECURITY_F) || !sec) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
../drivers/net/cnxk/cn10k_tx.h:1614:14: note: ‘sec’ was declared here
1614 | bool sec;
| ^~~
cc1: all warnings being treated as errors
[1462/3634] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn20k_rx_select.c.o
[1463/3634] Generating drivers/rte_net_cnxk_map with a custom command
[1464/3634] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn20k_tx_select.c.o
[1465/3634] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_rx_cn20k_rx_all_offload.c.o
[1466/3634] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn20k_tx_all_offload.c.o
[1467/3634] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbevf_ethdev.c.o
[1468/3634] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_main.c.o
[1469/3634] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_filter.c.o
[1470/3634] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_sge.c.o
ninja: build stopped
*Build Failed #3:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_all_offload.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/argparse -I../lib/argparse -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DCNXK_DIS_TMPLT_FUNC -Wno-vla -Wno-shadow -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_all_offload.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_all_offload.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_all_offload.c.o -c ../drivers/net/cnxk/tx/cn10k/tx_all_offload.c
In file included from ../drivers/net/cnxk/tx/cn10k/tx_all_offload.c:5:
../drivers/net/cnxk/tx/cn10k/tx_all_offload.c: In function ‘cn10k_nix_xmit_pkts_all_offload’:
../drivers/net/cnxk/cn10k_tx.h:1681:58: error: ‘sec’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
1681 | if (!(flags & NIX_TX_OFFLOAD_SECURITY_F) || !sec) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
../drivers/net/cnxk/cn10k_tx.h:1614:14: note: ‘sec’ was declared here
1614 | bool sec;
| ^~~
cc1: all warnings being treated as errors
[1481/3479] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbevf_ethdev.c.o
[1482/3479] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbevf_main.c.o
[1483/3479] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn20k_tx_all_offload.c.o
[1484/3479] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_clip_tbl.c.o
[1485/3479] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_filter.c.o
[1486/3479] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_main.c.o
[1487/3479] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_flow.c.o
[1488/3479] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_ethdev.c.o
[1489/3479] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_sge.c.o
ninja: build stopped
*Build Failed #4:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_all_offload.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/argparse -I../lib/argparse -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DCNXK_DIS_TMPLT_FUNC -Wno-vla -Wno-shadow -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_all_offload.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_all_offload.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_all_offload.c.o -c ../drivers/net/cnxk/tx/cn10k/tx_all_offload.c
In file included from ../drivers/net/cnxk/tx/cn10k/tx_all_offload.c:5:
../drivers/net/cnxk/tx/cn10k/tx_all_offload.c: In function ‘cn10k_nix_xmit_pkts_all_offload’:
../drivers/net/cnxk/cn10k_tx.h:1681:58: error: ‘sec’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
1681 | if (!(flags & NIX_TX_OFFLOAD_SECURITY_F) || !sec) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
../drivers/net/cnxk/cn10k_tx.h:1614:14: note: ‘sec’ was declared here
1614 | bool sec;
| ^~~
cc1: all warnings being treated as errors
[1462/3634] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_rx_cn10k_rx_all_offload.c.o
[1463/3634] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn20k_tx_select.c.o
[1464/3634] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_rx_cn20k_rx_all_offload.c.o
[1465/3634] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn20k_ethdev_sec.c.o
[1466/3634] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_filter.c.o
[1467/3634] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbevf_ethdev.c.o
[1468/3634] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn20k_tx_all_offload.c.o
[1469/3634] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_main.c.o
[1470/3634] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_sge.c.o
ninja: build stopped
*Build Failed #5:
OS: OpenEuler2404-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_all_offload.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/argparse -I../lib/argparse -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DCNXK_DIS_TMPLT_FUNC -Wno-vla -Wno-shadow -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_all_offload.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_all_offload.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn10k_tx_all_offload.c.o -c ../drivers/net/cnxk/tx/cn10k/tx_all_offload.c
In file included from ../drivers/net/cnxk/tx/cn10k/tx_all_offload.c:5:
In function ‘cn10k_nix_xmit_pkts_mseg’,
inlined from ‘cn10k_nix_xmit_pkts_all_offload’ at ../drivers/net/cnxk/tx/cn10k/tx_all_offload.c:19:9:
../drivers/net/cnxk/cn10k_tx.h:1681:58: error: ‘sec’ may be used uninitialized [-Werror=maybe-uninitialized]
1681 | if (!(flags & NIX_TX_OFFLOAD_SECURITY_F) || !sec) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
../drivers/net/cnxk/cn10k_tx.h: In function ‘cn10k_nix_xmit_pkts_all_offload’:
../drivers/net/cnxk/cn10k_tx.h:1614:14: note: ‘sec’ was declared here
1614 | bool sec;
| ^~~
cc1: all warnings being treated as errors
[1464/3699] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn20k_flow.c.o
[1465/3699] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn20k_rx_select.c.o
[1466/3699] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn20k_tx_select.c.o
[1467/3699] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_rx_cn20k_rx_all_offload.c.o
[1468/3699] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn20k_ethdev_sec.c.o
[1469/3699] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbevf_ethdev.c.o
[1470/3699] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_tx_cn20k_tx_all_offload.c.o
[1471/3699] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_filter.c.o
[1472/3699] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_sge.c.o
ninja: build stopped
DPDK STV team
More information about the test-report
mailing list