compilation|FAILURE| pw(135182) sid(30545) job(PER_PATCH_BUILD10385)[v2] net/iavf: support rte flow with mask for FDIR

sys_stv at intel.com sys_stv at intel.com
Thu Dec 14 07:39:55 CET 2023


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

_Compilation issues_

Submitter: Zhichao Zeng <zhichaox.zeng at intel.com>
Date: 2023-12-14 06:08:18
Reply_mail: <20231214060819.2121735-1-zhichaox.zeng at intel.com>

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


Meson Build Summary: 25 Builds Done, 15 Successful, 10 Failures, 0 Blocked

+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os                | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.8-64  | pass       |              |            |            |           |          |            |
| FreeBSD13-64      | fail       | fail         |            | fail       | fail      |          |            |
| RHEL92-64         | pass       | fail         |            | pass       | pass      |          |            |
| SUSE15-64         | pass       | fail         |            |            |           |          |            |
| CBL-Mariner2.0-64 | pass       |              |            |            |           |          |            |
| UB2004-64         | pass       |              |            |            |           |          |            |
| UB2204-32         | pass       |              |            |            |           |          |            |
| RHEL87-64         | pass       |              |            |            |           |          |            |
| UB2204-64         | pass       | fail         |            |            |           | pass     | pass       |
| CentOS79-64       | pass       |              |            |            |           |          |            |
| RHEL92-64Rt       | pass       |              |            |            |           |          |            |
| UB2304-64         | fail       |              |            |            |           |          |            |
| FC38-64           | fail       | fail         |            |            |           |          |            |
| UB2204-64Rt       | pass       |              |            |            |           |          |            |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+

Comments: 
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. 
 
Test environment and configuration as below:


OS: OpenAnolis8.8-64
	Kernel Version: 5.10.134-13.an8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3)
	Clang Version: 13.0.1 (Anolis 13.0.1-2.0.2.module+an8.7.0+10996+1588f068)
	x86_64-native-linuxapp-gcc

OS: FreeBSD13-64
	Kernel Version: 13.2-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 12.2.0
	Clang Version: 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: RHEL92-64
	Kernel Version: 5.14.0-284.11.1.el9_2.x86_64
	GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
	Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug

OS: SUSE15-64
	Kernel Version: 5.14.21-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: RHEL87-64
	Kernel Version: 4.18.0-425.3.1.el8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-15)
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: UB2204-64
	Kernel Version: 5.15.0-58-generic
	GCC Version: gcc (Ubuntu 11.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: UB2304-64
	Kernel Version: 6.2.0-20-generic
	GCC Version: gcc (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: FC38-64
	Kernel Version: 6.2.9-300.fc38.x86_64
	GCC Version: gcc (GCC) 13.0.1 20230401 (Red Hat 13.0.1-0)
	Clang Version: 16.0.0 (Fedora 16.0.0-2.fc38)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: UB2204-64Rt
	Kernel Version: 5.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-gcc
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o 
gcc -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -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/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -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 -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -c ../drivers/net/iavf/iavf_fdir.c
../drivers/net/iavf/iavf_fdir.c: In function 'iavf_fdir_parse_pattern':
../drivers/net/iavf/iavf_fdir.c:1037:29: error: the comparison will always evaluate as 'true' for the address of 'src_addr' will never be NULL [-Werror=address]
 1037 |                         if (ipv6_mask->hdr.src_addr)
      |                             ^~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:25,
                 from ../lib/ethdev/rte_eth_ctrl.h:11,
                 from ../lib/ethdev/rte_ethdev.h:1452,
                 from ../lib/ethdev/ethdev_driver.h:25,
                 from ../drivers/net/iavf/iavf_fdir.c:14:
../lib/net/rte_ip.h:528:18: note: 'src_addr' declared here
  528 |         uint8_t  src_addr[16];  /**< IP address of source host. */
      |                  ^~~~~~~~
../drivers/net/iavf/iavf_fdir.c:1039:29: error: the comparison will always evaluate as 'true' for the address of 'dst_addr' will never be NULL [-Werror=address]
 1039 |                         if (ipv6_mask->hdr.dst_addr)
      |                             ^~~~~~~~~
../lib/net/rte_ip.h:529:18: note: 'dst_addr' declared here
  529 |         uint8_t  dst_addr[16];  /**< IP address of destination host(s). */
      |                  ^~~~~~~~
cc1: all warnings being treated as errors
[1232/1914] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o
[1233/1914] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ipsec_crypto.c.o
[1234/1914] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fsub.c.o
[1235/1914] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1236/1914] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1237/1914] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1238/1914] Compiling C object drivers/net/iavf/libiavf_avx2_lib.a.p/iavf_rxtx_vec_avx2.c.o
[1239/1914] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
[1240/1914] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #2:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-clang
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o 
clang -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -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/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -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 -Wno-strict-aliasing -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -c ../drivers/net/iavf/iavf_fdir.c
../drivers/net/iavf/iavf_fdir.c:1037:23: error: address of array 'ipv6_mask->hdr.src_addr' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                        if (ipv6_mask->hdr.src_addr)
                        ~~  ~~~~~~~~~~~~~~~^~~~~~~~
