compilation|FAILURE| pw(135426) sid(30642) job(PER_PATCH_BUILD10508)net/ice: add diagnostic support in TX path

sys_stv at intel.com sys_stv at intel.com
Thu Dec 21 13:18:03 CET 2023


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

_Compilation issues_

Submitter: Mingjin Ye <mingjinx.ye at intel.com>
Date: 2023-12-21 10:13:58
Reply_mail: <20231221101358.2816003-1-mingjinx.ye at intel.com>

DPDK git baseline: Repo:dpdk-next-net-intel, CommitID: f09b7a8527e265ba9531aa7c10e2452465038b3d


Meson Build Summary: 25 Builds Done, 21 Successful, 4 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       |              |            |            |           |          |            |
| RHEL89-64         | pass       |              |            |            |           |          |            |
| UB2204-64         | pass       | fail         |            |            |           | pass     | pass       |
| CentOS79-64       | pass       |              |            |            |           |          |            |
| RHEL92-64Rt       | pass       |              |            |            |           |          |            |
| UB2310-64         | pass       |              |            |            |           |          |            |
| FC39-64           | pass       | pass         |            |            |           |          |            |
| 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-150500.53-default
	GCC Version: gcc (SUSE Linux) 7.5.0
	Clang Version: 15.0.7
	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.4.0-1ubuntu1~22.04) 11.4.0
	Clang Version: NA
	i686-native-linuxapp-gcc

OS: RHEL89-64
	Kernel Version: 4.18.0-513.5.1.el8_9.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20)
	Clang Version: 16.0.6 (Red Hat 16.0.6-2.module+el8.9.0+19521+190d7aba)
	x86_64-native-linuxapp-gcc

OS: UB2204-64
	Kernel Version: 5.15.0-58-generic
	GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
	Clang Version: 14.0.0-1ubuntu1.1
	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: UB2310-64
	Kernel Version: 6.5.0-9-generic
	GCC Version: gcc (Ubuntu 13.2.0-4ubuntu3) 13.2.0
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: FC39-64
	Kernel Version: 6.5.6-300.fc39.x86_64
	GCC Version: gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3)
	Clang Version: 17.0.6 (Fedora 17.0.6-1.fc39)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: UB2204-64Rt
	Kernel Version: 5.17.5-051705-generic
	GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
	Clang Version: 14.0.0-1ubuntu1.1
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-clang
FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o 
clang -Idrivers/libtmp_rte_net_ice.a.p -Idrivers -I../drivers -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -Idrivers/common/iavf -I../drivers/common/iavf -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/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 -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o -c ../drivers/net/ice/ice_rxtx.c
../drivers/net/ice/ice_rxtx.c:4146:42: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                        "length: %hu, calculated length: %u", m->outer_l2_len,
                                 ~~~                          ^~~~~~~~~~~~~~~
                                 %d
../drivers/net/ice/base/../ice_logs.h:40:38: note: expanded from macro 'PMD_DRV_LOG'
        PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
                               ~~~          ^~~~
../drivers/net/ice/base/../ice_logs.h:37:16: note: expanded from macro 'PMD_DRV_LOG_RAW'
                __func__, ## args)
                             ^~~~
../drivers/net/ice/ice_rxtx.c:4152:41: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                        "length: %hu,calculated length: %u", m->outer_l3_len,
                                 ~~~                         ^~~~~~~~~~~~~~~
                                 %d
../drivers/net/ice/base/../ice_logs.h:40:38: note: expanded from macro 'PMD_DRV_LOG'
        PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
                               ~~~          ^~~~
../drivers/net/ice/base/../ice_logs.h:37:16: note: expanded from macro 'PMD_DRV_LOG_RAW'
                __func__, ## args)
                             ^~~~
../drivers/net/ice/ice_rxtx.c:4160:41: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                "length: %hu, calculated length: %u", m->l2_len,
                         ~~~                          ^~~~~~~~~
                         %d
../drivers/net/ice/base/../ice_logs.h:40:38: note: expanded from macro 'PMD_DRV_LOG'
        PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
                               ~~~          ^~~~
