Test-Label: Intel-compilation Test-Status: FAILURE _Compilation issues_ commit c511bb77879a5084231e322d9d20bec51cf4fe0f Author: Christian Ehrhardt Date: Mon Mar 21 12:38:48 2022 +0100 version: 19.11.12-rc1 DPDK git Repo: dpdk-stable Meson Build Summary: 23 Builds Done, 19 Successful, 4 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FC35-64 | fail | pass | | | | | | | FreeBSD13-64 | pass | pass | | pass | pass | | | | RHEL84-64 | pass | pass | fail | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | UB2004-32 | pass | | | | | | | | UB2004-64 | pass | pass | fail | | | pass | pass | | UB2004-64N | pass | | | pass | | | | | UB2110-64 | fail | | | | | | | | RHEL85-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: FC35-64 Kernel Version: 5.14.16-301.fc35.x86_64 GCC Version: gcc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1) Clang Version: 13.0.0 (Fedora 13.0.0~rc1-1.fc35) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang 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: RHEL84-64 Kernel Version: 4.18.0-348.7.1.el8_5.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4) Clang Version: 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c) ICC Version: 19.1.3.304 (gcc version 8.5.0 compatibility) 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 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-icc x86_64-native-linuxapp-doc x86_64-native-linuxapp-gcc+16byte OS: UB2004-64N Kernel Version: 5.11.16-051116-generic GCC Version: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+shared OS: UB2110-64 Kernel Version: 5.13.0-19-generic GCC Version: gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0 Clang Version: 13.0.0-2 x86_64-native-linuxapp-gcc OS: RHEL85-64 Kernel Version: 4.18.0-348.7.1.el8_5.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4) Clang Version: 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c) ICC Version: 19.1.3.304 (gcc version 8.5.0 compatibility) x86_64-native-linuxapp-gcc *Build Failed #1: OS: FC35-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_pmd_bnxt.a.p/net_bnxt_bnxt_stats.c.o gcc -Idrivers/libtmp_rte_pmd_bnxt.a.p -Idrivers -I../drivers -Idrivers/net/bnxt -I../drivers/net/bnxt -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -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 -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 -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_bnxt.a.p/net_bnxt_bnxt_stats.c.o -MF drivers/libtmp_rte_pmd_bnxt.a.p/net_bnxt_bnxt_stats.c.o.d -o drivers/libtmp_rte_pmd_bnxt.a.p/net_bnxt_bnxt_stats.c.o -c ../drivers/net/bnxt/bnxt_stats.c In file included from ../drivers/net/bnxt/bnxt_stats.c:8: In function ‘rte_strlcpy’, inlined from ‘bnxt_dev_xstats_get_names_op’ at ../drivers/net/bnxt/bnxt_stats.c:632:2: ../lib/librte_eal/common/include/rte_string_fns.h:61:24: error: ‘__builtin_memcpy’ offset [0, 12] is out of the bounds [0, 0] [-Werror=array-bounds] 61 | return (size_t)snprintf(dst, size, "%s", src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [732/2239] Compiling C object drivers/libtmp_rte_pmd_bnxt.a.p/net_bnxt_bnxt_rxq.c.o [733/2239] Compiling C object drivers/libtmp_rte_pmd_bnxt.a.p/net_bnxt_bnxt_rxr.c.o [734/2239] Compiling C object drivers/libtmp_rte_pmd_bnxt.a.p/net_bnxt_bnxt_txq.c.o [735/2239] Compiling C object drivers/libtmp_rte_pmd_bnxt.a.p/net_bnxt_bnxt_util.c.o [736/2239] Compiling C object drivers/libtmp_rte_pmd_bnxt.a.p/net_bnxt_bnxt_txr.c.o [737/2239] Compiling C object drivers/libtmp_rte_pmd_bnx2x.a.p/net_bnx2x_bnx2x.c.o [738/2239] Compiling C object drivers/libtmp_rte_pmd_bnxt.a.p/net_bnxt_bnxt_hwrm.c.o [739/2239] Compiling C object drivers/libtmp_rte_pmd_bnx2x.a.p/net_bnx2x_elink.c.o [740/2239] Compiling C object lib/librte_pipeline.a.p/librte_pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #2: OS: RHEL84-64 Target: x86_64-native-linuxapp-icc FAILED: lib/librte_ethdev.a.p/librte_ethdev_rte_tm.c.o icc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -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 -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Wextra -Werror -O3 -include rte_config.h -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 -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -MD -MQ lib/librte_ethdev.a.p/librte_ethdev_rte_tm.c.o -MF lib/librte_ethdev.a.p/librte_ethdev_rte_tm.c.o.d -o lib/librte_ethdev.a.p/librte_ethdev_rte_tm.c.o -c ../lib/librte_ethdev/rte_tm.c In file included from ../lib/librte_ethdev/rte_ethdev.h(159), from ../lib/librte_ethdev/rte_tm.c(8): ../lib/librte_net/rte_ether.h(222): error #2203: cast discards qualifiers from target type uint16_t *from_words = (uint16_t *)(ea_from->addr_bytes); ^ compilation aborted for ../lib/librte_ethdev/rte_tm.c (code 2) [7/2195] Linking static target lib/librte_kvargs.a [8/2195] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_bus.c.o [9/2195] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_devargs.c.o [10/2195] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_hypervisor.c.o [11/2195] Compiling C object buildtools/pmdinfogen/pmdinfogen.p/pmdinfogen.c.o [12/2195] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_dev.c.o [13/2195] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_hexdump.c.o [14/2195] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_launch.c.o [15/2195] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_fbarray.c.o ninja: build stopped *Build Failed #3: OS: UB2004-64 Target: x86_64-native-linuxapp-icc FAILED: lib/librte_net.a.p/librte_net_rte_arp.c.o icc -Ilib/librte_net.a.p -Ilib -I../lib -Ilib/librte_net -I../lib/librte_net -I. -I.. -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Wextra -Werror -O3 -include rte_config.h -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ lib/librte_net.a.p/librte_net_rte_arp.c.o -MF lib/librte_net.a.p/librte_net_rte_arp.c.o.d -o lib/librte_net.a.p/librte_net_rte_arp.c.o -c ../lib/librte_net/rte_arp.c In file included from ../lib/librte_net/rte_arp.h(15), from ../lib/librte_net/rte_arp.c(7): ../lib/librte_net/rte_ether.h(222): error #2203: cast discards qualifiers from target type uint16_t *from_words = (uint16_t *)(ea_from->addr_bytes); ^ compilation aborted for ../lib/librte_net/rte_arp.c (code 2) [73/2185] Compiling C object lib/librte_mbuf.a.p/librte_mbuf_rte_mbuf_pool_ops.c.o [74/2185] Compiling C object lib/librte_net.a.p/librte_net_rte_ether.c.o FAILED: lib/librte_net.a.p/librte_net_rte_ether.c.o icc -Ilib/librte_net.a.p -Ilib -I../lib -Ilib/librte_net -I../lib/librte_net -I. -I.. -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Wextra -Werror -O3 -include rte_config.h -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ lib/librte_net.a.p/librte_net_rte_ether.c.o -MF lib/librte_net.a.p/librte_net_rte_ether.c.o.d -o lib/librte_net.a.p/librte_net_rte_ether.c.o -c ../lib/librte_net/rte_ether.c In file included from ../lib/librte_net/rte_ether.c(7): ../lib/librte_net/rte_ether.h(222): error #2203: cast discards qualifiers from target type uint16_t *from_words = (uint16_t *)(ea_from->addr_bytes); ^ compilation aborted for ../lib/librte_net/rte_ether.c (code 2) [75/2185] Generating ring.exp_chk with a custom command (wrapped by meson to capture output) [76/2185] Compiling C object lib/librte_net.a.p/librte_net_rte_net.c.o FAILED: lib/librte_net.a.p/librte_net_rte_net.c.o icc -Ilib/librte_net.a.p -Ilib -I../lib -Ilib/librte_net -I../lib/librte_net -I. -I.. -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Wextra -Werror -O3 -include rte_config.h -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ lib/librte_net.a.p/librte_net_rte_net.c.o -MF lib/librte_net.a.p/librte_net_rte_net.c.o.d -o lib/librte_net.a.p/librte_net_rte_net.c.o -c ../lib/librte_net/rte_net.c In file included from ../lib/librte_net/rte_net.c(10): ../lib/librte_net/rte_ether.h(222): error #2203: cast discards qualifiers from target type uint16_t *from_words = (uint16_t *)(ea_from->addr_bytes); ^ compilation aborted for ../lib/librte_net/rte_net.c (code 2) [77/2185] Compiling C object lib/librte_eal.a.p/librte_eal_linux_eal_eal_memory.c.o [78/2185] Compiling C object lib/librte_mbuf.a.p/librte_mbuf_rte_mbuf.c.o [79/2185] Compiling C object lib/librte_mbuf.a.p/librte_mbuf_rte_mbuf_dyn.c.o [80/2185] Compiling C object lib/librte_net.a.p/librte_net_rte_net_crc.c.o [81/2185] Generating mempool.exp_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #4: OS: UB2110-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_pmd_bnxt.a.p/net_bnxt_bnxt_stats.c.o gcc -Idrivers/libtmp_rte_pmd_bnxt.a.p -Idrivers -I../drivers -Idrivers/net/bnxt -I../drivers/net/bnxt -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -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 -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 -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_bnxt.a.p/net_bnxt_bnxt_stats.c.o -MF drivers/libtmp_rte_pmd_bnxt.a.p/net_bnxt_bnxt_stats.c.o.d -o drivers/libtmp_rte_pmd_bnxt.a.p/net_bnxt_bnxt_stats.c.o -c ../drivers/net/bnxt/bnxt_stats.c In file included from /usr/include/stdio.h:888, from ../lib/librte_eal/common/include/rte_string_fns.h:18, from ../drivers/net/bnxt/bnxt_stats.c:8: In function ‘snprintf’, inlined from ‘rte_strlcpy’ at ../lib/librte_eal/common/include/rte_string_fns.h:61:17, inlined from ‘bnxt_dev_xstats_get_names_op’ at ../drivers/net/bnxt/bnxt_stats.c:632:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:71:10: error: ‘__builtin_memcpy’ offset [0, 12] is out of the bounds [0, 0] [-Werror=array-bounds] 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [732/2239] Compiling C object drivers/libtmp_rte_pmd_bnxt.a.p/net_bnxt_bnxt_rxq.c.o [733/2239] Compiling C object drivers/libtmp_rte_pmd_bnxt.a.p/net_bnxt_bnxt_txq.c.o [734/2239] Compiling C object drivers/libtmp_rte_pmd_bnxt.a.p/net_bnxt_bnxt_rxr.c.o [735/2239] Compiling C object drivers/libtmp_rte_pmd_bnxt.a.p/net_bnxt_bnxt_txr.c.o [736/2239] Compiling C object drivers/libtmp_rte_pmd_bnxt.a.p/net_bnxt_bnxt_util.c.o [737/2239] Compiling C object drivers/libtmp_rte_pmd_bnx2x.a.p/net_bnx2x_bnx2x.c.o [738/2239] Compiling C object drivers/libtmp_rte_pmd_bnxt.a.p/net_bnxt_bnxt_hwrm.c.o [739/2239] Compiling C object lib/librte_pipeline.a.p/librte_pipeline_rte_table_action.c.o [740/2239] Compiling C object drivers/libtmp_rte_pmd_bnx2x.a.p/net_bnx2x_elink.c.o ninja: build stopped DPDK STV team