Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/106645 _Compilation issues_ Submitter: Min Hu (Connor) Date: 2022-01-28 02:07:08 Reply_mail: 20220128020708.62787-7-humin29@huawei.com DPDK git baseline: Repo:dpdk-next-net, CommitID: ea65ef298f21b97b483e8678c3389794d06a50a3 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 | fail | | | | | | UB2004-32 | pass | | | | | | | 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: SUSE15-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_tf_core_tf_core.c.o clang -Idrivers/a715181@@tmp_rte_net_bnxt@sta -Idrivers -I../drivers -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp -Idrivers/net/bnxt/tf_ulp/generic_templates -I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core -I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -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 -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 -DSUPPORT_CFA_HW_ALL=1 -DCC_AVX2_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.bnxt -MD -MQ 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_tf_core_tf_core.c.o' -MF 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_tf_core_tf_core.c.o.d' -o 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_tf_core_tf_core.c.o' -c ../drivers/net/bnxt/tf_core/tf_core.c PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -Idrivers/a715181@@tmp_rte_net_bnxt@sta -Idrivers -I../drivers -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp -Idrivers/net/bnxt/tf_ulp/generic_templates -I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core -I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -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 -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 -DSUPPORT_CFA_HW_ALL=1 -DCC_AVX2_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.bnxt -MD -MQ drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_tf_core_tf_core.c.o -MF drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_tf_core_tf_core.c.o.d -o drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_tf_core_tf_core.c.o -c ../drivers/net/bnxt/tf_core/tf_core.c 1. /usr/lib64/clang/11.0.1/include/avx512fintrin.h:9480:54: current parser token '{' /usr/bin/../lib64/libLLVM.so.11(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamE+0x2d)[0x7f5c257da28d] /usr/bin/../lib64/libLLVM.so.11(_ZN4llvm3sys17RunSignalHandlersEv+0x50)[0x7f5c257d7c00] /usr/bin/../lib64/libLLVM.so.11(_ZN4llvm3sys15CleanupOnSignalEm+0x100)[0x7f5c257d9640] /usr/bin/../lib64/libLLVM.so.11(+0x966c7b)[0x7f5c256f3c7b] /lib64/libc.so.6(+0x3a210)[0x7f5c24618210] /usr/bin/../lib64/libclang-cpp.so.11(_ZN5clang4Sema23ActOnFunctionDeclaratorEPNS_5ScopeERNS_10DeclaratorEPNS_11DeclContextEPNS_14TypeSourceInfoERNS_12LookupResultEN4llvm15MutableArrayRefIPNS_21TemplateParameterListEEERb+0x846e)[0x7f5c2b5bbfae] [0xe643f0] clang-11.0: error: clang frontend command failed due to signal (use -v to see invocation) clang version 11.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-11.0: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-11.0: note: diagnostic msg: /tmp/tf_core-6945a2.c clang-11.0: note: diagnostic msg: /tmp/tf_core-6945a2.sh clang-11.0: note: diagnostic msg: ******************** [1208/3567] Compiling C object 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_tf_core_tf_tbl_sram.c.o' [1209/3567] Compiling C object 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_tf_core_tf_sram_mgr.c.o' [1210/3567] Compiling C object 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_tf_core_dpool.c.o' [1211/3567] Compiling C object 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o' [1212/3567] Compiling C object 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_tf_core_tf_rm.c.o' [1213/3567] Compiling C object 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_tf_core_tf_em_hash_internal.c.o' [1214/3567] Compiling C object 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_tf_core_tfp.c.o' [1215/3567] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command [1216/3567] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command ninja: build stopped DPDK STV team