../drivers/net/iavf/iavf_fdir.c:1039:23: error: address of array 'ipv6_mask->hdr.dst_addr' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                        if (ipv6_mask->hdr.dst_addr)
                        ~~  ~~~~~~~~~~~~~~~^~~~~~~~
2 errors generated.
[1012/1914] Linking target drivers/librte_common_sfc_efx.so.24.1
[1013/1914] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1014/1914] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
[1015/1914] Compiling C object drivers/net/iavf/libiavf_avx2_lib.a.p/iavf_rxtx_vec_avx2.c.o
[1016/1914] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_nvm.c.o
[1017/1914] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_common.c.o
[1018/1914] Generating drivers/rte_net_i40e.sym_chk with a custom command (wrapped by meson to capture output)
[1019/1914] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_sched.c.o
[1020/1914] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_switch.c.o
ninja: build stopped




*Build Failed #3:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o 
gcc -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -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/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -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 -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -c ../drivers/net/iavf/iavf_fdir.c
../drivers/net/iavf/iavf_fdir.c: In function 'iavf_fdir_parse_pattern':
../drivers/net/iavf/iavf_fdir.c:1037:29: error: the comparison will always evaluate as 'true' for the address of 'src_addr' will never be NULL [-Werror=address]
 1037 |                         if (ipv6_mask->hdr.src_addr)
      |                             ^~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:25,
                 from ../lib/ethdev/rte_eth_ctrl.h:11,
                 from ../lib/ethdev/rte_ethdev.h:1452,
                 from ../lib/ethdev/ethdev_driver.h:25,
                 from ../drivers/net/iavf/iavf_fdir.c:14:
../lib/net/rte_ip.h:528:18: note: 'src_addr' declared here
  528 |         uint8_t  src_addr[16];  /**< IP address of source host. */
      |                  ^~~~~~~~
../drivers/net/iavf/iavf_fdir.c:1039:29: error: the comparison will always evaluate as 'true' for the address of 'dst_addr' will never be NULL [-Werror=address]
 1039 |                         if (ipv6_mask->hdr.dst_addr)
      |                             ^~~~~~~~~
../lib/net/rte_ip.h:529:18: note: 'dst_addr' declared here
  529 |         uint8_t  dst_addr[16];  /**< IP address of destination host(s). */
      |                  ^~~~~~~~
cc1: all warnings being treated as errors
[1022/1809] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_tm.c.o
[1023/1809] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1024/1809] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1025/1809] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ipsec_crypto.c.o
[1026/1809] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fsub.c.o
[1027/1809] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_controlq.c.o
[1028/1809] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1029/1809] Compiling C object drivers/net/iavf/libiavf_avx2_lib.a.p/iavf_rxtx_vec_avx2.c.o
[1030/1809] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
ninja: build stopped




*Build Failed #4:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o 
gcc -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -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/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -I/usr/local/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -c ../drivers/net/iavf/iavf_fdir.c
../drivers/net/iavf/iavf_fdir.c: In function 'iavf_fdir_parse_pattern':
../drivers/net/iavf/iavf_fdir.c:1037:29: error: the comparison will always evaluate as 'true' for the address of 'src_addr' will never be NULL [-Werror=address]
 1037 |                         if (ipv6_mask->hdr.src_addr)
      |                             ^~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:25,
                 from ../lib/ethdev/rte_eth_ctrl.h:11,
                 from ../lib/ethdev/rte_ethdev.h:1452,
                 from ../lib/ethdev/ethdev_driver.h:25,
                 from ../drivers/net/iavf/iavf_fdir.c:14:
../lib/net/rte_ip.h:528:18: note: 'src_addr' declared here
  528 |         uint8_t  src_addr[16];  /**< IP address of source host. */
      |                  ^~~~~~~~
../drivers/net/iavf/iavf_fdir.c:1039:29: error: the comparison will always evaluate as 'true' for the address of 'dst_addr' will never be NULL [-Werror=address]
 1039 |                         if (ipv6_mask->hdr.dst_addr)
      |                             ^~~~~~~~~
