automatic DPDK test reports
 help / color / mirror / Atom feed
* compilation|FAILURE| pw(153036) sid(35072) job(PER_PATCH_BUILD15475)[2/2] net/txgbe: add basic code for Amber-Liter NIC configuration
@ 2025-04-18 10:08 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2025-04-18 10:08 UTC (permalink / raw)
  To: test-report, zaiyuwang

[-- Attachment #1: Type: text/plain, Size: 31327 bytes --]


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/153036

_Compilation issues_

Submitter: Zaiyu Wang <zaiyuwang@trustnetic.com>
Date: 2025-04-18 09:41:30
Reply_mail: <20250418094131.24136-3-zaiyuwang@trustnetic.com>

DPDK git baseline: Repo:dpdk-next-net, CommitID: ca1690ebd224f148268285b15b97441ccdbdd07e


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.9-64 | pass       |              |            |            |           |          |            |
| FreeBSD14-64     | pass       | fail         |            | pass       | pass      |          |            |
| RHEL94-64        | pass       | fail         |            | pass       | pass      |          |            |
| SUSE15-64        | pass       | fail         |            |            |           |          |            |
| AzureLinux3.0-64 | pass       |              |            |            |           |          |            |
| UB2404-32        | pass       |              |            |            |           |          |            |
| RHEL10-64        | pass       |              |            |            |           |          |            |
| UB2404-64        | pass       | fail         |            |            |           | pass     | pass       |
| RHEL95-64Rt      | pass       |              |            |            |           |          |            |
| UB2410-64        | pass       |              |            |            |           |          |            |
| FC41-64          | pass       | fail         |            |            |           |          |            |
| UB2404-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.9-64
	Kernel Version: 5.10.134-16.2.an8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-22.0.1)
	Clang Version: 15.0.7 (Anolis 15.0.7-1.0.3.module+an8.8.0+11135+e398acfc)
	x86_64-native-linuxapp-gcc

OS: FreeBSD14-64
	Kernel Version: 14.2-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 13.3.0
	Clang Version: 18.1.6 (https://github.com/llvm/llvm-project.git llvmorg-18.1.6-0-g1118c2e05e67)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: RHEL94-64
	Kernel Version: 5.14.0-427.13.1.el9_4.x86_64
	GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
	Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.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-150600.21-default
	GCC Version: gcc (SUSE Linux) 7.5.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.2.0-23ubuntu4) 13.2.0
	Clang Version: NA
	i686-native-linuxapp-gcc

OS: RHEL10-64
	Kernel Version: 6.11.0-0.rc5.23.el10.x86_64
	GCC Version: gcc (GCC) 14.2.1 20240801 (Red Hat 14.2.1-1)
	Clang Version: 18.1.8 (Red Hat, Inc. 18.1.8-1.el10)
	x86_64-native-linuxapp-gcc

OS: UB2404-64
	Kernel Version: 6.8.0-41-generic
	GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
	Clang Version: NA
	x86_64-native-linuxapp-gcc+16byte
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-doc

OS: RHEL95-64Rt
	Kernel Version: 5.14.0-503.11.1.el9_5.x86_64+rt
	GCC Version: gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-2)
	Clang Version: 18.1.8 (Red Hat, Inc. 18.1.8-3.el9)
	x86_64-native-linuxapp-gcc

OS: UB2410-64
	Kernel Version: 6.11.0-8-generic
	GCC Version: gcc (Ubuntu 14.2.0-4ubuntu2) 14.2.0
	Clang Version: 19.1.1 (1ubuntu1)
	x86_64-native-linuxapp-gcc