../drivers/net/ice/base/../ice_logs.h:37:16: note: expanded from macro 'PMD_DRV_LOG_RAW'
                __func__, ## args)
                             ^~~~
../drivers/net/ice/ice_rxtx.c:4166:41: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                "length: %hu, calculated length: %u", m->l3_len,
                         ~~~                          ^~~~~~~~~
                         %d
../drivers/net/ice/base/../ice_logs.h:40:38: note: expanded from macro 'PMD_DRV_LOG'
        PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
                               ~~~          ^~~~
../drivers/net/ice/base/../ice_logs.h:37:16: note: expanded from macro 'PMD_DRV_LOG_RAW'
                __func__, ## args)
                             ^~~~
../drivers/net/ice/ice_rxtx.c:4172:41: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                "length: %hu, calculated length: %u", m->l4_len,
                         ~~~                          ^~~~~~~~~
                         %d
../drivers/net/ice/base/../ice_logs.h:40:38: note: expanded from macro 'PMD_DRV_LOG'
        PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
                               ~~~          ^~~~
../drivers/net/ice/base/../ice_logs.h:37:16: note: expanded from macro 'PMD_DRV_LOG_RAW'
                __func__, ## args)
                             ^~~~
5 errors generated.
[1060/1914] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o
[1061/1914] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf.c.o
[1062/1914] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf_vf_representor.c.o
[1063/1914] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf_parent.c.o
[1064/1914] Compiling C object drivers/net/ice/libice_avx2_lib.a.p/ice_rxtx_vec_avx2.c.o
[1065/1914] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o
[1066/1914] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o
[1067/1914] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o
[1068/1914] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf_ethdev.c.o
ninja: build stopped




*Build Failed #2:
OS: RHEL92-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o 
clang -Idrivers/libtmp_rte_net_ice.a.p -Idrivers -I../drivers -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -Idrivers/common/iavf -I../drivers/common/iavf -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/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 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o -c ../drivers/net/ice/ice_rxtx.c
../drivers/net/ice/ice_rxtx.c:4146:42: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                        "length: %hu, calculated length: %u", m->outer_l2_len,
                                 ~~~                          ^~~~~~~~~~~~~~~
                                 %d
../drivers/net/ice/base/../ice_logs.h:40:38: note: expanded from macro 'PMD_DRV_LOG'
        PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
                               ~~~          ^~~~
../drivers/net/ice/base/../ice_logs.h:37:16: note: expanded from macro 'PMD_DRV_LOG_RAW'
                __func__, ## args)
                             ^~~~
../drivers/net/ice/ice_rxtx.c:4152:41: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                        "length: %hu,calculated length: %u", m->outer_l3_len,
                                 ~~~                         ^~~~~~~~~~~~~~~
                                 %d
../drivers/net/ice/base/../ice_logs.h:40:38: note: expanded from macro 'PMD_DRV_LOG'
        PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
                               ~~~          ^~~~
../drivers/net/ice/base/../ice_logs.h:37:16: note: expanded from macro 'PMD_DRV_LOG_RAW'
                __func__, ## args)
                             ^~~~
../drivers/net/ice/ice_rxtx.c:4160:41: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                "length: %hu, calculated length: %u", m->l2_len,
                         ~~~                          ^~~~~~~~~
                         %d
../drivers/net/ice/base/../ice_logs.h:40:38: note: expanded from macro 'PMD_DRV_LOG'
        PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
                               ~~~          ^~~~
../drivers/net/ice/base/../ice_logs.h:37:16: note: expanded from macro 'PMD_DRV_LOG_RAW'
                __func__, ## args)
                             ^~~~
../drivers/net/ice/ice_rxtx.c:4166:41: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                "length: %hu, calculated length: %u", m->l3_len,
                         ~~~                          ^~~~~~~~~
                         %d
../drivers/net/ice/base/../ice_logs.h:40:38: note: expanded from macro 'PMD_DRV_LOG'
        PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
                               ~~~          ^~~~
