Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/106872 _Compilation issues_ Submitter: Kai Ji Date: 2022-02-04 18:50:57 Reply_mail: 20220204185057.29893-11-kai.ji@intel.com DPDK git baseline: Repo:dpdk-next-crypto, CommitID: 4042dc2037a1509596f7eb48370185434bad39cc Meson Build Summary: 20 Builds Done, 19 Successful, 1 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | +--------------+------------+--------------+------------+------------+-----------+----------+ | FC35-64 | pass | pass | | | | | | FreeBSD13-64 | pass | pass | | pass | pass | | | RHEL84-64 | pass | pass | pass | pass | pass | | | SUSE15-64 | pass | pass | | | | | | UB2004-32 | fail | | | | | | | UB2004-64 | pass | pass | pass | | | pass | | UB2110-64 | pass | | | | | | | RHEL85-64 | pass | | | | | | +--------------+------------+--------------+------------+------------+-----------+----------+ Comments: Beacasue 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 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: UB2004-32 Target: i686-native-linuxapp-gcc FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym.c.o gcc -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -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 -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym.c.o -c ../drivers/crypto/qat/qat_sym.c ../drivers/crypto/qat/qat_sym.c: In function ‘qat_sym_build_request’: ../drivers/crypto/qat/qat_sym.c:60:42: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 60 | qat_sym_build_request_t build_request = (void *)opaque[1]; | ^ cc1: all warnings being treated as errors [724/2474] Compiling C object drivers/libtmp_rte_common_qat.a.p/compress_qat_dev_qat_comp_pmd_gen2.c.o [725/2474] Compiling C object drivers/libtmp_rte_common_qat.a.p/compress_qat_qat_comp.c.o [726/2474] Generating rte_bus_dpaa.sym_chk with a meson_exe.py custom command [727/2474] Compiling C object drivers/libtmp_rte_common_qat.a.p/compress_qat_dev_qat_comp_pmd_gen4.c.o [728/2474] Generating rte_bus_fslmc.sym_chk with a meson_exe.py custom command [729/2474] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o [730/2474] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o [731/2474] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o [732/2474] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped DPDK STV team