../lib/net/rte_ip.h:529:18: note: 'dst_addr' declared here
  529 |         uint8_t  dst_addr[16];  /**< IP address of destination host(s). */
      |                  ^~~~~~~~
cc1: all warnings being treated as errors
[1026/1962] Generating drivers/rte_net_i40e.pmd.c with a custom command
[1027/1962] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
[1028/1962] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o
[1029/1962] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ipsec_crypto.c.o
[1030/1962] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1031/1962] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fsub.c.o
[1032/1962] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1033/1962] Compiling C object drivers/net/iavf/libiavf_avx2_lib.a.p/iavf_rxtx_vec_avx2.c.o
[1034/1962] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
ninja: build stopped




*Build Failed #5:
OS: RHEL92-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o 
clang -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -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/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -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 -Wno-strict-aliasing -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -c ../drivers/net/iavf/iavf_fdir.c
../drivers/net/iavf/iavf_fdir.c:1037:23: error: address of array 'ipv6_mask->hdr.src_addr' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                        if (ipv6_mask->hdr.src_addr)
                        ~~  ~~~~~~~~~~~~~~~^~~~~~~~
../drivers/net/iavf/iavf_fdir.c:1039:23: error: address of array 'ipv6_mask->hdr.dst_addr' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                        if (ipv6_mask->hdr.dst_addr)
                        ~~  ~~~~~~~~~~~~~~~^~~~~~~~
2 errors generated.
[1465/2801] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_rte_pmd_i40e.c.o
[1466/2801] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
[1467/2801] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1468/2801] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
[1469/2801] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o
[1470/2801] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_tm.c.o
[1471/2801] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1472/2801] Compiling C object drivers/net/iavf/libiavf_avx2_lib.a.p/iavf_rxtx_vec_avx2.c.o
[1473/2801] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
ninja: build stopped




*Build Failed #6:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o 
clang -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -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/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -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 -Wno-strict-aliasing -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -c ../drivers/net/iavf/iavf_fdir.c
../drivers/net/iavf/iavf_fdir.c:1037:23: error: address of array 'ipv6_mask->hdr.src_addr' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                        if (ipv6_mask->hdr.src_addr)
                        ~~  ~~~~~~~~~~~~~~~^~~~~~~~
../drivers/net/iavf/iavf_fdir.c:1039:23: error: address of array 'ipv6_mask->hdr.dst_addr' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                        if (ipv6_mask->hdr.dst_addr)
                        ~~  ~~~~~~~~~~~~~~~^~~~~~~~
2 errors generated.
[1455/2859] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
[1456/2859] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
[1457/2859] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ipsec_crypto.c.o
[1458/2859] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1459/2859] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_tm.c.o
[1460/2859] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1461/2859] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o
[1462/2859] Compiling C object drivers/net/iavf/libiavf_avx2_lib.a.p/iavf_rxtx_vec_avx2.c.o
[1463/2859] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
ninja: build stopped




*Build Failed #7:
OS: UB2204-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o 
clang -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -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/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -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 -Wno-strict-aliasing -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -c ../drivers/net/iavf/iavf_fdir.c
../drivers/net/iavf/iavf_fdir.c:1037:23: error: address of array 'ipv6_mask->hdr.src_addr' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                        if (ipv6_mask->hdr.src_addr)
                        ~~  ~~~~~~~~~~~~~~~^~~~~~~~
../drivers/net/iavf/iavf_fdir.c:1039:23: error: address of array 'ipv6_mask->hdr.dst_addr' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                        if (ipv6_mask->hdr.dst_addr)
                        ~~  ~~~~~~~~~~~~~~~^~~~~~~~
2 errors generated.
[1479/2887] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o
[1480/2887] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
[1481/2887] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
[1482/2887] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1483/2887] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o
[1484/2887] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_tm.c.o
[1485/2887] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1486/2887] Compiling C object drivers/net/iavf/libiavf_avx2_lib.a.p/iavf_rxtx_vec_avx2.c.o
[1487/2887] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
ninja: build stopped




*Build Failed #8:
OS: UB2304-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o 
gcc -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -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/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -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 -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -c ../drivers/net/iavf/iavf_fdir.c
../drivers/net/iavf/iavf_fdir.c: In function ‘iavf_fdir_parse_pattern’:
../drivers/net/iavf/iavf_fdir.c:1037:29: error: the comparison will always evaluate as ‘true’ for the address of ‘src_addr’ will never be NULL [-Werror=address]
 1037 |                         if (ipv6_mask->hdr.src_addr)
      |                             ^~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:25,
                 from ../lib/ethdev/rte_eth_ctrl.h:11,
                 from ../lib/ethdev/rte_ethdev.h:1452,
                 from ../lib/ethdev/ethdev_driver.h:25,
                 from ../drivers/net/iavf/iavf_fdir.c:14:
