Test-Label: Intel-compilation Test-Status: FAILURE _Compilation issues_ commit 72206323a5dd3182b13f61b25a64abdddfee595c Author: David Marchand Date: Sat Jul 9 10:43:09 2022 +0200 version: 22.11-rc0 DPDK git Repo: dpdk Meson Build Summary: 24 Builds Done, 23 Successful, 1 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FC36-64 | fail | pass | | | | | | | FreeBSD13-64 | pass | pass | | pass | pass | | | | RHEL86-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | UB2004-32 | pass | | | | | | | | UB2004-64 | pass | pass | | | | pass | | | UB2204-32 | pass | | | | | | | | UB2204-64N | pass | | | pass | | | | | UB2204-64 | pass | pass | | | | pass | pass | | CentOS79-64 | pass | | | | | | | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ Comments: Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928), All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. Test environment and configuration as below: OS: FC36-64 Kernel Version: 5.17.7-300.fc36.x86_64 GCC Version: gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1) Clang Version: 14.0.0 (Fedora 14.0.0-1.fc36) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: FreeBSD13-64 Kernel Version: 13.1-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 10.3.0 Clang Version: 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL86-64 Kernel Version: 4.18.0-372.9.1.el8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13) Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug OS: SUSE15-64 Kernel Version: 5.3.18-57-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 11.0.1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc 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: 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-doc OS: UB2204-32 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: NA i686-native-linuxapp-gcc OS: UB2204-64N Kernel Version: 5.17.5-051705-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: 14.0.0-1ubuntu1 x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+shared OS: UB2204-64 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: 14.0.0-1ubuntu1 x86_64-native-linuxapp-gcc+16byte x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-doc OS: CentOS79-64 Kernel Version: 3.10.0-1160.el7.x86_64 GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc *Build Failed #1: OS: FC36-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_ena.a.p/net_ena_ena_ethdev.c.o gcc -Idrivers/libtmp_rte_net_ena.a.p -Idrivers -I../drivers -Idrivers/net/ena -I../drivers/net/ena -I../drivers/net/ena/base -I../drivers/net/ena/base/ena_defs -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_timer -I../lib/librte_timer -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_net_ena.a.p/net_ena_ena_ethdev.c.o -MF drivers/libtmp_rte_net_ena.a.p/net_ena_ena_ethdev.c.o.d -o drivers/libtmp_rte_net_ena.a.p/net_ena_ena_ethdev.c.o -c ../drivers/net/ena/ena_ethdev.c ../drivers/net/ena/ena_ethdev.c: In function ‘ena_rss_reta_query’: ../drivers/net/ena/ena_ethdev.c:647:66: error: the comparison will always evaluate as ‘false’ for the pointer operand in ‘reta_conf + 136’ must not be NULL [-Werror=address] 647 | (reta_size > RTE_RETA_GROUP_SIZE && ((reta_conf + 1) == NULL))) | ^~ In file included from /usr/lib/gcc/x86_64-redhat-linux/12/include/immintrin.h:43, from /usr/lib/gcc/x86_64-redhat-linux/12/include/x86intrin.h:32, from ../lib/librte_eal/x86/include/rte_vect.h:31, from ../lib/librte_eal/x86/include/rte_memcpy.h:17, from ../lib/librte_net/rte_ether.h:21, from ../drivers/net/ena/ena_ethdev.c:7: In function ‘_mm256_loadu_si256’, inlined from ‘rte_mov32’ at ../lib/librte_eal/x86/include/rte_memcpy.h:346:9, inlined from ‘rte_mov128’ at ../lib/librte_eal/x86/include/rte_memcpy.h:369:2, inlined from ‘rte_memcpy_generic’ at ../lib/librte_eal/x86/include/rte_memcpy.h:445:4, inlined from ‘rte_memcpy’ at ../lib/librte_eal/x86/include/rte_memcpy.h:851:10, inlined from ‘ena_rss_key_fill’ at ../drivers/net/ena/ena_ethdev.c:303:2: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:929:10: error: array subscript ‘__m256i_u[1]’ is partly outside array bounds of ‘uint8_t[40]’ {aka ‘unsigned char[40]’} [-Werror=array-bounds] 929 | return *__P; | ^~~~ ../drivers/net/ena/ena_ethdev.c: In function ‘ena_rss_key_fill’: ../drivers/net/ena/ena_ethdev.c:292:24: note: at offset 32 into object ‘default_key’ of size 40 292 | static uint8_t default_key[ENA_HASH_KEY_SIZE]; | ^~~~~~~~~~~ In function ‘_mm256_loadu_si256’, inlined from ‘rte_mov32’ at ../lib/librte_eal/x86/include/rte_memcpy.h:346:9, inlined from ‘rte_mov128’ at ../lib/librte_eal/x86/include/rte_memcpy.h:370:2, inlined from ‘rte_memcpy_generic’ at ../lib/librte_eal/x86/include/rte_memcpy.h:445:4, inlined from ‘rte_memcpy’ at ../lib/librte_eal/x86/include/rte_memcpy.h:851:10, inlined from ‘ena_rss_key_fill’ at ../drivers/net/ena/ena_ethdev.c:303:2: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:929:10: error: array subscript 2 is outside array bounds of ‘uint8_t[40]’ {aka ‘unsigned char[40]’} [-Werror=array-bounds] 929 | return *__P; | ^~~~ ../drivers/net/ena/ena_ethdev.c: In function ‘ena_rss_key_fill’: ../drivers/net/ena/ena_ethdev.c:292:24: note: at offset 64 into object ‘default_key’ of size 40 292 | static uint8_t default_key[ENA_HASH_KEY_SIZE]; | ^~~~~~~~~~~ In function ‘_mm256_loadu_si256’, inlined from ‘rte_mov32’ at ../lib/librte_eal/x86/include/rte_memcpy.h:346:9, inlined from ‘rte_mov128’ at ../lib/librte_eal/x86/include/rte_memcpy.h:371:2, inlined from ‘rte_memcpy_generic’ at ../lib/librte_eal/x86/include/rte_memcpy.h:445:4, inlined from ‘rte_memcpy’ at ../lib/librte_eal/x86/include/rte_memcpy.h:851:10, inlined from ‘ena_rss_key_fill’ at ../drivers/net/ena/ena_ethdev.c:303:2: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:929:10: error: array subscript 3 is outside array bounds of ‘uint8_t[40]’ {aka ‘unsigned char[40]’} [-Werror=array-bounds] 929 | return *__P; | ^~~~ ../drivers/net/ena/ena_ethdev.c: In function ‘ena_rss_key_fill’: ../drivers/net/ena/ena_ethdev.c:292:24: note: at offset 96 into object ‘default_key’ of size 40 292 | static uint8_t default_key[ENA_HASH_KEY_SIZE]; | ^~~~~~~~~~~ In function ‘_mm256_loadu_si256’, inlined from ‘rte_mov32’ at ../lib/librte_eal/x86/include/rte_memcpy.h:346:9, inlined from ‘rte_mov64’ at ../lib/librte_eal/x86/include/rte_memcpy.h:358:2, inlined from ‘rte_memcpy_generic’ at ../lib/librte_eal/x86/include/rte_memcpy.h:452:4, inlined from ‘rte_memcpy’ at ../lib/librte_eal/x86/include/rte_memcpy.h:851:10, inlined from ‘ena_rss_key_fill’ at ../drivers/net/ena/ena_ethdev.c:303:2: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:929:10: error: array subscript ‘__m256i_u[1]’ is partly outside array bounds of ‘const void[40]’ [-Werror=array-bounds] 929 | return *__P; | ^~~~ ../drivers/net/ena/ena_ethdev.c: In function ‘ena_rss_key_fill’: ../drivers/net/ena/ena_ethdev.c:292:24: note: at offset 32 into object ‘default_key’ of size 40 292 | static uint8_t default_key[ENA_HASH_KEY_SIZE]; | ^~~~~~~~~~~ ../drivers/net/ena/ena_ethdev.c:292:24: note: at offset [33, 40] into object ‘default_key’ of size 40 ../drivers/net/ena/ena_ethdev.c:292:24: note: at offset 160 into object ‘default_key’ of size 40 ../drivers/net/ena/ena_ethdev.c:292:24: note: at offset 32 into object ‘default_key’ of size 40 In function ‘_mm256_loadu_si256’, inlined from ‘rte_mov32’ at ../lib/librte_eal/x86/include/rte_memcpy.h:346:9, inlined from ‘rte_memcpy_generic’ at ../lib/librte_eal/x86/include/rte_memcpy.h:457:4, inlined from ‘rte_memcpy’ at ../lib/librte_eal/x86/include/rte_memcpy.h:851:10, inlined from ‘ena_rss_key_fill’ at ../drivers/net/ena/ena_ethdev.c:303:2: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:929:10: error: array subscript [2, 288230376151711745] is outside array bounds of ‘const void[40]’ [-Werror=array-bounds] 929 | return *__P; | ^~~~ ../drivers/net/ena/ena_ethdev.c: In function ‘ena_rss_key_fill’: ../drivers/net/ena/ena_ethdev.c:292:24: note: object ‘default_key’ of size 40 292 | static uint8_t default_key[ENA_HASH_KEY_SIZE]; | ^~~~~~~~~~~ ../drivers/net/ena/ena_ethdev.c:292:24: note: at offset [1, 40] into object ‘default_key’ of size 40 ../drivers/net/ena/ena_ethdev.c:292:24: note: at offset [128, 192] into object ‘default_key’ of size 40 ../drivers/net/ena/ena_ethdev.c:292:24: note: object ‘default_key’ of size 40 ../drivers/net/ena/ena_ethdev.c:292:24: note: at offset [1, 40] into object ‘default_key’ of size 40 ../drivers/net/ena/ena_ethdev.c:292:24: note: at offset [128, 192] into object ‘default_key’ of size 40 ../drivers/net/ena/ena_ethdev.c:292:24: note: object ‘default_key’ of size 40 In function ‘_mm256_loadu_si256’, inlined from ‘rte_mov32’ at ../lib/librte_eal/x86/include/rte_memcpy.h:346:9, inlined from ‘rte_memcpy_generic’ at ../lib/librte_eal/x86/include/rte_memcpy.h:458:4, inlined from ‘rte_memcpy’ at ../lib/librte_eal/x86/include/rte_memcpy.h:851:10, inlined from ‘ena_rss_key_fill’ at ../drivers/net/ena/ena_ethdev.c:303:2: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:929:10: error: array subscript [2, 288230376151711746] is outside array bounds of ‘const void[40]’ [-Werror=array-bounds] 929 | return *__P; | ^~~~ ../drivers/net/ena/ena_ethdev.c: In function ‘ena_rss_key_fill’: ../drivers/net/ena/ena_ethdev.c:292:24: note: at offset [1, 40] into object ‘default_key’ of size 40 292 | static uint8_t default_key[ENA_HASH_KEY_SIZE]; | ^~~~~~~~~~~ ../drivers/net/ena/ena_ethdev.c:292:24: note: at offset [2, 40] into object ‘default_key’ of size 40 ../drivers/net/ena/ena_ethdev.c:292:24: note: at offset [129, 193] into object ‘default_key’ of size 40 ../drivers/net/ena/ena_ethdev.c:292:24: note: at offset [1, 40] into object ‘default_key’ of size 40 ../drivers/net/ena/ena_ethdev.c:292:24: note: at offset [2, 40] into object ‘default_key’ of size 40 ../drivers/net/ena/ena_ethdev.c:292:24: note: at offset [129, 193] into object ‘default_key’ of size 40 ../drivers/net/ena/ena_ethdev.c:292:24: note: at offset [1, 40] into object ‘default_key’ of size 40 In function ‘_mm256_loadu_si256’, inlined from ‘rte_mov32’ at ../lib/librte_eal/x86/include/rte_memcpy.h:346:9, inlined from ‘rte_memcpy_generic’ at ../lib/librte_eal/x86/include/rte_memcpy.h:438:3, inlined from ‘rte_memcpy’ at ../lib/librte_eal/x86/include/rte_memcpy.h:851:10, inlined from ‘ena_rss_key_fill’ at ../drivers/net/ena/ena_ethdev.c:303:2: /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:929:10: error: array subscript ‘__m256i_u[0]’ is partly outside array bounds of ‘uint8_t[40]’ {aka ‘unsigned char[40]’} [-Werror=array-bounds] 929 | return *__P; | ^~~~ ../drivers/net/ena/ena_ethdev.c: In function ‘ena_rss_key_fill’: ../drivers/net/ena/ena_ethdev.c:292:24: note: at offset [17, 32] into object ‘default_key’ of size 40 292 | static uint8_t default_key[ENA_HASH_KEY_SIZE]; | ^~~~~~~~~~~ cc1: all warnings being treated as errors [1166/2796] Compiling C object drivers/libtmp_rte_net_enic.a.p/net_enic_base_vnic_wq.c.o [1167/2796] Compiling C object drivers/libtmp_rte_net_enic.a.p/net_enic_enic_clsf.c.o [1168/2796] Generating drivers/rte_net_dpaa2.sym_chk with a custom command (wrapped by meson to capture output) [1169/2796] Generating drivers/rte_net_e1000.sym_chk with a custom command (wrapped by meson to capture output) [1170/2796] Compiling C object drivers/libtmp_rte_net_enic.a.p/net_enic_enic_ethdev.c.o [1171/2796] Compiling C object drivers/libtmp_rte_net_enic.a.p/net_enic_enic_res.c.o [1172/2796] Compiling C object drivers/libtmp_rte_net_enic.a.p/net_enic_enic_flow.c.o [1173/2796] Compiling C object drivers/libtmp_rte_net_enic.a.p/net_enic_enic_fm_flow.c.o [1174/2796] Compiling C object drivers/libtmp_rte_net_enic.a.p/net_enic_enic_main.c.o ninja: build stopped DPDK STV team