../drivers/net/ice/base/../ice_logs.h:37:16: note: expanded from macro 'PMD_DRV_LOG_RAW'
                __func__, ## args)
                             ^~~~
../drivers/net/ice/ice_rxtx.c:4172:41: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                "length: %hu, calculated length: %u", m->l4_len,
                         ~~~                          ^~~~~~~~~
                         %d
../drivers/net/ice/base/../ice_logs.h:40:38: note: expanded from macro 'PMD_DRV_LOG'
        PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
                               ~~~          ^~~~
../drivers/net/ice/base/../ice_logs.h:37:16: note: expanded from macro 'PMD_DRV_LOG_RAW'
                __func__, ## args)
                             ^~~~
5 errors generated.
[1524/2801] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o
[1525/2801] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_tm.c.o
[1526/2801] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o
[1527/2801] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o
[1528/2801] Compiling C object drivers/net/ice/libice_avx2_lib.a.p/ice_rxtx_vec_avx2.c.o
[1529/2801] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o
[1530/2801] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf.c.o
[1531/2801] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf_vf_representor.c.o
[1532/2801] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o
ninja: build stopped




*Build Failed #3:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o 
clang -Idrivers/libtmp_rte_net_ice.a.p -Idrivers -I../drivers -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -Idrivers/common/iavf -I../drivers/common/iavf -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/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 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o -c ../drivers/net/ice/ice_rxtx.c
../drivers/net/ice/ice_rxtx.c:4146:42: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                        "length: %hu, calculated length: %u", m->outer_l2_len,
                                 ~~~                          ^~~~~~~~~~~~~~~
                                 %d
../drivers/net/ice/base/../ice_logs.h:40:38: note: expanded from macro 'PMD_DRV_LOG'
        PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
                               ~~~          ^~~~
../drivers/net/ice/base/../ice_logs.h:37:16: note: expanded from macro 'PMD_DRV_LOG_RAW'
                __func__, ## args)
                             ^~~~
../drivers/net/ice/ice_rxtx.c:4152:41: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                        "length: %hu,calculated length: %u", m->outer_l3_len,
                                 ~~~                         ^~~~~~~~~~~~~~~
                                 %d
../drivers/net/ice/base/../ice_logs.h:40:38: note: expanded from macro 'PMD_DRV_LOG'
        PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
                               ~~~          ^~~~
../drivers/net/ice/base/../ice_logs.h:37:16: note: expanded from macro 'PMD_DRV_LOG_RAW'
                __func__, ## args)
                             ^~~~
../drivers/net/ice/ice_rxtx.c:4160:41: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                "length: %hu, calculated length: %u", m->l2_len,
                         ~~~                          ^~~~~~~~~
                         %d
../drivers/net/ice/base/../ice_logs.h:40:38: note: expanded from macro 'PMD_DRV_LOG'
        PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
                               ~~~          ^~~~
../drivers/net/ice/base/../ice_logs.h:37:16: note: expanded from macro 'PMD_DRV_LOG_RAW'
                __func__, ## args)
                             ^~~~
../drivers/net/ice/ice_rxtx.c:4166:41: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                "length: %hu, calculated length: %u", m->l3_len,
                         ~~~                          ^~~~~~~~~
                         %d
../drivers/net/ice/base/../ice_logs.h:40:38: note: expanded from macro 'PMD_DRV_LOG'
        PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
                               ~~~          ^~~~
../drivers/net/ice/base/../ice_logs.h:37:16: note: expanded from macro 'PMD_DRV_LOG_RAW'
                __func__, ## args)
                             ^~~~
../drivers/net/ice/ice_rxtx.c:4172:41: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                "length: %hu, calculated length: %u", m->l4_len,
                         ~~~                          ^~~~~~~~~
                         %d
../drivers/net/ice/base/../ice_logs.h:40:38: note: expanded from macro 'PMD_DRV_LOG'
        PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
                               ~~~          ^~~~
../drivers/net/ice/base/../ice_logs.h:37:16: note: expanded from macro 'PMD_DRV_LOG_RAW'
                __func__, ## args)
                             ^~~~