../lib/net/rte_ip.h:528:18: note: ‘src_addr’ declared here
  528 |         uint8_t  src_addr[16];  /**< IP address of source host. */
      |                  ^~~~~~~~
../drivers/net/iavf/iavf_fdir.c:1039:29: error: the comparison will always evaluate as ‘true’ for the address of ‘dst_addr’ will never be NULL [-Werror=address]
 1039 |                         if (ipv6_mask->hdr.dst_addr)
      |                             ^~~~~~~~~
../lib/net/rte_ip.h:529:18: note: ‘dst_addr’ declared here
  529 |         uint8_t  dst_addr[16];  /**< IP address of destination host(s). */
      |                  ^~~~~~~~
cc1: all warnings being treated as errors
[1469/2887] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1470/2887] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ipsec_crypto.c.o
[1471/2887] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fsub.c.o
[1472/2887] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1473/2887] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_controlq.c.o
[1474/2887] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1475/2887] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_common.c.o
[1476/2887] Compiling C object drivers/net/iavf/libiavf_avx2_lib.a.p/iavf_rxtx_vec_avx2.c.o
[1477/2887] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
ninja: build stopped




*Build Failed #9:
OS: FC38-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o 
gcc -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -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/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -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 -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -c ../drivers/net/iavf/iavf_fdir.c
../drivers/net/iavf/iavf_fdir.c: In function ‘iavf_fdir_parse_pattern’:
../drivers/net/iavf/iavf_fdir.c:1037:29: error: the comparison will always evaluate as ‘true’ for the address of ‘src_addr’ will never be NULL [-Werror=address]
 1037 |                         if (ipv6_mask->hdr.src_addr)
      |                             ^~~~~~~~~
In file included from ../lib/ethdev/rte_flow.h:25,
                 from ../lib/ethdev/rte_eth_ctrl.h:11,
                 from ../lib/ethdev/rte_ethdev.h:1452,
                 from ../lib/ethdev/ethdev_driver.h:25,
                 from ../drivers/net/iavf/iavf_fdir.c:14:
../lib/net/rte_ip.h:528:18: note: ‘src_addr’ declared here
  528 |         uint8_t  src_addr[16];  /**< IP address of source host. */
      |                  ^~~~~~~~
../drivers/net/iavf/iavf_fdir.c:1039:29: error: the comparison will always evaluate as ‘true’ for the address of ‘dst_addr’ will never be NULL [-Werror=address]
 1039 |                         if (ipv6_mask->hdr.dst_addr)
      |                             ^~~~~~~~~
../lib/net/rte_ip.h:529:18: note: ‘dst_addr’ declared here
  529 |         uint8_t  dst_addr[16];  /**< IP address of destination host(s). */
      |                  ^~~~~~~~
cc1: all warnings being treated as errors
[1497/3054] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_tm.c.o
[1498/3054] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ipsec_crypto.c.o
[1499/3054] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o
[1500/3054] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fsub.c.o
[1501/3054] Generating drivers/rte_net_i40e.sym_chk with a custom command (wrapped by meson to capture output)
[1502/3054] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1503/3054] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1504/3054] Compiling C object drivers/net/iavf/libiavf_avx2_lib.a.p/iavf_rxtx_vec_avx2.c.o
[1505/3054] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
ninja: build stopped




*Build Failed #10:
OS: FC38-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o 
clang -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -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/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -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 -Wno-strict-aliasing -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -c ../drivers/net/iavf/iavf_fdir.c
../drivers/net/iavf/iavf_fdir.c:1037:23: error: address of array 'ipv6_mask->hdr.src_addr' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                        if (ipv6_mask->hdr.src_addr)
                        ~~  ~~~~~~~~~~~~~~~^~~~~~~~
../drivers/net/iavf/iavf_fdir.c:1039:23: error: address of array 'ipv6_mask->hdr.dst_addr' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                        if (ipv6_mask->hdr.dst_addr)
                        ~~  ~~~~~~~~~~~~~~~^~~~~~~~
2 errors generated.
[1485/3050] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_rte_pmd_i40e.c.o
[1486/3050] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o
[1487/3050] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
[1488/3050] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
[1489/3050] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1490/3050] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o
[1491/3050] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1492/3050] Compiling C object drivers/net/iavf/libiavf_avx2_lib.a.p/iavf_rxtx_vec_avx2.c.o
[1493/3050] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
ninja: build stopped


DPDK STV team


More information about the test-report mailing list