* compilation|FAILURE| pw(155105) sid(35674) job(PER_PATCH_BUILD16105)[v4, 14/14] net/sxe: add Solve compilation problems.
@ 2025-07-09 10:03 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2025-07-09 10:03 UTC (permalink / raw)
To: test-report, liujie5
[-- Attachment #1: Type: text/plain, Size: 27182 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/155105
_Compilation issues_
Submitter: Jie Liu <liujie5@linkdatatechnology.com>
Date: 2025-07-09 08:43:14
Reply_mail: <20250709084315.9940-14-liujie5@linkdatatechnology.com>
DPDK git baseline: Repo:dpdk, CommitID: 97bcb3befdee0ceabd2cfa0f5dc4218438fdd34c
Meson Build Summary: 23 Builds Done, 17 Successful, 6 Failures, 0 Blocked
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.10-64 | pass | | | | | | |
| FreeBSD14-64 | fail | fail | | fail | fail | | |
| RHEL96-64 | pass | pass | | fail | pass | | |
| SUSE15-64 | pass | pass | | | | | |
| AzureLinux3.0-64 | pass | | | | | | |
| UB2404-32 | fail | | | | | | |
| RHEL10-64 | pass | | | | | | |
| UB2404-64 | pass | pass | | | | pass | pass |
| RHEL96-64RT | pass | | | | | | |
| UB2504-64 | pass | | | | | | |
| FC42-64 | pass | pass | | | | | |
| 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.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: 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: 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) 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.3.0-6ubuntu2~24.04) 13.3.0
Clang Version: NA
i686-native-linuxapp-gcc
OS: RHEL10-64
Kernel Version: 6.12.0-55.9.1.el10_0.x86_64
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: UB2404-64
Kernel Version: 6.8.0-41-generic
GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.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: RHEL96-64RT
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
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: FC42-64
Kernel Version: 6.14.0-63.fc42.x86_64
GCC Version: gcc (GCC) 15.0.1 20250329 (Red Hat 15.0.1-0)
Clang Version: 20.1.3 (Fedora 20.1.3-1.fc42)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: UB2404-64RT
Kernel Version: 6.8.0-rt8
GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Clang Version: NA
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-gcc
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_stats.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/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 -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 -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_stats.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_stats.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_stats.c.o -c ../drivers/net/sxe/vf/sxevf_stats.c
../drivers/net/sxe/vf/sxevf_stats.c: In function 'sxevf_xstats_get':
../drivers/net/sxe/vf/sxevf_stats.c:121:39: error: 'ulong' undeclared (first use in this function); did you mean 'u_long'?
121 | xstats[cnt].value = *(ulong *)(((s8 *)(&stats_info->hw_stats)) + offset);
| ^~~~~
| u_long
../drivers/net/sxe/vf/sxevf_stats.c:121:39: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/sxe/vf/sxevf_stats.c:121:46: error: expected expression before ')' token
121 | xstats[cnt].value = *(ulong *)(((s8 *)(&stats_info->hw_stats)) + offset);
| ^
[1606/2319] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o
[1607/2319] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_filter.c.o
[1608/2319] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_ethdev.c.o
[1609/2319] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_rx.c.o
[1610/2319] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_tx.c.o
[1611/2319] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_queue.c.o
[1612/2319] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_offload.c.o
[1613/2319] Generating drivers/rte_net_virtio.sym_chk with a custom command (wrapped by meson to capture output)
[1614/2319] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_base_sxe_queue_common.c.o
ninja: build stopped
*Build Failed #2:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-clang
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_stats.c.o
clang -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/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 -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 -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_stats.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_stats.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_stats.c.o -c ../drivers/net/sxe/vf/sxevf_stats.c
../drivers/net/sxe/vf/sxevf_stats.c:121:25: error: use of undeclared identifier 'ulong'; did you mean 'long'?
121 | xstats[cnt].value = *(ulong *)(((s8 *)(&stats_info->hw_stats)) + offset);
| ^~~~~
| long
../drivers/net/sxe/vf/sxevf_stats.c:121:25: error: expected expression
2 errors generated.
[1614/2301] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_ethdev.c.o
[1615/2301] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_rx.c.o
[1616/2301] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_tx.c.o
[1617/2301] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_offload.c.o
[1618/2301] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_queue.c.o
[1619/2301] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_base_sxe_rx_common.c.o
[1620/2301] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_base_sxe_offload_common.c.o
[1621/2301] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_base_sxe_tx_common.c.o
[1622/2301] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_base_sxe_queue_common.c.o
ninja: build stopped
*Build Failed #3:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_stats.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/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 -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 -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_stats.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_stats.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_stats.c.o -c ../drivers/net/sxe/vf/sxevf_stats.c
../drivers/net/sxe/vf/sxevf_stats.c: In function 'sxevf_xstats_get':
../drivers/net/sxe/vf/sxevf_stats.c:121:39: error: 'ulong' undeclared (first use in this function); did you mean 'u_long'?
121 | xstats[cnt].value = *(ulong *)(((s8 *)(&stats_info->hw_stats)) + offset);
| ^~~~~
| u_long
../drivers/net/sxe/vf/sxevf_stats.c:121:39: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/sxe/vf/sxevf_stats.c:121:46: error: expected expression before ')' token
121 | xstats[cnt].value = *(ulong *)(((s8 *)(&stats_info->hw_stats)) + offset);
| ^
[1610/2173] Linking static target drivers/libtmp_rte_net_virtio.a
[1611/2173] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o
[1612/2173] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_ethdev.c.o
[1613/2173] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_rx.c.o
[1614/2173] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_tx.c.o
[1615/2173] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_offload.c.o
[1616/2173] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_queue.c.o
[1617/2173] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_base_sxe_rx_common.c.o
[1618/2173] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_base_sxe_queue_common.c.o
ninja: build stopped
*Build Failed #4:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_stats.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/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 -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 -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_stats.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_stats.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_stats.c.o -c ../drivers/net/sxe/vf/sxevf_stats.c
../drivers/net/sxe/vf/sxevf_stats.c: In function 'sxevf_xstats_get':
../drivers/net/sxe/vf/sxevf_stats.c:121:39: error: 'ulong' undeclared (first use in this function); did you mean 'u_long'?
121 | xstats[cnt].value = *(ulong *)(((s8 *)(&stats_info->hw_stats)) + offset);
| ^~~~~
| u_long
../drivers/net/sxe/vf/sxevf_stats.c:121:39: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/sxe/vf/sxevf_stats.c:121:46: error: expected expression before ')' token
121 | xstats[cnt].value = *(ulong *)(((s8 *)(&stats_info->hw_stats)) + offset);
| ^
[1593/2282] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o
[1594/2282] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_dcb.c.o
[1595/2282] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_ethdev.c.o
[1596/2282] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_tx.c.o
[1597/2282] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_rx.c.o
[1598/2282] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_queue.c.o
[1599/2282] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_offload.c.o
[1600/2282] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_base_sxe_queue_common.c.o
[1601/2282] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_base_sxe_rx_common.c.o
ninja: build stopped
*Build Failed #5:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: app/dpdk-testpmd
gcc -o app/dpdk-testpmd app/dpdk-testpmd.p/test-pmd_5tswap.c.o app/dpdk-testpmd.p/test-pmd_cmdline.c.o app/dpdk-testpmd.p/test-pmd_cmdline_cman.c.o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o app/dpdk-testpmd.p/test-pmd_cmdline_tm.c.o app/dpdk-testpmd.p/test-pmd_cmd_flex_item.c.o app/dpdk-testpmd.p/test-pmd_config.c.o app/dpdk-testpmd.p/test-pmd_csumonly.c.o app/dpdk-testpmd.p/test-pmd_flowgen.c.o app/dpdk-testpmd.p/test-pmd_hairpin.c.o app/dpdk-testpmd.p/test-pmd_icmpecho.c.o app/dpdk-testpmd.p/test-pmd_ieee1588fwd.c.o app/dpdk-testpmd.p/test-pmd_iofwd.c.o app/dpdk-testpmd.p/test-pmd_macfwd.c.o app/dpdk-testpmd.p/test-pmd_macswap.c.o app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o app/dpdk-testpmd.p/test-pmd_parameters.c.o app/dpdk-testpmd.p/test-pmd_recycle_mbufs.c.o app/dpdk-testpmd.p/test-pmd_rxonly.c.o app/dpdk-testpmd.p/test-pmd_shared_rxq_fwd.c.o app/dpdk-testpmd.p/test-pmd_testpmd.c.o app/dpdk-testpmd.p/test-pmd_txonly.c.o app/dpdk-testpmd.p/test-pmd_util.c.o app/dpdk-testpmd.p/test-pmd_bpf_cmd.c.o app/dpdk-testpmd.p/.._drivers_net_bonding_bonding_testpmd.c.o app/dpdk-testpmd.p/.._drivers_net_intel_i40e_i40e_testpmd.c.o app/dpdk-testpmd.p/.._drivers_net_intel_iavf_iavf_testpmd.c.o app/dpdk-testpmd.p/.._drivers_net_intel_ice_ice_testpmd.c.o app/dpdk-testpmd.p/.._drivers_net_intel_ixgbe_ixgbe_testpmd.c.o app/dpdk-testpmd.p/.._drivers_net_sxe_sxe_testpmd.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,--no-as-needed -pthread -Wl,--start-group -lm -ldl -lnuma '-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/../drivers:XXXXXXXXXXXXXXX' -Wl,-rpath-link,/root/RHEL96-64_K5.14.0_GCC11.5.0/x86_64-native-linuxapp-gcc+shared/35674/dpdk/x86_64-native-linuxapp-gcc+shared/lib -Wl,-rpath-link,/root/RHEL96-64_K5.14.0_GCC11.5.0/x86_64-native-linuxapp-gcc+shared/35674/dpdk/x86_64-native-linuxapp-gcc+shared/drivers lib/librte_ethdev.so.25.2 lib/librte_eal.so.25.2 lib/librte_kvargs.so.25.2 lib/librte_log.so.25.2 lib/librte_telemetry.so.25.2 lib/librte_net.so.25.2 lib/librte_mbuf.so.25.2 lib/librte_mempool.so.25.2 lib/librte_ring.so.25.2 lib/librte_meter.so.25.2 lib/librte_cmdline.so.25.2 drivers/librte_crypto_scheduler.so.25.2 lib/librte_cryptodev.so.25.2 lib/librte_rcu.so.25.2 drivers/librte_bus_vdev.so.25.2 lib/librte_reorder.so.25.2 lib/librte_security.so.25.2 lib/librte_bitratestats.so.25.2 lib/librte_metrics.so.25.2 lib/librte_bpf.so.25.2 lib/librte_gro.so.25.2 lib/librte_gso.so.25.2 lib/librte_latencystats.so.25.2 lib/librte_pdump.so.25.2 lib/librte_pcapng.so.25.2 drivers/librte_net_bnxt.so.25.2 drivers/librte_bus_pci.so.25.2 lib/librte_pci.so.25.2 lib/librte_hash.so.25.2 drivers/librte_net_i40e.so.25.2 drivers/librte_net_ixgbe.so.25.2 drivers/librte_bus_dpaa.so.25.2 drivers/librte_common_dpaax.so.25.2 lib/librte_eventdev.so.25.2 lib/librte_timer.so.25.2 lib/librte_dmadev.so.25.2 drivers/librte_mempool_dpaa.so.25.2 drivers/librte_net_dpaa.so.25.2 drivers/librte_net_bond.so.25.2 lib/librte_sched.so.25.2 lib/librte_ip_frag.so.25.2 drivers/librte_net_iavf.so.25.2 drivers/librte_net_ice.so.25.2 drivers/librte_net_sxe.so.25.2 /usr/lib64/libelf.so -Wl,--end-group
/usr/bin/ld: app/dpdk-testpmd.p/.._drivers_net_sxe_sxe_testpmd.c.o: in function `cmd_tc_min_bw_parsed':
sxe_testpmd.c:(.text+0x19a): undefined reference to `rte_pmd_sxe_tc_bw_set'
collect2: error: ld returned 1 exit status
[3265/3450] Linking target app/dpdk-test-security-perf
[3266/3450] Compiling C object app/dpdk-test.p/test_test_argparse.c.o
[3267/3450] Compiling C object app/dpdk-test.p/test_test_alarm.c.o
[3268/3450] Compiling C object app/dpdk-test.p/test_sample_packet_forward.c.o
[3269/3450] Compiling C object app/dpdk-test.p/test_packet_burst_generator.c.o
[3270/3450] Compiling C object app/dpdk-test.p/test_test_barrier.c.o
[3271/3450] Compiling C object app/dpdk-test.p/test_test_atomic.c.o
[3272/3450] Compiling C object app/dpdk-test.p/test_test_acl.c.o
[3273/3450] Compiling C object app/dpdk-test.p/test_virtual_pmd.c.o
ninja: build stopped
*Build Failed #6:
OS: UB2404-32
Target: i686-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_stats.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/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/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_stats.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_stats.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_stats.c.o -c ../drivers/net/sxe/pf/sxe_stats.c
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/ethdev/rte_cman.h:8,
from ../lib/ethdev/rte_ethdev.h:159,
from ../drivers/net/sxe/pf/sxe_stats.h:8,
from ../drivers/net/sxe/pf/sxe_stats.c:4:
../drivers/net/sxe/pf/sxe_stats.c: In function ‘sxe_xstats_names_get’:
../drivers/net/sxe/pf/sxe_stats.c:335:60: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘unsigned int’ [-Werror=format=]
335 | SXE_XSTAT_CNT, usr_cnt, ret);
| ^
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/net/sxe/base/sxe_logs.h:156:17: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
156 | RTE_LOG_LINE_PREFIX(ERR, logtype, "%s(): ",\
| ^~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_stats.c:334:17: note: in expansion of macro ‘PMD_LOG_ERR’
334 | PMD_LOG_ERR(DRV, "max: %" SXE_PRIU64 " usr_cnt:%u invalid.(err:%d)",
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1831/2721] Linking static target drivers/libtmp_rte_net_vmxnet3.a
[1832/2721] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_queue.c.o
[1833/2721] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
[1834/2721] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ptp.c.o
[1835/2721] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_pmd_hdc.c.o
[1836/2721] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_phy.c.o
[1837/2721] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_rx.c.o
[1838/2721] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_vf.c.o
[1839/2721] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_tx.c.o
ninja: build stopped
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-07-09 10:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-09 10:03 compilation|FAILURE| pw(155105) sid(35674) job(PER_PATCH_BUILD16105)[v4, 14/14] net/sxe: add Solve compilation problems 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).