5 errors generated.
[1514/2859] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_fdir_filter.c.o
[1515/2859] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_tm.c.o
[1516/2859] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf_vf_representor.c.o
[1517/2859] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o
[1518/2859] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o
[1519/2859] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf.c.o
[1520/2859] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o
[1521/2859] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o
[1522/2859] Compiling C object drivers/net/ice/libice_avx2_lib.a.p/ice_rxtx_vec_avx2.c.o
ninja: build stopped




*Build Failed #4:
OS: UB2204-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o 
clang -Idrivers/libtmp_rte_net_ice.a.p -Idrivers -I../drivers -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -Idrivers/common/iavf -I../drivers/common/iavf -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/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 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o -c ../drivers/net/ice/ice_rxtx.c
../drivers/net/ice/ice_rxtx.c:4146:42: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                        "length: %hu, calculated length: %u", m->outer_l2_len,
                                 ~~~                          ^~~~~~~~~~~~~~~
                                 %d
../drivers/net/ice/base/../ice_logs.h:40:38: note: expanded from macro 'PMD_DRV_LOG'
        PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
                               ~~~          ^~~~
../drivers/net/ice/base/../ice_logs.h:37:16: note: expanded from macro 'PMD_DRV_LOG_RAW'
                __func__, ## args)
                             ^~~~
../drivers/net/ice/ice_rxtx.c:4152:41: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                        "length: %hu,calculated length: %u", m->outer_l3_len,
                                 ~~~                         ^~~~~~~~~~~~~~~
                                 %d
../drivers/net/ice/base/../ice_logs.h:40:38: note: expanded from macro 'PMD_DRV_LOG'
        PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
                               ~~~          ^~~~
../drivers/net/ice/base/../ice_logs.h:37:16: note: expanded from macro 'PMD_DRV_LOG_RAW'
                __func__, ## args)
                             ^~~~
../drivers/net/ice/ice_rxtx.c:4160:41: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                "length: %hu, calculated length: %u", m->l2_len,
                         ~~~                          ^~~~~~~~~
                         %d
../drivers/net/ice/base/../ice_logs.h:40:38: note: expanded from macro 'PMD_DRV_LOG'
        PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
                               ~~~          ^~~~
../drivers/net/ice/base/../ice_logs.h:37:16: note: expanded from macro 'PMD_DRV_LOG_RAW'
                __func__, ## args)
                             ^~~~
../drivers/net/ice/ice_rxtx.c:4166:41: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                "length: %hu, calculated length: %u", m->l3_len,
                         ~~~                          ^~~~~~~~~
                         %d
../drivers/net/ice/base/../ice_logs.h:40:38: note: expanded from macro 'PMD_DRV_LOG'
        PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
                               ~~~          ^~~~
../drivers/net/ice/base/../ice_logs.h:37:16: note: expanded from macro 'PMD_DRV_LOG_RAW'
                __func__, ## args)
                             ^~~~
../drivers/net/ice/ice_rxtx.c:4172:41: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                "length: %hu, calculated length: %u", m->l4_len,
                         ~~~                          ^~~~~~~~~
                         %d
../drivers/net/ice/base/../ice_logs.h:40:38: note: expanded from macro 'PMD_DRV_LOG'
        PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
                               ~~~          ^~~~
../drivers/net/ice/base/../ice_logs.h:37:16: note: expanded from macro 'PMD_DRV_LOG_RAW'
                __func__, ## args)
                             ^~~~
5 errors generated.
[1539/2887] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_fdir_filter.c.o
[1540/2887] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_tm.c.o
[1541/2887] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o
[1542/2887] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o
[1543/2887] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf.c.o
[1544/2887] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o
[1545/2887] Compiling C object drivers/net/ice/libice_avx2_lib.a.p/ice_rxtx_vec_avx2.c.o
[1546/2887] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o
[1547/2887] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf_ethdev.c.o
ninja: build stopped


DPDK STV team


More information about the test-report mailing list