Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/100749 _Compilation issues_ Submitter: Ting Xu Date: 2021-10-08 07:09:34 Reply_mail: 20211008070934.6956-3-ting.xu@intel.com DPDK git baseline: Repo:dpdk-next-net-intel, CommitID: 62ecbe2566f276148d5c705bc24542d686a1fc0a Meson Build Summary: 20 Builds Done, 0 Successful, 20 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | +--------------+------------+--------------+------------+------------+-----------+----------+ | UB2004-64 | fail | fail | fail | | | fail | | FC34-64 | fail | fail | | | | | | UB2104-64 | fail | | | | | | | WIN10-64 | | fail | | | | | | UB2004-32 | fail | | | | | | | FreeBSD13-64 | fail | fail | | fail | fail | | | SUSE15-64 | fail | fail | | | | | | RHEL84-64 | fail | fail | fail | fail | fail | | +--------------+------------+--------------+------------+------------+-----------+----------+ Test environment and configuration as below: 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-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-icc x86_64-native-linuxapp-doc OS: FC34-64 Kernel Version: 5.11.15-300.fc34.x86_64 GCC Version: gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0) Clang Version: 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: UB2104-64 Kernel Version: 5.11.0-16-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0 Clang Version: 12.0.0-1ubuntu1 x86_64-native-linuxapp-gcc OS: WIN10-64 Kernel Version: N/A GCC Version: N/A Clang Version: Clang 8.0.0 x86_64-windows-clang OS: UB2004-32 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 i686-native-linuxapp-gcc OS: FreeBSD13-64 Kernel Version: 13.0-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 10.3.0 Clang Version: 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: SUSE15-64 Kernel Version: 5.3.18-lp152.57-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 9.0.1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: RHEL84-64 Kernel Version: 4.18.0-305.19.1.el8_4.x86_64 GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1) Clang Version: 11.0.0 (Red Hat 11.0.0-1.module_el8.4.0+587+5187cac0) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-icc *Build Failed #1: OS: FC34-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o gcc -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/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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:75:32: error: field ‘raw’ has incomplete type 75 | struct ice_rss_raw_cfg raw; | ^~~ ../drivers/net/ice/ice_hash.c:497:10: error: ‘pattern_raw’ undeclared here (not in a function); did you mean ‘pattern_empty’? 497 | {pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, NULL}, | ^~~~~~~~~~~ | pattern_empty ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_raw_pattern’: ../drivers/net/ice/ice_hash.c:726:30: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 726 | rte_memcpy(&meta->raw.prof, &prof, sizeof(prof)); | ^ | -> ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_action’: ../drivers/net/ice/ice_hash.c:1094:54: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1094 | rss_meta->raw.symm = true; | ^ | -> ../drivers/net/ice/ice_hash.c:1094:41: error: statement with no effect [-Werror=unused-value] 1094 | rss_meta->raw.symm = true; | ^~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_pattern_action’: ../drivers/net/ice/ice_hash.c:1187:34: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1187 | rss_meta_ptr->raw.raw_ena = true; | ^ | -> ../drivers/net/ice/ice_hash.c:1187:17: error: statement with no effect [-Werror=unused-value] 1187 | rss_meta_ptr->raw.raw_ena = true; | ^~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_create’: ../drivers/net/ice/ice_hash.c:1246:34: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1246 | if (rss_meta->raw.raw_ena) { | ^ | -> ../drivers/net/ice/ice_hash.c:1247:52: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ 1247 | memcpy(&filter_ptr->rss_cfg.raw, &rss_meta->raw, | ^ ../drivers/net/ice/ice_hash.c:1248:39: error: invalid application of ‘sizeof’ to incomplete type ‘struct ice_rss_raw_cfg’ 1248 | sizeof(struct ice_rss_raw_cfg)); | ^~~~~~ ../drivers/net/ice/ice_hash.c:1248:32: error: passing argument 3 of ‘memcpy’ makes integer from pointer without a cast [-Werror=int-conversion] 1248 | sizeof(struct ice_rss_raw_cfg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct ice_pattern_match_item * In file included from ../drivers/net/ice/ice_hash.c:9: /usr/include/string.h:44:29: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘struct ice_pattern_match_item *’ 44 | size_t __n) __THROW __nonnull ((1, 2)); | ~~~~~~~^~~ ../drivers/net/ice/ice_hash.c:1249:31: error: implicit declaration of function ‘ice_add_rss_raw_cfg’; did you mean ‘ice_add_rss_cfg’? [-Werror=implicit-function-declaration] 1249 | ret = ice_add_rss_raw_cfg(hw, &rss_meta->raw, | ^~~~~~~~~~~~~~~~~~~ | ice_add_rss_cfg ../drivers/net/ice/ice_hash.c:1249:31: error: nested extern declaration of ‘ice_add_rss_raw_cfg’ [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_destroy’: ../drivers/net/ice/ice_hash.c:1305:40: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ 1305 | if (filter_ptr->rss_cfg.raw.raw_ena) { | ^ ../drivers/net/ice/ice_hash.c:1305:44: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1305 | if (filter_ptr->rss_cfg.raw.raw_ena) { | ^ | -> ../drivers/net/ice/ice_hash.c:1307:25: error: implicit declaration of function ‘ice_rem_rss_raw_cfg’; did you mean ‘ice_rem_rss_cfg’? [-Werror=implicit-function-declaration] 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^~~~~~~~~~~~~~~~~~~ | ice_rem_rss_cfg ../drivers/net/ice/ice_hash.c:1307:25: error: nested extern declaration of ‘ice_rem_rss_raw_cfg’ [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c:1307:69: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^ ../drivers/net/ice/ice_hash.c:1307:73: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^ | -> cc1: all warnings being treated as errors [1522/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_generic_flow.c.o [1523/3065] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_parser_rt.c.o [1524/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_fdir_filter.c.o [1525/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o [1526/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o [1527/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o [1528/3065] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o [1529/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o [1530/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_avx2.c.o ninja: build stopped *Build Failed #2: OS: FC34-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.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/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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:75:25: error: field has incomplete type 'struct ice_rss_raw_cfg' struct ice_rss_raw_cfg raw; ^ ../drivers/net/ice/ice_hash.c:75:9: note: forward declaration of 'struct ice_rss_raw_cfg' struct ice_rss_raw_cfg raw; ^ ../drivers/net/ice/ice_hash.c:497:3: error: use of undeclared identifier 'pattern_raw' {pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, NULL}, ^ ../drivers/net/ice/ice_hash.c:578:15: error: invalid application of 'sizeof' to an incomplete type 'struct ice_pattern_match_item []' .array_len = RTE_DIM(ice_hash_pattern_list), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:819:28: note: expanded from macro 'RTE_DIM' #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^~~ ../drivers/net/ice/ice_hash.c:1247:32: error: no member named 'raw' in 'struct ice_rss_cfg' memcpy(&filter_ptr->rss_cfg.raw, &rss_meta->raw, ~~~~~~~~~~~~~~~~~~~ ^ ../drivers/net/ice/ice_hash.c:1248:11: error: invalid application of 'sizeof' to an incomplete type 'struct ice_rss_raw_cfg' sizeof(struct ice_rss_raw_cfg)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:75:9: note: forward declaration of 'struct ice_rss_raw_cfg' struct ice_rss_raw_cfg raw; ^ ../drivers/net/ice/ice_hash.c:1249:10: error: implicit declaration of function 'ice_add_rss_raw_cfg' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ret = ice_add_rss_raw_cfg(hw, &rss_meta->raw, ^ ../drivers/net/ice/ice_hash.c:1249:10: note: did you mean 'ice_add_rss_cfg'? ../drivers/net/ice/base/ice_flow.h:579:1: note: 'ice_add_rss_cfg' declared here ice_add_rss_cfg(struct ice_hw *hw, u16 vsi_handle, ^ ../drivers/net/ice/ice_hash.c:1305:27: error: no member named 'raw' in 'struct ice_rss_cfg' if (filter_ptr->rss_cfg.raw.raw_ena) { ~~~~~~~~~~~~~~~~~~~ ^ ../drivers/net/ice/ice_hash.c:1307:4: error: implicit declaration of function 'ice_rem_rss_raw_cfg' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^ ../drivers/net/ice/ice_hash.c:1307:49: error: no member named 'raw' in 'struct ice_rss_cfg' ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ~~~~~~~~~~~~~~~~~~~ ^ 9 errors generated. [1524/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_acl_filter.c.o [1525/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_generic_flow.c.o [1526/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o [1527/3065] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o [1528/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_fdir_filter.c.o [1529/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o [1530/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o [1531/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o [1532/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_avx2.c.o ninja: build stopped *Build Failed #3: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o gcc -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/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 -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:75:25: error: field 'raw' has incomplete type 75 | struct ice_rss_raw_cfg raw; | ^~~ ../drivers/net/ice/ice_hash.c:497:3: error: 'pattern_raw' undeclared here (not in a function); did you mean 'pattern_empty'? 497 | {pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, NULL}, | ^~~~~~~~~~~ | pattern_empty ../drivers/net/ice/ice_hash.c: In function 'ice_hash_parse_raw_pattern': ../drivers/net/ice/ice_hash.c:726:23: error: '(struct ice_pattern_match_item *)&' is a pointer; did you mean to use '->'? 726 | rte_memcpy(&meta->raw.prof, &prof, sizeof(prof)); | ^ | -> ../drivers/net/ice/ice_hash.c: In function 'ice_hash_parse_action': ../drivers/net/ice/ice_hash.c:1094:19: error: '(struct ice_pattern_match_item *)&' is a pointer; did you mean to use '->'? 1094 | rss_meta->raw.symm = true; | ^ | -> ../drivers/net/ice/ice_hash.c:1094:6: error: statement with no effect [-Werror=unused-value] 1094 | rss_meta->raw.symm = true; | ^~~~~~~~ ../drivers/net/ice/ice_hash.c: In function 'ice_hash_parse_pattern_action': ../drivers/net/ice/ice_hash.c:1187:20: error: '(struct ice_pattern_match_item *)&' is a pointer; did you mean to use '->'? 1187 | rss_meta_ptr->raw.raw_ena = true; | ^ | -> ../drivers/net/ice/ice_hash.c:1187:3: error: statement with no effect [-Werror=unused-value] 1187 | rss_meta_ptr->raw.raw_ena = true; | ^~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function 'ice_hash_create': ../drivers/net/ice/ice_hash.c:1246:20: error: '(struct ice_pattern_match_item *)&' is a pointer; did you mean to use '->'? 1246 | if (rss_meta->raw.raw_ena) { | ^ | -> ../drivers/net/ice/ice_hash.c:1247:31: error: 'struct ice_rss_cfg' has no member named 'raw' 1247 | memcpy(&filter_ptr->rss_cfg.raw, &rss_meta->raw, | ^ ../drivers/net/ice/ice_hash.c:1248:18: error: invalid application of 'sizeof' to incomplete type 'struct ice_rss_raw_cfg' 1248 | sizeof(struct ice_rss_raw_cfg)); | ^~~~~~ ../drivers/net/ice/ice_hash.c:1248:11: error: passing argument 3 of 'memcpy' makes integer from pointer without a cast [-Werror=int-conversion] 1248 | sizeof(struct ice_rss_raw_cfg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct ice_pattern_match_item * In file included from ../drivers/net/ice/ice_hash.c:9: /usr/include/string.h:64:58: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'struct ice_pattern_match_item *' 64 | void *memcpy(void * __restrict, const void * __restrict, size_t); | ^~~~~~ ../drivers/net/ice/ice_hash.c:1249:10: error: implicit declaration of function 'ice_add_rss_raw_cfg'; did you mean 'ice_add_rss_cfg'? [-Werror=implicit-function-declaration] 1249 | ret = ice_add_rss_raw_cfg(hw, &rss_meta->raw, | ^~~~~~~~~~~~~~~~~~~ | ice_add_rss_cfg ../drivers/net/ice/ice_hash.c:1249:10: error: nested extern declaration of 'ice_add_rss_raw_cfg' [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c: In function 'ice_hash_destroy': ../drivers/net/ice/ice_hash.c:1305:26: error: 'struct ice_rss_cfg' has no member named 'raw' 1305 | if (filter_ptr->rss_cfg.raw.raw_ena) { | ^ ../drivers/net/ice/ice_hash.c:1305:30: error: '(struct ice_pattern_match_item *)&' is a pointer; did you mean to use '->'? 1305 | if (filter_ptr->rss_cfg.raw.raw_ena) { | ^ | -> ../drivers/net/ice/ice_hash.c:1307:4: error: implicit declaration of function 'ice_rem_rss_raw_cfg'; did you mean 'ice_rem_rss_cfg'? [-Werror=implicit-function-declaration] 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^~~~~~~~~~~~~~~~~~~ | ice_rem_rss_cfg ../drivers/net/ice/ice_hash.c:1307:4: error: nested extern declaration of 'ice_rem_rss_raw_cfg' [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c:1307:48: error: 'struct ice_rss_cfg' has no member named 'raw' 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^ ../drivers/net/ice/ice_hash.c:1307:52: error: '(struct ice_pattern_match_item *)&' is a pointer; did you mean to use '->'? 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^ | -> cc1: all warnings being treated as errors [1133/2161] Generating rte_net_iavf.sym_chk with a custom command (wrapped by meson to capture output) [1134/2161] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o [1135/2161] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o [1136/2161] Generating rte_net_i40e.sym_chk with a custom command (wrapped by meson to capture output) [1137/2161] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o [1138/2161] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o [1139/2161] Generating rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output) [1140/2161] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o [1141/2161] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_avx2.c.o ninja: build stopped *Build Failed #4: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-clang FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.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/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 -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:75:25: error: field has incomplete type 'struct ice_rss_raw_cfg' struct ice_rss_raw_cfg raw; ^ ../drivers/net/ice/ice_hash.c:75:9: note: forward declaration of 'struct ice_rss_raw_cfg' struct ice_rss_raw_cfg raw; ^ ../drivers/net/ice/ice_hash.c:497:3: error: use of undeclared identifier 'pattern_raw' {pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, NULL}, ^ ../drivers/net/ice/ice_hash.c:578:15: error: invalid application of 'sizeof' to an incomplete type 'struct ice_pattern_match_item []' .array_len = RTE_DIM(ice_hash_pattern_list), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:819:28: note: expanded from macro 'RTE_DIM' #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^~~ ../drivers/net/ice/ice_hash.c:1247:32: error: no member named 'raw' in 'struct ice_rss_cfg' memcpy(&filter_ptr->rss_cfg.raw, &rss_meta->raw, ~~~~~~~~~~~~~~~~~~~ ^ ../drivers/net/ice/ice_hash.c:1248:11: error: invalid application of 'sizeof' to an incomplete type 'struct ice_rss_raw_cfg' sizeof(struct ice_rss_raw_cfg)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:75:9: note: forward declaration of 'struct ice_rss_raw_cfg' struct ice_rss_raw_cfg raw; ^ ../drivers/net/ice/ice_hash.c:1249:10: error: implicit declaration of function 'ice_add_rss_raw_cfg' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ret = ice_add_rss_raw_cfg(hw, &rss_meta->raw, ^ ../drivers/net/ice/ice_hash.c:1249:10: note: did you mean 'ice_add_rss_cfg'? ../drivers/net/ice/base/ice_flow.h:579:1: note: 'ice_add_rss_cfg' declared here ice_add_rss_cfg(struct ice_hw *hw, u16 vsi_handle, ^ ../drivers/net/ice/ice_hash.c:1305:27: error: no member named 'raw' in 'struct ice_rss_cfg' if (filter_ptr->rss_cfg.raw.raw_ena) { ~~~~~~~~~~~~~~~~~~~ ^ ../drivers/net/ice/ice_hash.c:1307:4: error: implicit declaration of function 'ice_rem_rss_raw_cfg' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^ ../drivers/net/ice/ice_hash.c:1307:49: error: no member named 'raw' in 'struct ice_rss_cfg' ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ~~~~~~~~~~~~~~~~~~~ ^ 9 errors generated. [1122/2133] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o [1123/2133] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o [1124/2133] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf_vf_representor.c.o [1125/2133] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf.c.o [1126/2133] Generating rte_net_i40e.sym_chk with a custom command (wrapped by meson to capture output) [1127/2133] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf_ethdev.c.o [1128/2133] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o [1129/2133] Generating rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output) [1130/2133] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_avx2.c.o ninja: build stopped *Build Failed #5: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o gcc -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/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 -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:75:25: error: field 'raw' has incomplete type 75 | struct ice_rss_raw_cfg raw; | ^~~ ../drivers/net/ice/ice_hash.c:497:3: error: 'pattern_raw' undeclared here (not in a function); did you mean 'pattern_empty'? 497 | {pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, NULL}, | ^~~~~~~~~~~ | pattern_empty ../drivers/net/ice/ice_hash.c: In function 'ice_hash_parse_raw_pattern': ../drivers/net/ice/ice_hash.c:726:23: error: '(struct ice_pattern_match_item *)&' is a pointer; did you mean to use '->'? 726 | rte_memcpy(&meta->raw.prof, &prof, sizeof(prof)); | ^ | -> ../drivers/net/ice/ice_hash.c: In function 'ice_hash_parse_action': ../drivers/net/ice/ice_hash.c:1094:19: error: '(struct ice_pattern_match_item *)&' is a pointer; did you mean to use '->'? 1094 | rss_meta->raw.symm = true; | ^ | -> ../drivers/net/ice/ice_hash.c:1094:6: error: statement with no effect [-Werror=unused-value] 1094 | rss_meta->raw.symm = true; | ^~~~~~~~ ../drivers/net/ice/ice_hash.c: In function 'ice_hash_parse_pattern_action': ../drivers/net/ice/ice_hash.c:1187:20: error: '(struct ice_pattern_match_item *)&' is a pointer; did you mean to use '->'? 1187 | rss_meta_ptr->raw.raw_ena = true; | ^ | -> ../drivers/net/ice/ice_hash.c:1187:3: error: statement with no effect [-Werror=unused-value] 1187 | rss_meta_ptr->raw.raw_ena = true; | ^~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function 'ice_hash_create': ../drivers/net/ice/ice_hash.c:1246:20: error: '(struct ice_pattern_match_item *)&' is a pointer; did you mean to use '->'? 1246 | if (rss_meta->raw.raw_ena) { | ^ | -> ../drivers/net/ice/ice_hash.c:1247:31: error: 'struct ice_rss_cfg' has no member named 'raw' 1247 | memcpy(&filter_ptr->rss_cfg.raw, &rss_meta->raw, | ^ ../drivers/net/ice/ice_hash.c:1248:18: error: invalid application of 'sizeof' to incomplete type 'struct ice_rss_raw_cfg' 1248 | sizeof(struct ice_rss_raw_cfg)); | ^~~~~~ ../drivers/net/ice/ice_hash.c:1248:11: error: passing argument 3 of 'memcpy' makes integer from pointer without a cast [-Werror=int-conversion] 1248 | sizeof(struct ice_rss_raw_cfg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct ice_pattern_match_item * In file included from ../drivers/net/ice/ice_hash.c:9: /usr/include/string.h:64:58: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'struct ice_pattern_match_item *' 64 | void *memcpy(void * __restrict, const void * __restrict, size_t); | ^~~~~~ ../drivers/net/ice/ice_hash.c:1249:10: error: implicit declaration of function 'ice_add_rss_raw_cfg'; did you mean 'ice_add_rss_cfg'? [-Werror=implicit-function-declaration] 1249 | ret = ice_add_rss_raw_cfg(hw, &rss_meta->raw, | ^~~~~~~~~~~~~~~~~~~ | ice_add_rss_cfg ../drivers/net/ice/ice_hash.c:1249:10: error: nested extern declaration of 'ice_add_rss_raw_cfg' [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c: In function 'ice_hash_destroy': ../drivers/net/ice/ice_hash.c:1305:26: error: 'struct ice_rss_cfg' has no member named 'raw' 1305 | if (filter_ptr->rss_cfg.raw.raw_ena) { | ^ ../drivers/net/ice/ice_hash.c:1305:30: error: '(struct ice_pattern_match_item *)&' is a pointer; did you mean to use '->'? 1305 | if (filter_ptr->rss_cfg.raw.raw_ena) { | ^ | -> ../drivers/net/ice/ice_hash.c:1307:4: error: implicit declaration of function 'ice_rem_rss_raw_cfg'; did you mean 'ice_rem_rss_cfg'? [-Werror=implicit-function-declaration] 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^~~~~~~~~~~~~~~~~~~ | ice_rem_rss_cfg ../drivers/net/ice/ice_hash.c:1307:4: error: nested extern declaration of 'ice_rem_rss_raw_cfg' [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c:1307:48: error: 'struct ice_rss_cfg' has no member named 'raw' 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^ ../drivers/net/ice/ice_hash.c:1307:52: error: '(struct ice_pattern_match_item *)&' is a pointer; did you mean to use '->'? 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^ | -> cc1: all warnings being treated as errors [1138/2014] Generating rte_net_iavf.sym_chk with a custom command (wrapped by meson to capture output) [1139/2014] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o [1140/2014] Generating rte_net_i40e.sym_chk with a custom command (wrapped by meson to capture output) [1141/2014] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o [1142/2014] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o [1143/2014] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o [1144/2014] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o [1145/2014] Generating rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output) [1146/2014] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_avx2.c.o ninja: build stopped *Build Failed #6: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o gcc -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/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 -Werror -O2 -g -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:75:25: error: field 'raw' has incomplete type 75 | struct ice_rss_raw_cfg raw; | ^~~ ../drivers/net/ice/ice_hash.c:497:3: error: 'pattern_raw' undeclared here (not in a function); did you mean 'pattern_empty'? 497 | {pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, NULL}, | ^~~~~~~~~~~ | pattern_empty ../drivers/net/ice/ice_hash.c: In function 'ice_hash_parse_raw_pattern': ../drivers/net/ice/ice_hash.c:726:23: error: '(struct ice_pattern_match_item *)&' is a pointer; did you mean to use '->'? 726 | rte_memcpy(&meta->raw.prof, &prof, sizeof(prof)); | ^ | -> ../drivers/net/ice/ice_hash.c: In function 'ice_hash_parse_action': ../drivers/net/ice/ice_hash.c:1094:19: error: '(struct ice_pattern_match_item *)&' is a pointer; did you mean to use '->'? 1094 | rss_meta->raw.symm = true; | ^ | -> ../drivers/net/ice/ice_hash.c:1094:6: error: statement with no effect [-Werror=unused-value] 1094 | rss_meta->raw.symm = true; | ^~~~~~~~ ../drivers/net/ice/ice_hash.c: In function 'ice_hash_parse_pattern_action': ../drivers/net/ice/ice_hash.c:1187:20: error: '(struct ice_pattern_match_item *)&' is a pointer; did you mean to use '->'? 1187 | rss_meta_ptr->raw.raw_ena = true; | ^ | -> ../drivers/net/ice/ice_hash.c:1187:3: error: statement with no effect [-Werror=unused-value] 1187 | rss_meta_ptr->raw.raw_ena = true; | ^~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function 'ice_hash_create': ../drivers/net/ice/ice_hash.c:1246:20: error: '(struct ice_pattern_match_item *)&' is a pointer; did you mean to use '->'? 1246 | if (rss_meta->raw.raw_ena) { | ^ | -> ../drivers/net/ice/ice_hash.c:1247:31: error: 'struct ice_rss_cfg' has no member named 'raw' 1247 | memcpy(&filter_ptr->rss_cfg.raw, &rss_meta->raw, | ^ ../drivers/net/ice/ice_hash.c:1248:18: error: invalid application of 'sizeof' to incomplete type 'struct ice_rss_raw_cfg' 1248 | sizeof(struct ice_rss_raw_cfg)); | ^~~~~~ ../drivers/net/ice/ice_hash.c:1248:11: error: passing argument 3 of 'memcpy' makes integer from pointer without a cast [-Werror=int-conversion] 1248 | sizeof(struct ice_rss_raw_cfg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct ice_pattern_match_item * In file included from ../drivers/net/ice/ice_hash.c:9: /usr/include/string.h:64:58: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'struct ice_pattern_match_item *' 64 | void *memcpy(void * __restrict, const void * __restrict, size_t); | ^~~~~~ ../drivers/net/ice/ice_hash.c:1249:10: error: implicit declaration of function 'ice_add_rss_raw_cfg'; did you mean 'ice_add_rss_cfg'? [-Werror=implicit-function-declaration] 1249 | ret = ice_add_rss_raw_cfg(hw, &rss_meta->raw, | ^~~~~~~~~~~~~~~~~~~ | ice_add_rss_cfg ../drivers/net/ice/ice_hash.c:1249:10: error: nested extern declaration of 'ice_add_rss_raw_cfg' [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c: In function 'ice_hash_destroy': ../drivers/net/ice/ice_hash.c:1305:26: error: 'struct ice_rss_cfg' has no member named 'raw' 1305 | if (filter_ptr->rss_cfg.raw.raw_ena) { | ^ ../drivers/net/ice/ice_hash.c:1305:30: error: '(struct ice_pattern_match_item *)&' is a pointer; did you mean to use '->'? 1305 | if (filter_ptr->rss_cfg.raw.raw_ena) { | ^ | -> ../drivers/net/ice/ice_hash.c:1307:4: error: implicit declaration of function 'ice_rem_rss_raw_cfg'; did you mean 'ice_rem_rss_cfg'? [-Werror=implicit-function-declaration] 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^~~~~~~~~~~~~~~~~~~ | ice_rem_rss_cfg ../drivers/net/ice/ice_hash.c:1307:4: error: nested extern declaration of 'ice_rem_rss_raw_cfg' [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c:1307:48: error: 'struct ice_rss_cfg' has no member named 'raw' 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^ ../drivers/net/ice/ice_hash.c:1307:52: error: '(struct ice_pattern_match_item *)&' is a pointer; did you mean to use '->'? 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^ | -> cc1: all warnings being treated as errors [1117/2133] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_generic_flow.c.o [1118/2133] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_fdir_filter.c.o [1119/2133] Generating rte_net_i40e.sym_chk with a custom command (wrapped by meson to capture output) [1120/2133] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o [1121/2133] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o [1122/2133] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o [1123/2133] Generating rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output) [1124/2133] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o [1125/2133] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o ninja: build stopped *Build Failed #7: OS: RHEL84-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o gcc -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/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 -Werror -O3 -include rte_config.h -Wextra -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:75:25: error: field ‘raw’ has incomplete type struct ice_rss_raw_cfg raw; ^~~ ../drivers/net/ice/ice_hash.c:497:3: error: ‘pattern_raw’ undeclared here (not in a function); did you mean ‘pattern_empty’? {pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, NULL}, ^~~~~~~~~~~ pattern_empty ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_raw_pattern’: ../drivers/net/ice/ice_hash.c:726:23: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? rte_memcpy(&meta->raw.prof, &prof, sizeof(prof)); ^ -> ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_action’: ../drivers/net/ice/ice_hash.c:1094:19: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? rss_meta->raw.symm = true; ^ -> ../drivers/net/ice/ice_hash.c:1094:6: error: statement with no effect [-Werror=unused-value] rss_meta->raw.symm = true; ^~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_pattern_action’: ../drivers/net/ice/ice_hash.c:1187:20: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? rss_meta_ptr->raw.raw_ena = true; ^ -> ../drivers/net/ice/ice_hash.c:1187:3: error: statement with no effect [-Werror=unused-value] rss_meta_ptr->raw.raw_ena = true; ^~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_create’: ../drivers/net/ice/ice_hash.c:1246:20: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? if (rss_meta->raw.raw_ena) { ^ -> ../drivers/net/ice/ice_hash.c:1247:31: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ memcpy(&filter_ptr->rss_cfg.raw, &rss_meta->raw, ^ ../drivers/net/ice/ice_hash.c:1248:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct ice_rss_raw_cfg’ sizeof(struct ice_rss_raw_cfg)); ^~~~~~ ../drivers/net/ice/ice_hash.c:1248:11: error: passing argument 3 of ‘memcpy’ makes integer from pointer without a cast [-Werror=int-conversion] sizeof(struct ice_rss_raw_cfg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ice/ice_hash.c:9: /usr/include/string.h:43:14: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘struct ice_pattern_match_item *’ extern void *memcpy (void *__restrict __dest, const void *__restrict __src, ^~~~~~ ../drivers/net/ice/ice_hash.c:1249:10: error: implicit declaration of function ‘ice_add_rss_raw_cfg’; did you mean ‘ice_add_rss_cfg’? [-Werror=implicit-function-declaration] ret = ice_add_rss_raw_cfg(hw, &rss_meta->raw, ^~~~~~~~~~~~~~~~~~~ ice_add_rss_cfg ../drivers/net/ice/ice_hash.c:1249:10: error: nested extern declaration of ‘ice_add_rss_raw_cfg’ [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_destroy’: ../drivers/net/ice/ice_hash.c:1305:26: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ if (filter_ptr->rss_cfg.raw.raw_ena) { ^ ../drivers/net/ice/ice_hash.c:1305:30: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? if (filter_ptr->rss_cfg.raw.raw_ena) { ^ -> ../drivers/net/ice/ice_hash.c:1307:4: error: implicit declaration of function ‘ice_rem_rss_raw_cfg’; did you mean ‘ice_rem_rss_cfg’? [-Werror=implicit-function-declaration] ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^~~~~~~~~~~~~~~~~~~ ice_rem_rss_cfg ../drivers/net/ice/ice_hash.c:1307:4: error: nested extern declaration of ‘ice_rem_rss_raw_cfg’ [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c:1307:48: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^ ../drivers/net/ice/ice_hash.c:1307:52: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^ -> cc1: all warnings being treated as errors [1524/2995] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_acl_filter.c.o [1525/2995] Generating rte_net_iavf.sym_chk with a custom command (wrapped by meson to capture output) [1526/2995] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o [1527/2995] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_fdir_filter.c.o [1528/2995] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_generic_flow.c.o [1529/2995] Generating rte_net_i40e.sym_chk with a custom command (wrapped by meson to capture output) [1530/2995] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o [1531/2995] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o [1532/2995] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o ninja: build stopped *Build Failed #8: OS: RHEL84-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.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/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 -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:75:25: error: field has incomplete type 'struct ice_rss_raw_cfg' struct ice_rss_raw_cfg raw; ^ ../drivers/net/ice/ice_hash.c:75:9: note: forward declaration of 'struct ice_rss_raw_cfg' struct ice_rss_raw_cfg raw; ^ ../drivers/net/ice/ice_hash.c:497:3: error: use of undeclared identifier 'pattern_raw' {pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, NULL}, ^ ../drivers/net/ice/ice_hash.c:578:15: error: invalid application of 'sizeof' to an incomplete type 'struct ice_pattern_match_item []' .array_len = RTE_DIM(ice_hash_pattern_list), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:819:28: note: expanded from macro 'RTE_DIM' #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^~~ ../drivers/net/ice/ice_hash.c:1247:32: error: no member named 'raw' in 'struct ice_rss_cfg' memcpy(&filter_ptr->rss_cfg.raw, &rss_meta->raw, ~~~~~~~~~~~~~~~~~~~ ^ ../drivers/net/ice/ice_hash.c:1248:11: error: invalid application of 'sizeof' to an incomplete type 'struct ice_rss_raw_cfg' sizeof(struct ice_rss_raw_cfg)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:75:9: note: forward declaration of 'struct ice_rss_raw_cfg' struct ice_rss_raw_cfg raw; ^ ../drivers/net/ice/ice_hash.c:1249:10: error: implicit declaration of function 'ice_add_rss_raw_cfg' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ret = ice_add_rss_raw_cfg(hw, &rss_meta->raw, ^ ../drivers/net/ice/ice_hash.c:1249:10: note: did you mean 'ice_add_rss_cfg'? ../drivers/net/ice/base/ice_flow.h:579:1: note: 'ice_add_rss_cfg' declared here ice_add_rss_cfg(struct ice_hw *hw, u16 vsi_handle, ^ ../drivers/net/ice/ice_hash.c:1305:27: error: no member named 'raw' in 'struct ice_rss_cfg' if (filter_ptr->rss_cfg.raw.raw_ena) { ~~~~~~~~~~~~~~~~~~~ ^ ../drivers/net/ice/ice_hash.c:1307:4: error: implicit declaration of function 'ice_rem_rss_raw_cfg' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^ ../drivers/net/ice/ice_hash.c:1307:49: error: no member named 'raw' in 'struct ice_rss_cfg' ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ~~~~~~~~~~~~~~~~~~~ ^ 9 errors generated. [1526/2995] Generating rte_net_iavf.sym_chk with a custom command (wrapped by meson to capture output) [1527/2995] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_parser_rt.c.o [1528/2995] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_acl_filter.c.o [1529/2995] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_generic_flow.c.o [1530/2995] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_fdir_filter.c.o [1531/2995] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o [1532/2995] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o [1533/2995] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o [1534/2995] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o ninja: build stopped *Build Failed #9: OS: RHEL84-64 Target: x86_64-native-linuxapp-gcc+shared FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o gcc -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/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 -Werror -O3 -include rte_config.h -Wextra -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:75:25: error: field ‘raw’ has incomplete type struct ice_rss_raw_cfg raw; ^~~ ../drivers/net/ice/ice_hash.c:497:3: error: ‘pattern_raw’ undeclared here (not in a function); did you mean ‘pattern_empty’? {pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, NULL}, ^~~~~~~~~~~ pattern_empty ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_raw_pattern’: ../drivers/net/ice/ice_hash.c:726:23: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? rte_memcpy(&meta->raw.prof, &prof, sizeof(prof)); ^ -> ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_action’: ../drivers/net/ice/ice_hash.c:1094:19: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? rss_meta->raw.symm = true; ^ -> ../drivers/net/ice/ice_hash.c:1094:6: error: statement with no effect [-Werror=unused-value] rss_meta->raw.symm = true; ^~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_pattern_action’: ../drivers/net/ice/ice_hash.c:1187:20: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? rss_meta_ptr->raw.raw_ena = true; ^ -> ../drivers/net/ice/ice_hash.c:1187:3: error: statement with no effect [-Werror=unused-value] rss_meta_ptr->raw.raw_ena = true; ^~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_create’: ../drivers/net/ice/ice_hash.c:1246:20: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? if (rss_meta->raw.raw_ena) { ^ -> ../drivers/net/ice/ice_hash.c:1247:31: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ memcpy(&filter_ptr->rss_cfg.raw, &rss_meta->raw, ^ ../drivers/net/ice/ice_hash.c:1248:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct ice_rss_raw_cfg’ sizeof(struct ice_rss_raw_cfg)); ^~~~~~ ../drivers/net/ice/ice_hash.c:1248:11: error: passing argument 3 of ‘memcpy’ makes integer from pointer without a cast [-Werror=int-conversion] sizeof(struct ice_rss_raw_cfg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ice/ice_hash.c:9: /usr/include/string.h:43:14: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘struct ice_pattern_match_item *’ extern void *memcpy (void *__restrict __dest, const void *__restrict __src, ^~~~~~ ../drivers/net/ice/ice_hash.c:1249:10: error: implicit declaration of function ‘ice_add_rss_raw_cfg’; did you mean ‘ice_add_rss_cfg’? [-Werror=implicit-function-declaration] ret = ice_add_rss_raw_cfg(hw, &rss_meta->raw, ^~~~~~~~~~~~~~~~~~~ ice_add_rss_cfg ../drivers/net/ice/ice_hash.c:1249:10: error: nested extern declaration of ‘ice_add_rss_raw_cfg’ [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_destroy’: ../drivers/net/ice/ice_hash.c:1305:26: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ if (filter_ptr->rss_cfg.raw.raw_ena) { ^ ../drivers/net/ice/ice_hash.c:1305:30: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? if (filter_ptr->rss_cfg.raw.raw_ena) { ^ -> ../drivers/net/ice/ice_hash.c:1307:4: error: implicit declaration of function ‘ice_rem_rss_raw_cfg’; did you mean ‘ice_rem_rss_cfg’? [-Werror=implicit-function-declaration] ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^~~~~~~~~~~~~~~~~~~ ice_rem_rss_cfg ../drivers/net/ice/ice_hash.c:1307:4: error: nested extern declaration of ‘ice_rem_rss_raw_cfg’ [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c:1307:48: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^ ../drivers/net/ice/ice_hash.c:1307:52: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^ -> cc1: all warnings being treated as errors [1546/2828] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_acl_filter.c.o [1547/2828] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_parser_rt.c.o [1548/2828] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_generic_flow.c.o [1549/2828] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_fdir_filter.c.o [1550/2828] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o [1551/2828] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o [1552/2828] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o [1553/2828] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o [1554/2828] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o ninja: build stopped *Build Failed #10: OS: RHEL84-64 Target: x86_64-native-linuxapp-gcc+debug FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o gcc -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/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 -Werror -O2 -g -include rte_config.h -Wextra -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:75:25: error: field ‘raw’ has incomplete type struct ice_rss_raw_cfg raw; ^~~ ../drivers/net/ice/ice_hash.c:497:3: error: ‘pattern_raw’ undeclared here (not in a function); did you mean ‘pattern_empty’? {pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, NULL}, ^~~~~~~~~~~ pattern_empty ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_raw_pattern’: ../drivers/net/ice/ice_hash.c:726:23: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? rte_memcpy(&meta->raw.prof, &prof, sizeof(prof)); ^ -> ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_action’: ../drivers/net/ice/ice_hash.c:1094:19: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? rss_meta->raw.symm = true; ^ -> ../drivers/net/ice/ice_hash.c:1094:6: error: statement with no effect [-Werror=unused-value] rss_meta->raw.symm = true; ^~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_pattern_action’: ../drivers/net/ice/ice_hash.c:1187:20: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? rss_meta_ptr->raw.raw_ena = true; ^ -> ../drivers/net/ice/ice_hash.c:1187:3: error: statement with no effect [-Werror=unused-value] rss_meta_ptr->raw.raw_ena = true; ^~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_create’: ../drivers/net/ice/ice_hash.c:1246:20: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? if (rss_meta->raw.raw_ena) { ^ -> ../drivers/net/ice/ice_hash.c:1247:31: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ memcpy(&filter_ptr->rss_cfg.raw, &rss_meta->raw, ^ ../drivers/net/ice/ice_hash.c:1248:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct ice_rss_raw_cfg’ sizeof(struct ice_rss_raw_cfg)); ^~~~~~ ../drivers/net/ice/ice_hash.c:1248:11: error: passing argument 3 of ‘memcpy’ makes integer from pointer without a cast [-Werror=int-conversion] sizeof(struct ice_rss_raw_cfg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ice/ice_hash.c:9: /usr/include/string.h:43:14: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘struct ice_pattern_match_item *’ extern void *memcpy (void *__restrict __dest, const void *__restrict __src, ^~~~~~ ../drivers/net/ice/ice_hash.c:1249:10: error: implicit declaration of function ‘ice_add_rss_raw_cfg’; did you mean ‘ice_add_rss_cfg’? [-Werror=implicit-function-declaration] ret = ice_add_rss_raw_cfg(hw, &rss_meta->raw, ^~~~~~~~~~~~~~~~~~~ ice_add_rss_cfg ../drivers/net/ice/ice_hash.c:1249:10: error: nested extern declaration of ‘ice_add_rss_raw_cfg’ [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_destroy’: ../drivers/net/ice/ice_hash.c:1305:26: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ if (filter_ptr->rss_cfg.raw.raw_ena) { ^ ../drivers/net/ice/ice_hash.c:1305:30: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? if (filter_ptr->rss_cfg.raw.raw_ena) { ^ -> ../drivers/net/ice/ice_hash.c:1307:4: error: implicit declaration of function ‘ice_rem_rss_raw_cfg’; did you mean ‘ice_rem_rss_cfg’? [-Werror=implicit-function-declaration] ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^~~~~~~~~~~~~~~~~~~ ice_rem_rss_cfg ../drivers/net/ice/ice_hash.c:1307:4: error: nested extern declaration of ‘ice_rem_rss_raw_cfg’ [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c:1307:48: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^ ../drivers/net/ice/ice_hash.c:1307:52: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^ -> cc1: all warnings being treated as errors [1519/2909] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_acl_filter.c.o [1520/2909] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_generic_flow.c.o [1521/2909] Generating rte_net_iavf.sym_chk with a custom command (wrapped by meson to capture output) [1522/2909] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_fdir_filter.c.o [1523/2909] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o [1524/2909] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o [1525/2909] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o [1526/2909] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o [1527/2909] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o ninja: build stopped *Build Failed #11: OS: RHEL84-64 Target: x86_64-native-linuxapp-icc FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o icc -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/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 -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c(75): error: incomplete type is not allowed struct ice_rss_raw_cfg raw; ^ ../drivers/net/ice/ice_hash.c(497): error: identifier "pattern_raw" is undefined {pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, NULL}, ^ ../drivers/net/ice/ice_hash.c(577): error: expression must have a constant value .array = ice_hash_pattern_list, ^ ../drivers/net/ice/ice_hash.c(1247): error: struct "ice_rss_cfg" has no field "raw" memcpy(&filter_ptr->rss_cfg.raw, &rss_meta->raw, ^ ../drivers/net/ice/ice_hash.c(1248): error: incomplete type is not allowed sizeof(struct ice_rss_raw_cfg)); ^ ../drivers/net/ice/ice_hash.c(1249): error #266: function "ice_add_rss_raw_cfg" declared implicitly ret = ice_add_rss_raw_cfg(hw, &rss_meta->raw, ^ ../drivers/net/ice/ice_hash.c(1305): error: struct "ice_rss_cfg" has no field "raw" if (filter_ptr->rss_cfg.raw.raw_ena) { ^ ../drivers/net/ice/ice_hash.c(1307): error #266: function "ice_rem_rss_raw_cfg" declared implicitly ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^ ../drivers/net/ice/ice_hash.c(1307): error: struct "ice_rss_cfg" has no field "raw" ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^ compilation aborted for ../drivers/net/ice/ice_hash.c (code 2) [1518/2974] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_generic_flow.c.o [1519/2974] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_parser_rt.c.o [1520/2974] Generating rte_net_cnxk.pmd.c with a custom command [1521/2974] Generating rte_net_iavf.sym_chk with a custom command (wrapped by meson to capture output) [1522/2974] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_fdir_filter.c.o [1523/2974] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o [1524/2974] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o [1525/2974] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o icc: command line warning #10121: overriding '-march=native' with '-march=skylake-avx512' [1526/2974] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o ninja: build stopped *Build Failed #12: OS: SUSE15-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.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/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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:75:25: error: field has incomplete type 'struct ice_rss_raw_cfg' struct ice_rss_raw_cfg raw; ^ ../drivers/net/ice/ice_hash.c:75:9: note: forward declaration of 'struct ice_rss_raw_cfg' struct ice_rss_raw_cfg raw; ^ ../drivers/net/ice/ice_hash.c:497:3: error: use of undeclared identifier 'pattern_raw' {pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, NULL}, ^ ../drivers/net/ice/ice_hash.c:578:15: error: invalid application of 'sizeof' to an incomplete type 'struct ice_pattern_match_item []' .array_len = RTE_DIM(ice_hash_pattern_list), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:819:28: note: expanded from macro 'RTE_DIM' #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^~~ ../drivers/net/ice/ice_hash.c:1247:32: error: no member named 'raw' in 'struct ice_rss_cfg' memcpy(&filter_ptr->rss_cfg.raw, &rss_meta->raw, ~~~~~~~~~~~~~~~~~~~ ^ ../drivers/net/ice/ice_hash.c:1248:11: error: invalid application of 'sizeof' to an incomplete type 'struct ice_rss_raw_cfg' sizeof(struct ice_rss_raw_cfg)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:75:9: note: forward declaration of 'struct ice_rss_raw_cfg' struct ice_rss_raw_cfg raw; ^ ../drivers/net/ice/ice_hash.c:1249:10: error: implicit declaration of function 'ice_add_rss_raw_cfg' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ret = ice_add_rss_raw_cfg(hw, &rss_meta->raw, ^ ../drivers/net/ice/ice_hash.c:1249:10: note: did you mean 'ice_add_rss_cfg'? ../drivers/net/ice/base/ice_flow.h:579:1: note: 'ice_add_rss_cfg' declared here ice_add_rss_cfg(struct ice_hw *hw, u16 vsi_handle, ^ ../drivers/net/ice/ice_hash.c:1305:27: error: no member named 'raw' in 'struct ice_rss_cfg' if (filter_ptr->rss_cfg.raw.raw_ena) { ~~~~~~~~~~~~~~~~~~~ ^ ../drivers/net/ice/ice_hash.c:1307:4: error: implicit declaration of function 'ice_rem_rss_raw_cfg' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^ ../drivers/net/ice/ice_hash.c:1307:49: error: no member named 'raw' in 'struct ice_rss_cfg' ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ~~~~~~~~~~~~~~~~~~~ ^ 9 errors generated. [1530/3067] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_fdir_filter.c.o [1531/3067] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o [1532/3067] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o [1533/3067] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o [1534/3067] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o [1535/3067] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf.c.o [1536/3067] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o [1537/3067] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf_ethdev.c.o [1538/3067] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_avx2.c.o ninja: build stopped *Build Failed #13: OS: SUSE15-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o gcc -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/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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:75:25: error: field ‘raw’ has incomplete type struct ice_rss_raw_cfg raw; ^~~ ../drivers/net/ice/ice_hash.c:497:3: error: ‘pattern_raw’ undeclared here (not in a function); did you mean ‘pattern_empty’? {pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, NULL}, ^~~~~~~~~~~ pattern_empty ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_raw_pattern’: ../drivers/net/ice/ice_hash.c:726:23: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? rte_memcpy(&meta->raw.prof, &prof, sizeof(prof)); ^ -> ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_action’: ../drivers/net/ice/ice_hash.c:1094:19: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? rss_meta->raw.symm = true; ^ -> ../drivers/net/ice/ice_hash.c:1094:6: error: statement with no effect [-Werror=unused-value] rss_meta->raw.symm = true; ^~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_pattern_action’: ../drivers/net/ice/ice_hash.c:1187:20: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? rss_meta_ptr->raw.raw_ena = true; ^ -> ../drivers/net/ice/ice_hash.c:1187:3: error: statement with no effect [-Werror=unused-value] rss_meta_ptr->raw.raw_ena = true; ^~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_create’: ../drivers/net/ice/ice_hash.c:1246:20: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? if (rss_meta->raw.raw_ena) { ^ -> ../drivers/net/ice/ice_hash.c:1247:31: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ memcpy(&filter_ptr->rss_cfg.raw, &rss_meta->raw, ^ ../drivers/net/ice/ice_hash.c:1248:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct ice_rss_raw_cfg’ sizeof(struct ice_rss_raw_cfg)); ^~~~~~ ../drivers/net/ice/ice_hash.c:1248:11: error: passing argument 3 of ‘memcpy’ makes integer from pointer without a cast [-Werror=int-conversion] sizeof(struct ice_rss_raw_cfg)); ^~~~~~ In file included from ../drivers/net/ice/ice_hash.c:9:0: /usr/include/string.h:42:14: note: expected ‘size_t {aka long unsigned int}’ but argument is of type ‘struct ice_pattern_match_item *’ extern void *memcpy (void *__restrict __dest, const void *__restrict __src, ^~~~~~ ../drivers/net/ice/ice_hash.c:1249:10: error: implicit declaration of function ‘ice_add_rss_raw_cfg’; did you mean ‘ice_add_rss_cfg’? [-Werror=implicit-function-declaration] ret = ice_add_rss_raw_cfg(hw, &rss_meta->raw, ^~~~~~~~~~~~~~~~~~~ ice_add_rss_cfg ../drivers/net/ice/ice_hash.c:1249:10: error: nested extern declaration of ‘ice_add_rss_raw_cfg’ [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_destroy’: ../drivers/net/ice/ice_hash.c:1305:26: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ if (filter_ptr->rss_cfg.raw.raw_ena) { ^ ../drivers/net/ice/ice_hash.c:1305:30: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? if (filter_ptr->rss_cfg.raw.raw_ena) { ^ -> ../drivers/net/ice/ice_hash.c:1307:4: error: implicit declaration of function ‘ice_rem_rss_raw_cfg’; did you mean ‘ice_rem_rss_cfg’? [-Werror=implicit-function-declaration] ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^~~~~~~~~~~~~~~~~~~ ice_rem_rss_cfg ../drivers/net/ice/ice_hash.c:1307:4: error: nested extern declaration of ‘ice_rem_rss_raw_cfg’ [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c:1307:48: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^ ../drivers/net/ice/ice_hash.c:1307:52: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^ -> cc1: all warnings being treated as errors [1519/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_acl_filter.c.o [1520/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_generic_flow.c.o [1521/3065] Generating symbol file drivers/librte_net_i40e.so.22.0.p/librte_net_i40e.so.22.0.symbols [1522/3065] Generating rte_net_iavf.sym_chk with a custom command (wrapped by meson to capture output) [1523/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_fdir_filter.c.o [1524/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o [1525/3065] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o [1526/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o [1527/3065] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o ninja: build stopped *Build Failed #14: OS: UB2004-32 Target: i686-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o gcc -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/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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:75:25: error: field ‘raw’ has incomplete type 75 | struct ice_rss_raw_cfg raw; | ^~~ ../drivers/net/ice/ice_hash.c:497:3: error: ‘pattern_raw’ undeclared here (not in a function); did you mean ‘pattern_empty’? 497 | {pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, NULL}, | ^~~~~~~~~~~ | pattern_empty ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_raw_pattern’: ../drivers/net/ice/ice_hash.c:726:23: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 726 | rte_memcpy(&meta->raw.prof, &prof, sizeof(prof)); | ^ | -> ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_action’: ../drivers/net/ice/ice_hash.c:1094:19: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1094 | rss_meta->raw.symm = true; | ^ | -> ../drivers/net/ice/ice_hash.c:1094:6: error: statement with no effect [-Werror=unused-value] 1094 | rss_meta->raw.symm = true; | ^~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_pattern_action’: ../drivers/net/ice/ice_hash.c:1187:20: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1187 | rss_meta_ptr->raw.raw_ena = true; | ^ | -> ../drivers/net/ice/ice_hash.c:1187:3: error: statement with no effect [-Werror=unused-value] 1187 | rss_meta_ptr->raw.raw_ena = true; | ^~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_create’: ../drivers/net/ice/ice_hash.c:1246:20: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1246 | if (rss_meta->raw.raw_ena) { | ^ | -> ../drivers/net/ice/ice_hash.c:1247:31: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ 1247 | memcpy(&filter_ptr->rss_cfg.raw, &rss_meta->raw, | ^ ../drivers/net/ice/ice_hash.c:1248:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct ice_rss_raw_cfg’ 1248 | sizeof(struct ice_rss_raw_cfg)); | ^~~~~~ ../drivers/net/ice/ice_hash.c:1248:11: error: passing argument 3 of ‘memcpy’ makes integer from pointer without a cast [-Werror=int-conversion] 1248 | sizeof(struct ice_rss_raw_cfg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct ice_pattern_match_item * In file included from /usr/include/features.h:461, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../drivers/net/ice/ice_hash.c:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:31:1: note: expected ‘size_t’ {aka ‘unsigned int’} but argument is of type ‘struct ice_pattern_match_item *’ 31 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ ../drivers/net/ice/ice_hash.c:1249:10: error: implicit declaration of function ‘ice_add_rss_raw_cfg’; did you mean ‘ice_add_rss_cfg’? [-Werror=implicit-function-declaration] 1249 | ret = ice_add_rss_raw_cfg(hw, &rss_meta->raw, | ^~~~~~~~~~~~~~~~~~~ | ice_add_rss_cfg ../drivers/net/ice/ice_hash.c:1249:10: error: nested extern declaration of ‘ice_add_rss_raw_cfg’ [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_destroy’: ../drivers/net/ice/ice_hash.c:1305:26: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ 1305 | if (filter_ptr->rss_cfg.raw.raw_ena) { | ^ ../drivers/net/ice/ice_hash.c:1305:30: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1305 | if (filter_ptr->rss_cfg.raw.raw_ena) { | ^ | -> ../drivers/net/ice/ice_hash.c:1307:4: error: implicit declaration of function ‘ice_rem_rss_raw_cfg’; did you mean ‘ice_rem_rss_cfg’? [-Werror=implicit-function-declaration] 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^~~~~~~~~~~~~~~~~~~ | ice_rem_rss_cfg ../drivers/net/ice/ice_hash.c:1307:4: error: nested extern declaration of ‘ice_rem_rss_raw_cfg’ [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c:1307:48: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^ ../drivers/net/ice/ice_hash.c:1307:52: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^ | -> cc1: all warnings being treated as errors [1247/2452] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o [1248/2452] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_acl_filter.c.o [1249/2452] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_parser_rt.c.o [1250/2452] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_generic_flow.c.o [1251/2452] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_fdir_filter.c.o [1252/2452] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o [1253/2452] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o [1254/2452] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o [1255/2452] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o ninja: build stopped *Build Failed #15: OS: UB2004-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.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/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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:75:25: error: field has incomplete type 'struct ice_rss_raw_cfg' struct ice_rss_raw_cfg raw; ^ ../drivers/net/ice/ice_hash.c:75:9: note: forward declaration of 'struct ice_rss_raw_cfg' struct ice_rss_raw_cfg raw; ^ ../drivers/net/ice/ice_hash.c:497:3: error: use of undeclared identifier 'pattern_raw' {pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, NULL}, ^ ../drivers/net/ice/ice_hash.c:578:15: error: invalid application of 'sizeof' to an incomplete type 'struct ice_pattern_match_item []' .array_len = RTE_DIM(ice_hash_pattern_list), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:819:28: note: expanded from macro 'RTE_DIM' #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^~~ ../drivers/net/ice/ice_hash.c:1247:32: error: no member named 'raw' in 'struct ice_rss_cfg' memcpy(&filter_ptr->rss_cfg.raw, &rss_meta->raw, ~~~~~~~~~~~~~~~~~~~ ^ ../drivers/net/ice/ice_hash.c:1248:11: error: invalid application of 'sizeof' to an incomplete type 'struct ice_rss_raw_cfg' sizeof(struct ice_rss_raw_cfg)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:75:9: note: forward declaration of 'struct ice_rss_raw_cfg' struct ice_rss_raw_cfg raw; ^ ../drivers/net/ice/ice_hash.c:1249:10: error: implicit declaration of function 'ice_add_rss_raw_cfg' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ret = ice_add_rss_raw_cfg(hw, &rss_meta->raw, ^ ../drivers/net/ice/ice_hash.c:1249:10: note: did you mean 'ice_add_rss_cfg'? ../drivers/net/ice/base/ice_flow.h:579:1: note: 'ice_add_rss_cfg' declared here ice_add_rss_cfg(struct ice_hw *hw, u16 vsi_handle, ^ ../drivers/net/ice/ice_hash.c:1305:27: error: no member named 'raw' in 'struct ice_rss_cfg' if (filter_ptr->rss_cfg.raw.raw_ena) { ~~~~~~~~~~~~~~~~~~~ ^ ../drivers/net/ice/ice_hash.c:1307:4: error: implicit declaration of function 'ice_rem_rss_raw_cfg' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^ ../drivers/net/ice/ice_hash.c:1307:49: error: no member named 'raw' in 'struct ice_rss_cfg' ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ~~~~~~~~~~~~~~~~~~~ ^ 9 errors generated. [1523/3086] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_parser_rt.c.o [1524/3086] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_fdir_filter.c.o [1525/3086] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o [1526/3086] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o [1527/3086] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o [1528/3086] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf.c.o [1529/3086] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o [1530/3086] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o [1531/3086] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_avx2.c.o ninja: build stopped *Build Failed #16: OS: UB2004-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o gcc -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/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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:75:25: error: field ‘raw’ has incomplete type 75 | struct ice_rss_raw_cfg raw; | ^~~ ../drivers/net/ice/ice_hash.c:497:3: error: ‘pattern_raw’ undeclared here (not in a function); did you mean ‘pattern_empty’? 497 | {pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, NULL}, | ^~~~~~~~~~~ | pattern_empty ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_raw_pattern’: ../drivers/net/ice/ice_hash.c:726:23: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 726 | rte_memcpy(&meta->raw.prof, &prof, sizeof(prof)); | ^ | -> ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_action’: ../drivers/net/ice/ice_hash.c:1094:19: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1094 | rss_meta->raw.symm = true; | ^ | -> ../drivers/net/ice/ice_hash.c:1094:6: error: statement with no effect [-Werror=unused-value] 1094 | rss_meta->raw.symm = true; | ^~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_pattern_action’: ../drivers/net/ice/ice_hash.c:1187:20: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1187 | rss_meta_ptr->raw.raw_ena = true; | ^ | -> ../drivers/net/ice/ice_hash.c:1187:3: error: statement with no effect [-Werror=unused-value] 1187 | rss_meta_ptr->raw.raw_ena = true; | ^~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_create’: ../drivers/net/ice/ice_hash.c:1246:20: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1246 | if (rss_meta->raw.raw_ena) { | ^ | -> ../drivers/net/ice/ice_hash.c:1247:31: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ 1247 | memcpy(&filter_ptr->rss_cfg.raw, &rss_meta->raw, | ^ ../drivers/net/ice/ice_hash.c:1248:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct ice_rss_raw_cfg’ 1248 | sizeof(struct ice_rss_raw_cfg)); | ^~~~~~ ../drivers/net/ice/ice_hash.c:1248:11: error: passing argument 3 of ‘memcpy’ makes integer from pointer without a cast [-Werror=int-conversion] 1248 | sizeof(struct ice_rss_raw_cfg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct ice_pattern_match_item * In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../drivers/net/ice/ice_hash.c:6: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:31:1: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘struct ice_pattern_match_item *’ 31 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ ../drivers/net/ice/ice_hash.c:1249:10: error: implicit declaration of function ‘ice_add_rss_raw_cfg’; did you mean ‘ice_add_rss_cfg’? [-Werror=implicit-function-declaration] 1249 | ret = ice_add_rss_raw_cfg(hw, &rss_meta->raw, | ^~~~~~~~~~~~~~~~~~~ | ice_add_rss_cfg ../drivers/net/ice/ice_hash.c:1249:10: error: nested extern declaration of ‘ice_add_rss_raw_cfg’ [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_destroy’: ../drivers/net/ice/ice_hash.c:1305:26: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ 1305 | if (filter_ptr->rss_cfg.raw.raw_ena) { | ^ ../drivers/net/ice/ice_hash.c:1305:30: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1305 | if (filter_ptr->rss_cfg.raw.raw_ena) { | ^ | -> ../drivers/net/ice/ice_hash.c:1307:4: error: implicit declaration of function ‘ice_rem_rss_raw_cfg’; did you mean ‘ice_rem_rss_cfg’? [-Werror=implicit-function-declaration] 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^~~~~~~~~~~~~~~~~~~ | ice_rem_rss_cfg ../drivers/net/ice/ice_hash.c:1307:4: error: nested extern declaration of ‘ice_rem_rss_raw_cfg’ [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c:1307:48: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^ ../drivers/net/ice/ice_hash.c:1307:52: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^ | -> cc1: all warnings being treated as errors [1520/3086] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_generic_flow.c.o [1521/3086] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_acl_filter.c.o [1522/3086] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_parser_rt.c.o [1523/3086] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_fdir_filter.c.o [1524/3086] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o [1525/3086] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o [1526/3086] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o [1527/3086] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o [1528/3086] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o ninja: build stopped *Build Failed #17: OS: UB2004-64 Target: x86_64-native-linuxapp-icc FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o icc -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/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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c(75): error: incomplete type is not allowed struct ice_rss_raw_cfg raw; ^ ../drivers/net/ice/ice_hash.c(497): error: identifier "pattern_raw" is undefined {pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, NULL}, ^ ../drivers/net/ice/ice_hash.c(577): error: expression must have a constant value .array = ice_hash_pattern_list, ^ ../drivers/net/ice/ice_hash.c(1247): error: struct "ice_rss_cfg" has no field "raw" memcpy(&filter_ptr->rss_cfg.raw, &rss_meta->raw, ^ ../drivers/net/ice/ice_hash.c(1248): error: incomplete type is not allowed sizeof(struct ice_rss_raw_cfg)); ^ ../drivers/net/ice/ice_hash.c(1249): error #266: function "ice_add_rss_raw_cfg" declared implicitly ret = ice_add_rss_raw_cfg(hw, &rss_meta->raw, ^ ../drivers/net/ice/ice_hash.c(1305): error: struct "ice_rss_cfg" has no field "raw" if (filter_ptr->rss_cfg.raw.raw_ena) { ^ ../drivers/net/ice/ice_hash.c(1307): error #266: function "ice_rem_rss_raw_cfg" declared implicitly ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^ ../drivers/net/ice/ice_hash.c(1307): error: struct "ice_rss_cfg" has no field "raw" ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^ compilation aborted for ../drivers/net/ice/ice_hash.c (code 2) [1505/3037] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_parser_rt.c.o [1506/3037] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_generic_flow.c.o [1507/3037] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_acl_filter.c.o [1508/3037] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_fdir_filter.c.o [1509/3037] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o [1510/3037] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn10k_tx_mseg.c.o [1511/3037] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o [1512/3037] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o [1513/3037] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o ninja: build stopped *Build Failed #18: OS: UB2004-64 Target: x86_64-native-linuxapp-doc FAILED: drivers/a715181@@tmp_rte_net_ice@sta/net_ice_ice_hash.c.o gcc -Idrivers/a715181@@tmp_rte_net_ice@sta -Idrivers -I../drivers -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -Idrivers/net/ice/../../common/iavf -I../drivers/net/ice/../../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/telemetry/../metrics -I../lib/telemetry/../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 -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ 'drivers/a715181@@tmp_rte_net_ice@sta/net_ice_ice_hash.c.o' -MF 'drivers/a715181@@tmp_rte_net_ice@sta/net_ice_ice_hash.c.o.d' -o 'drivers/a715181@@tmp_rte_net_ice@sta/net_ice_ice_hash.c.o' -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:75:25: error: field ‘raw’ has incomplete type 75 | struct ice_rss_raw_cfg raw; | ^~~ ../drivers/net/ice/ice_hash.c:497:3: error: ‘pattern_raw’ undeclared here (not in a function); did you mean ‘pattern_empty’? 497 | {pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, NULL}, | ^~~~~~~~~~~ | pattern_empty ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_raw_pattern’: ../drivers/net/ice/ice_hash.c:726:23: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 726 | rte_memcpy(&meta->raw.prof, &prof, sizeof(prof)); | ^ | -> ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_action’: ../drivers/net/ice/ice_hash.c:1094:19: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1094 | rss_meta->raw.symm = true; | ^ | -> ../drivers/net/ice/ice_hash.c:1094:6: error: statement with no effect [-Werror=unused-value] 1094 | rss_meta->raw.symm = true; | ^~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_pattern_action’: ../drivers/net/ice/ice_hash.c:1187:20: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1187 | rss_meta_ptr->raw.raw_ena = true; | ^ | -> ../drivers/net/ice/ice_hash.c:1187:3: error: statement with no effect [-Werror=unused-value] 1187 | rss_meta_ptr->raw.raw_ena = true; | ^~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_create’: ../drivers/net/ice/ice_hash.c:1246:20: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1246 | if (rss_meta->raw.raw_ena) { | ^ | -> ../drivers/net/ice/ice_hash.c:1247:31: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ 1247 | memcpy(&filter_ptr->rss_cfg.raw, &rss_meta->raw, | ^ ../drivers/net/ice/ice_hash.c:1248:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct ice_rss_raw_cfg’ 1248 | sizeof(struct ice_rss_raw_cfg)); | ^~~~~~ ../drivers/net/ice/ice_hash.c:1248:11: error: passing argument 3 of ‘memcpy’ makes integer from pointer without a cast [-Werror=int-conversion] 1248 | sizeof(struct ice_rss_raw_cfg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct ice_pattern_match_item * In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../drivers/net/ice/ice_hash.c:6: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:31:1: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘struct ice_pattern_match_item *’ 31 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ ../drivers/net/ice/ice_hash.c:1249:10: error: implicit declaration of function ‘ice_add_rss_raw_cfg’; did you mean ‘ice_add_rss_cfg’? [-Werror=implicit-function-declaration] 1249 | ret = ice_add_rss_raw_cfg(hw, &rss_meta->raw, | ^~~~~~~~~~~~~~~~~~~ | ice_add_rss_cfg ../drivers/net/ice/ice_hash.c:1249:10: error: nested extern declaration of ‘ice_add_rss_raw_cfg’ [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_destroy’: ../drivers/net/ice/ice_hash.c:1305:26: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ 1305 | if (filter_ptr->rss_cfg.raw.raw_ena) { | ^ ../drivers/net/ice/ice_hash.c:1305:30: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1305 | if (filter_ptr->rss_cfg.raw.raw_ena) { | ^ | -> ../drivers/net/ice/ice_hash.c:1307:4: error: implicit declaration of function ‘ice_rem_rss_raw_cfg’; did you mean ‘ice_rem_rss_cfg’? [-Werror=implicit-function-declaration] 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^~~~~~~~~~~~~~~~~~~ | ice_rem_rss_cfg ../drivers/net/ice/ice_hash.c:1307:4: error: nested extern declaration of ‘ice_rem_rss_raw_cfg’ [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c:1307:48: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^ ../drivers/net/ice/ice_hash.c:1307:52: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^ | -> cc1: all warnings being treated as errors [1429/2678] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_parser_rt.c.o'. [1430/2678] Compiling C object 'drivers/a715181@@tmp_rte_net_ice@sta/net_ice_ice_generic_flow.c.o'. [1431/2678] Compiling C object 'drivers/a715181@@tmp_rte_net_ice@sta/net_ice_ice_dcf.c.o'. [1432/2678] Compiling C object 'drivers/a715181@@tmp_rte_net_ice@sta/net_ice_ice_fdir_filter.c.o'. [1433/2678] Compiling C object 'drivers/a715181@@tmp_rte_net_ice@sta/net_ice_ice_switch_filter.c.o'. [1434/2678] Compiling C object 'drivers/a715181@@tmp_rte_net_ice@sta/net_ice_ice_rxtx_vec_sse.c.o'. [1435/2678] Compiling C object 'drivers/a715181@@tmp_rte_net_ice@sta/net_ice_ice_rxtx.c.o'. [1436/2678] Compiling C object 'drivers/net/ice/6ab06a9@@ice_avx512_lib@sta/ice_rxtx_vec_avx512.c.o'. [1437/2678] Compiling C object 'drivers/a715181@@tmp_rte_net_ice@sta/net_ice_ice_ethdev.c.o'. ninja: build stopped *Build Failed #19: OS: WIN10-64 Target: x86_64-windows-clang FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.obj "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\windows\include" "-I..\lib\eal\windows\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\net" "-I..\lib\net" "-Ilib\mbuf" "-I..\lib\mbuf" "-Ilib\mempool" "-I..\lib\mempool" "-Ilib\ring" "-I..\lib\ring" "-Ilib\meter" "-I..\lib\meter" "-Ilib\metrics" "-I..\lib\metrics" "-Ilib\telemetry" "-I..\lib\telemetry" "-Idrivers\bus\pci" "-I..\drivers\bus\pci" "-I..\drivers\bus\pci\windows" "-Ilib\pci" "-I..\lib\pci" "-Idrivers\bus\vdev" "-I..\drivers\bus\vdev" "-Ilib\hash" "-I..\lib\hash" "-Ilib\rcu" "-I..\lib\rcu" "-Xclang" "-fcolor-diagnostics" "-pipe" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-O3" "-include" "rte_config.h" "-Wextra" "-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_WIN32_WINNT=0x0A00" "-D_CRT_SECURE_NO_WARNINGS" "-march=native" "-DALLOW_EXPERIMENTAL_API" "-DALLOW_INTERNAL_API" "-DCC_AVX2_SUPPORT" "-DCC_AVX512_SUPPORT" "-DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice" -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.obj -MF "drivers\libtmp_rte_net_ice.a.p\net_ice_ice_hash.c.obj.d" -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.obj "-c" ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:75:25: error: field has incomplete type 'struct ice_rss_raw_cfg' struct ice_rss_raw_cfg raw; ^ ../drivers/net/ice/ice_hash.c:75:9: note: forward declaration of 'struct ice_rss_raw_cfg' struct ice_rss_raw_cfg raw; ^ ../drivers/net/ice/ice_hash.c:497:3: error: use of undeclared identifier 'pattern_raw' {pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, NULL}, ^ ../drivers/net/ice/ice_hash.c:578:15: error: invalid application of 'sizeof' to an incomplete type 'struct ice_pattern_match_item []' .array_len = RTE_DIM(ice_hash_pattern_list), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ..\lib\eal\include\rte_common.h:819:28: note: expanded from macro 'RTE_DIM' #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^~~ ../drivers/net/ice/ice_hash.c:1247:32: error: no member named 'raw' in 'struct ice_rss_cfg' memcpy(&filter_ptr->rss_cfg.raw, &rss_meta->raw, ~~~~~~~~~~~~~~~~~~~ ^ ../drivers/net/ice/ice_hash.c:1248:11: error: invalid application of 'sizeof' to an incomplete type 'struct ice_rss_raw_cfg' sizeof(struct ice_rss_raw_cfg)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:75:9: note: forward declaration of 'struct ice_rss_raw_cfg' struct ice_rss_raw_cfg raw; ^ ../drivers/net/ice/ice_hash.c:1249:10: warning: implicit declaration of function 'ice_add_rss_raw_cfg' is invalid in C99 [-Wimplicit-function-declaration] ret = ice_add_rss_raw_cfg(hw, &rss_meta->raw, ^ ../drivers/net/ice/ice_hash.c:1249:10: warning: this function declaration is not a prototype [-Wstrict-prototypes] ../drivers/net/ice/ice_hash.c:1305:27: error: no member named 'raw' in 'struct ice_rss_cfg' if (filter_ptr->rss_cfg.raw.raw_ena) { ~~~~~~~~~~~~~~~~~~~ ^ ../drivers/net/ice/ice_hash.c:1307:4: warning: implicit declaration of function 'ice_rem_rss_raw_cfg' is invalid in C99 [-Wimplicit-function-declaration] ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ^ ../drivers/net/ice/ice_hash.c:1307:4: warning: this function declaration is not a prototype [-Wstrict-prototypes] ../drivers/net/ice/ice_hash.c:1307:49: error: no member named 'raw' in 'struct ice_rss_cfg' ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, ~~~~~~~~~~~~~~~~~~~ ^ 4 warnings and 7 errors generated. [369/415] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_parser_rt.c.obj [370/415] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_acl_filter.c.obj [371/415] Linking target drivers/rte_net_iavf-22.dll Creating library drivers\rte_net_iavf.lib and object drivers\rte_net_iavf.exp [372/415] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.obj [373/415] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_generic_flow.c.obj [374/415] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_fdir_filter.c.obj [375/415] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.obj [376/415] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_dcf_sched.c.obj [377/415] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.obj [378/415] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.obj [379/415] Compiling C object app/dpdk-testpmd.exe.p/test-pmd_cmdline_mtr.c.obj [380/415] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.obj [381/415] Compiling C object app/dpdk-testpmd.exe.p/test-pmd_cmdline_flow.c.obj ninja: build stopped *Build Failed #20: OS: UB2104-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o gcc -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/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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_ice_ice_hash.c.o -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:75:25: error: field ‘raw’ has incomplete type 75 | struct ice_rss_raw_cfg raw; | ^~~ ../drivers/net/ice/ice_hash.c:497:3: error: ‘pattern_raw’ undeclared here (not in a function); did you mean ‘pattern_empty’? 497 | {pattern_raw, ICE_INSET_NONE, ICE_INSET_NONE, NULL}, | ^~~~~~~~~~~ | pattern_empty ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_raw_pattern’: ../drivers/net/ice/ice_hash.c:726:23: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 726 | rte_memcpy(&meta->raw.prof, &prof, sizeof(prof)); | ^ | -> ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_action’: ../drivers/net/ice/ice_hash.c:1094:19: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1094 | rss_meta->raw.symm = true; | ^ | -> ../drivers/net/ice/ice_hash.c:1094:6: error: statement with no effect [-Werror=unused-value] 1094 | rss_meta->raw.symm = true; | ^~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_pattern_action’: ../drivers/net/ice/ice_hash.c:1187:20: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1187 | rss_meta_ptr->raw.raw_ena = true; | ^ | -> ../drivers/net/ice/ice_hash.c:1187:3: error: statement with no effect [-Werror=unused-value] 1187 | rss_meta_ptr->raw.raw_ena = true; | ^~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_create’: ../drivers/net/ice/ice_hash.c:1246:20: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1246 | if (rss_meta->raw.raw_ena) { | ^ | -> ../drivers/net/ice/ice_hash.c:1247:31: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ 1247 | memcpy(&filter_ptr->rss_cfg.raw, &rss_meta->raw, | ^ ../drivers/net/ice/ice_hash.c:1248:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct ice_rss_raw_cfg’ 1248 | sizeof(struct ice_rss_raw_cfg)); | ^~~~~~ ../drivers/net/ice/ice_hash.c:1248:11: error: passing argument 3 of ‘memcpy’ makes integer from pointer without a cast [-Werror=int-conversion] 1248 | sizeof(struct ice_rss_raw_cfg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct ice_pattern_match_item * In file included from /usr/include/features.h:469, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../drivers/net/ice/ice_hash.c:6: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:26:1: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘struct ice_pattern_match_item *’ 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ ../drivers/net/ice/ice_hash.c:1249:10: error: implicit declaration of function ‘ice_add_rss_raw_cfg’; did you mean ‘ice_add_rss_cfg’? [-Werror=implicit-function-declaration] 1249 | ret = ice_add_rss_raw_cfg(hw, &rss_meta->raw, | ^~~~~~~~~~~~~~~~~~~ | ice_add_rss_cfg ../drivers/net/ice/ice_hash.c:1249:10: error: nested extern declaration of ‘ice_add_rss_raw_cfg’ [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_destroy’: ../drivers/net/ice/ice_hash.c:1305:26: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ 1305 | if (filter_ptr->rss_cfg.raw.raw_ena) { | ^ ../drivers/net/ice/ice_hash.c:1305:30: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1305 | if (filter_ptr->rss_cfg.raw.raw_ena) { | ^ | -> ../drivers/net/ice/ice_hash.c:1307:4: error: implicit declaration of function ‘ice_rem_rss_raw_cfg’; did you mean ‘ice_rem_rss_cfg’? [-Werror=implicit-function-declaration] 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^~~~~~~~~~~~~~~~~~~ | ice_rem_rss_cfg ../drivers/net/ice/ice_hash.c:1307:4: error: nested extern declaration of ‘ice_rem_rss_raw_cfg’ [-Werror=nested-externs] ../drivers/net/ice/ice_hash.c:1307:48: error: ‘struct ice_rss_cfg’ has no member named ‘raw’ 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^ ../drivers/net/ice/ice_hash.c:1307:52: error: ‘(struct ice_pattern_match_item *)&’ is a pointer; did you mean to use ‘->’? 1307 | ice_rem_rss_raw_cfg(hw, &filter_ptr->rss_cfg.raw.prof, | ^ | -> cc1: all warnings being treated as errors [1525/3100] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_generic_flow.c.o [1526/3100] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_acl_filter.c.o [1527/3100] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_parser_rt.c.o [1528/3100] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_fdir_filter.c.o [1529/3100] Compiling C object drivers/net/ice/libice_avx512_lib.a.p/ice_rxtx_vec_avx512.c.o [1530/3100] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx_vec_sse.c.o [1531/3100] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_rxtx.c.o [1532/3100] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_switch_filter.c.o [1533/3100] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_ice_ice_ethdev.c.o ninja: build stopped DPDK STV team