OS: FC41-64
	Kernel Version: 6.11.4-301.fc41.x86_64
	GCC Version: gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
	Clang Version: 19.1.5 (Fedora 19.1.5-1.fc41)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: UB2404-64Rt
	Kernel Version: 6.8.0-rt8
	GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
	Clang Version: NA
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-clang
FAILED: drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o 
clang -Idrivers/net/txgbe/base/libtxgbe_base.a.p -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/eal/common -I../lib/eal/common -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 -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -fcolor-diagnostics -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -MD -MQ drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o -MF drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o.d -o drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o -c ../drivers/net/txgbe/base/txgbe_e56.c
../drivers/net/txgbe/base/txgbe_e56.c:1447:30: error: variable 'RX_COARSE_MID_TD' is uninitialized when used here [-Werror,-Wuninitialized]
 1447 |                 if(OFFSET_CENTRE_RANGE_H > RX_COARSE_MID_TD) {
      |                                            ^~~~~~~~~~~~~~~~
../drivers/net/txgbe/base/txgbe_e56.c:1399:22: note: initialize the variable 'RX_COARSE_MID_TD' to silence this warning
 1399 |         int RX_COARSE_MID_TD, CMVAR_RANGE_H = 0, CMVAR_RANGE_L = 0;
      |                             ^
      |                              = 0
1 error generated.
[1488/2194] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o
FAILED: drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o 
clang -Idrivers/net/txgbe/base/libtxgbe_base.a.p -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/eal/common -I../lib/eal/common -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 -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -fcolor-diagnostics -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -MD -MQ drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o -MF drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o.d -o drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o -c ../drivers/net/txgbe/base/txgbe_e56_bp.c
../drivers/net/txgbe/base/txgbe_e56_bp.c:577:13: error: variable 'CMVAR_SEC_LOW_TH' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
  577 |         } else if (speed == 25) {
      |                    ^~~~~~~~~~~
../drivers/net/txgbe/base/txgbe_e56_bp.c:601:21: note: uninitialized use occurs here
  601 |         if (SECOND_CODE <= CMVAR_SEC_LOW_TH) {
      |                            ^~~~~~~~~~~~~~~~
../drivers/net/txgbe/base/txgbe_e56_bp.c:577:9: note: remove the 'if' if its condition is always true
  577 |         } else if (speed == 25) {
      |                ^~~~~~~~~~~~~~~~
../drivers/net/txgbe/base/txgbe_e56_bp.c:547:22: note: initialize the variable 'CMVAR_SEC_LOW_TH' to silence this warning
  547 |         int CMVAR_SEC_LOW_TH ;
      |                             ^
      |                              = 0
1 error generated.
[1489/2194] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_mng.c.o
[1490/2194] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_mbx.c.o
[1491/2194] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_hw.c.o
[1492/2194] Generating drivers/rte_net_sfc.pmd.c with a custom command
[1493/2194] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ethdev_vf.c.o
[1494/2194] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_phy.c.o
[1495/2194] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_fdir.c.o
[1496/2194] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
ninja: build stopped




*Build Failed #2:
OS: RHEL94-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o 
clang -Idrivers/net/txgbe/base/libtxgbe_base.a.p -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fcolor-diagnostics -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-address-of-packed-member -MD -MQ drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o -MF drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o.d -o drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o -c ../drivers/net/txgbe/base/txgbe_e56_bp.c
../drivers/net/txgbe/base/txgbe_e56_bp.c:577:13: error: variable 'CMVAR_SEC_LOW_TH' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
  577 |         } else if (speed == 25) {
      |                    ^~~~~~~~~~~
../drivers/net/txgbe/base/txgbe_e56_bp.c:601:21: note: uninitialized use occurs here
  601 |         if (SECOND_CODE <= CMVAR_SEC_LOW_TH) {
      |                            ^~~~~~~~~~~~~~~~
../drivers/net/txgbe/base/txgbe_e56_bp.c:577:9: note: remove the 'if' if its condition is always true
  577 |         } else if (speed == 25) {
      |                ^~~~~~~~~~~~~~~~
../drivers/net/txgbe/base/txgbe_e56_bp.c:547:22: note: initialize the variable 'CMVAR_SEC_LOW_TH' to silence this warning
  547 |         int CMVAR_SEC_LOW_TH ;
      |                             ^
      |                              = 0
1 error generated.
[2272/3518] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_vf.c.o
[2273/3518] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o
FAILED: drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o 
clang -Idrivers/net/txgbe/base/libtxgbe_base.a.p -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fcolor-diagnostics -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-address-of-packed-member -MD -MQ drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o -MF drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o.d -o drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o -c ../drivers/net/txgbe/base/txgbe_e56.c
../drivers/net/txgbe/base/txgbe_e56.c:1447:30: error: variable 'RX_COARSE_MID_TD' is uninitialized when used here [-Werror,-Wuninitialized]
 1447 |                 if(OFFSET_CENTRE_RANGE_H > RX_COARSE_MID_TD) {
      |                                            ^~~~~~~~~~~~~~~~
../drivers/net/txgbe/base/txgbe_e56.c:1399:22: note: initialize the variable 'RX_COARSE_MID_TD' to silence this warning
 1399 |         int RX_COARSE_MID_TD, CMVAR_RANGE_H = 0, CMVAR_RANGE_L = 0;
      |                             ^
      |                              = 0
1 error generated.
[2274/3518] Generating drivers/rte_net_thunderx.pmd.c with a custom command
[2275/3518] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_phy.c.o
[2276/3518] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_fdir.c.o
[2277/3518] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ipsec.c.o
[2278/3518] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ethdev_vf.c.o
[2279/3518] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_flow.c.o
[2280/3518] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
ninja: build stopped




*Build Failed #3:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o 
clang -Idrivers/net/txgbe/base/libtxgbe_base.a.p -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fcolor-diagnostics -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-address-of-packed-member -MD -MQ drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o -MF drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o.d -o drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o -c ../drivers/net/txgbe/base/txgbe_e56.c
../drivers/net/txgbe/base/txgbe_e56.c:1447:30: error: variable 'RX_COARSE_MID_TD' is uninitialized when used here [-Werror,-Wuninitialized]
 1447 |                 if(OFFSET_CENTRE_RANGE_H > RX_COARSE_MID_TD) {
      |                                            ^~~~~~~~~~~~~~~~
../drivers/net/txgbe/base/txgbe_e56.c:1399:22: note: initialize the variable 'RX_COARSE_MID_TD' to silence this warning
 1399 |         int RX_COARSE_MID_TD, CMVAR_RANGE_H = 0, CMVAR_RANGE_L = 0;
      |                             ^
      |                              = 0
1 error generated.
[2317/3554] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o
FAILED: drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o 
clang -Idrivers/net/txgbe/base/libtxgbe_base.a.p -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fcolor-diagnostics -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-address-of-packed-member -MD -MQ drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o -MF drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o.d -o drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o -c ../drivers/net/txgbe/base/txgbe_e56_bp.c
../drivers/net/txgbe/base/txgbe_e56_bp.c:577:13: error: variable 'CMVAR_SEC_LOW_TH' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
  577 |         } else if (speed == 25) {
      |                    ^~~~~~~~~~~
../drivers/net/txgbe/base/txgbe_e56_bp.c:601:21: note: uninitialized use occurs here
  601 |         if (SECOND_CODE <= CMVAR_SEC_LOW_TH) {
      |                            ^~~~~~~~~~~~~~~~
../drivers/net/txgbe/base/txgbe_e56_bp.c:577:9: note: remove the 'if' if its condition is always true
  577 |         } else if (speed == 25) {
      |                ^~~~~~~~~~~~~~~~
../drivers/net/txgbe/base/txgbe_e56_bp.c:547:22: note: initialize the variable 'CMVAR_SEC_LOW_TH' to silence this warning
  547 |         int CMVAR_SEC_LOW_TH ;
      |                             ^
      |                              = 0
1 error generated.
[2318/3554] Linking static target drivers/librte_net_thunderx.a
[2319/3554] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_phy.c.o
[2320/3554] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ethdev_vf.c.o
[2321/3554] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_fdir.c.o
[2322/3554] Generating drivers/rte_net_tap.sym_chk with a custom command (wrapped by meson to capture output)
[2323/3554] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ipsec.c.o
[2324/3554] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_flow.c.o
[2325/3554] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
ninja: build stopped




*Build Failed #4:
OS: UB2404-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o 
clang -Idrivers/net/txgbe/base/libtxgbe_base.a.p -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fcolor-diagnostics -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -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 -MD -MQ drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o -MF drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o.d -o drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o -c ../drivers/net/txgbe/base/txgbe_e56.c
../drivers/net/txgbe/base/txgbe_e56.c:1447:30: error: variable 'RX_COARSE_MID_TD' is uninitialized when used here [-Werror,-Wuninitialized]
 1447 |                 if(OFFSET_CENTRE_RANGE_H > RX_COARSE_MID_TD) {
      |                                            ^~~~~~~~~~~~~~~~
../drivers/net/txgbe/base/txgbe_e56.c:1399:22: note: initialize the variable 'RX_COARSE_MID_TD' to silence this warning
 1399 |         int RX_COARSE_MID_TD, CMVAR_RANGE_H = 0, CMVAR_RANGE_L = 0;
      |                             ^
      |                              = 0
1 error generated.
[2434/3745] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o
FAILED: drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o 
clang -Idrivers/net/txgbe/base/libtxgbe_base.a.p -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fcolor-diagnostics -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -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 -MD -MQ drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o -MF drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o.d -o drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o -c ../drivers/net/txgbe/base/txgbe_e56_bp.c
../drivers/net/txgbe/base/txgbe_e56_bp.c:577:13: error: variable 'CMVAR_SEC_LOW_TH' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
  577 |         } else if (speed == 25) {
      |                    ^~~~~~~~~~~
../drivers/net/txgbe/base/txgbe_e56_bp.c:601:21: note: uninitialized use occurs here
  601 |         if (SECOND_CODE <= CMVAR_SEC_LOW_TH) {
      |                            ^~~~~~~~~~~~~~~~
../drivers/net/txgbe/base/txgbe_e56_bp.c:577:9: note: remove the 'if' if its condition is always true
  577 |         } else if (speed == 25) {
      |                ^~~~~~~~~~~~~~~~
../drivers/net/txgbe/base/txgbe_e56_bp.c:547:22: note: initialize the variable 'CMVAR_SEC_LOW_TH' to silence this warning
  547 |         int CMVAR_SEC_LOW_TH ;
      |                             ^
      |                              = 0
1 error generated.
[2435/3745] Compiling C object drivers/librte_net_thunderx.so.25.2.p/meson-generated_.._rte_net_thunderx.pmd.c.o
[2436/3745] Linking target drivers/librte_net_tap.so.25.2
[2437/3745] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_phy.c.o
[2438/3745] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ethdev_vf.c.o
[2439/3745] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_fdir.c.o
[2440/3745] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ipsec.c.o
[2441/3745] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_flow.c.o
[2442/3745] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
ninja: build stopped




*Build Failed #5:
OS: FC41-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o 
clang -Idrivers/net/txgbe/base/libtxgbe_base.a.p -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fcolor-diagnostics -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -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 -MD -MQ drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o -MF drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o.d -o drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56.c.o -c ../drivers/net/txgbe/base/txgbe_e56.c
../drivers/net/txgbe/base/txgbe_e56.c:1447:30: error: variable 'RX_COARSE_MID_TD' is uninitialized when used here [-Werror,-Wuninitialized]
 1447 |                 if(OFFSET_CENTRE_RANGE_H > RX_COARSE_MID_TD) {
      |                                            ^~~~~~~~~~~~~~~~
../drivers/net/txgbe/base/txgbe_e56.c:1399:22: note: initialize the variable 'RX_COARSE_MID_TD' to silence this warning
 1399 |         int RX_COARSE_MID_TD, CMVAR_RANGE_H = 0, CMVAR_RANGE_L = 0;
      |                             ^
      |                              = 0
1 error generated.
[2438/3729] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o
FAILED: drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o 
clang -Idrivers/net/txgbe/base/libtxgbe_base.a.p -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fcolor-diagnostics -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -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 -MD -MQ drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o -MF drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o.d -o drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_e56_bp.c.o -c ../drivers/net/txgbe/base/txgbe_e56_bp.c
../drivers/net/txgbe/base/txgbe_e56_bp.c:577:13: error: variable 'CMVAR_SEC_LOW_TH' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
  577 |         } else if (speed == 25) {
      |                    ^~~~~~~~~~~
../drivers/net/txgbe/base/txgbe_e56_bp.c:601:21: note: uninitialized use occurs here
  601 |         if (SECOND_CODE <= CMVAR_SEC_LOW_TH) {
      |                            ^~~~~~~~~~~~~~~~
../drivers/net/txgbe/base/txgbe_e56_bp.c:577:9: note: remove the 'if' if its condition is always true
  577 |         } else if (speed == 25) {
      |                ^~~~~~~~~~~~~~~~
../drivers/net/txgbe/base/txgbe_e56_bp.c:547:22: note: initialize the variable 'CMVAR_SEC_LOW_TH' to silence this warning
  547 |         int CMVAR_SEC_LOW_TH ;
      |                             ^
      |                              = 0
1 error generated.
[2439/3729] Generating drivers/rte_net_thunderx.sym_chk with a custom command (wrapped by meson to capture output)
[2440/3729] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ethdev_vf.c.o
[2441/3729] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_phy.c.o
[2442/3729] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_fdir.c.o
[2443/3729] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ptypes.c.o
[2444/3729] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ipsec.c.o
[2445/3729] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_flow.c.o
[2446/3729] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
ninja: build stopped


DPDK STV team

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-04-18 10:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-18 10:08 compilation|FAILURE| pw(153036) sid(35072) job(PER_PATCH_BUILD15475)[2/2] net/txgbe: add basic code for Amber-Liter NIC configuration sys_stv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).