Test-Label: Intel-compilation Test-Status: FAILURE _Compilation issues_ commit 3c890cbe01cae511199e527efd1d0138a3598115 Author: Timothy McDaniel Date: Wed Mar 2 09:12:08 2022 -0600 event/dlb2: fix invalid shift value DPDK git Repo: dpdk-next-eventdev Meson Build Summary: 23 Builds Done, 22 Successful, 1 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FC35-64 | pass | fail | | | | | | | FreeBSD13-64 | pass | pass | | pass | pass | | | | RHEL84-64 | pass | pass | pass | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | UB2004-32 | pass | | | | | | | | UB2004-64 | pass | pass | pass | | | pass | pass | | UB2004-64N | pass | | | pass | | | | | UB2110-64 | pass | | | | | | | | 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-clang FAILED: lib/acl/libavx512_tmp.a.p/acl_run_avx512.c.o clang -Ilib/acl/libavx512_tmp.a.p -Ilib/acl -I../lib/acl -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 -fcolor-diagnostics -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX2_SUPPORT -mavx512f -mavx512vl -mavx512cd -mavx512bw -MD -MQ lib/acl/libavx512_tmp.a.p/acl_run_avx512.c.o -MF lib/acl/libavx512_tmp.a.p/acl_run_avx512.c.o.d -o lib/acl/libavx512_tmp.a.p/acl_run_avx512.c.o -c ../lib/acl/acl_run_avx512.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 -Ilib/acl/libavx512_tmp.a.p -Ilib/acl -I../lib/acl -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 -fcolor-diagnostics -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX2_SUPPORT -mavx512f -mavx512vl -mavx512cd -mavx512bw -MD -MQ lib/acl/libavx512_tmp.a.p/acl_run_avx512.c.o -MF lib/acl/libavx512_tmp.a.p/acl_run_avx512.c.o.d -o lib/acl/libavx512_tmp.a.p/acl_run_avx512.c.o -c ../lib/acl/acl_run_avx512.c 1. parser at end of file 2. Optimizer #0 0x00007f40471f0986 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-13.so.0+0xb5f986) #1 0x00007f40471ee714 llvm::sys::RunSignalHandlers() (/lib64/libLLVM-13.so.0+0xb5d714) #2 0x00007f4047120b08 (/lib64/libLLVM-13.so.0+0xa8fb08) #3 0x00007f40462aa760 __restore_rt (/lib64/libc.so.6+0x42760) #4 0x00007f4047c9bd45 llvm::CloneAndPruneIntoFromInst(llvm::Function*, llvm::Function const*, llvm::Instruction const*, llvm::ValueMap > >&, bool, llvm::SmallVectorImpl&, char const*, llvm::ClonedCodeInfo*) (/lib64/libLLVM-13.so.0+0x160ad45) #5 0x00007f4047c9ccef llvm::CloneAndPruneFunctionInto(llvm::Function*, llvm::Function const*, llvm::ValueMap > >&, bool, llvm::SmallVectorImpl&, char const*, llvm::ClonedCodeInfo*) (/lib64/libLLVM-13.so.0+0x160bcef) #6 0x00007f4047cddf29 llvm::InlineFunction(llvm::CallBase&, llvm::InlineFunctionInfo&, llvm::AAResults*, bool, llvm::Function*) (/lib64/libLLVM-13.so.0+0x164cf29) #7 0x00007f40482b8505 llvm::InlinerPass::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) (/lib64/libLLVM-13.so.0+0x1c27505) #8 0x00007f40482b9386 (/lib64/libLLVM-13.so.0+0x1c28386) #9 0x00007f40484ec5a6 llvm::PassManager, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) (/lib64/libLLVM-13.so.0+0x1e5b5a6) #10 0x00007f40482b0d26 (/lib64/libLLVM-13.so.0+0x1c1fd26) #11 0x00007f40484ef00b llvm::DevirtSCCRepeatedPass::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) (/lib64/libLLVM-13.so.0+0x1e5e00b) #12 0x00007f40482b0cd6 (/lib64/libLLVM-13.so.0+0x1c1fcd6) #13 0x00007f40484ede96 llvm::ModuleToPostOrderCGSCCPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-13.so.0+0x1e5ce96) #14 0x00007f40482b0d76 (/lib64/libLLVM-13.so.0+0x1c1fd76) #15 0x00007f4047359d2b llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-13.so.0+0xcc8d2b) #16 0x00007f40482b3654 llvm::ModuleInlinerWrapperPass::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-13.so.0+0x1c22654) #17 0x00007f4049e5b956 (/lib64/libLLVM-13.so.0+0x37ca956) #18 0x00007f4047359d2b llvm::PassManager >::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-13.so.0+0xcc8d2b) #19 0x00007f404e1597a6 (/lib64/libclang-cpp.so.13.0+0x1a677a6) #20 0x00007f404e15e331 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr >) (/lib64/libclang-cpp.so.13.0+0x1a6c331) #21 0x00007f404e4ae492 (/lib64/libclang-cpp.so.13.0+0x1dbc492) #22 0x00007f404d2ced29 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.13.0+0xbdcd29) #23 0x00007f404eb6cfa9 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.13.0+0x247afa9) #24 0x00007f404eb0a209 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.13.0+0x2418209) #25 0x00007f404ebdc9cb clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.13.0+0x24ea9cb) #26 0x00005569b3880430 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang-13+0x16430) #27 0x00005569b387d7bc (/usr/bin/clang-13+0x137bc) #28 0x00007f404e827409 (/lib64/libclang-cpp.so.13.0+0x2135409) #29 0x00007f4047120bd7 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-13.so.0+0xa8fbd7) #30 0x00007f404e827cae (/lib64/libclang-cpp.so.13.0+0x2135cae) #31 0x00007f404e7fd3cb clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/lib64/libclang-cpp.so.13.0+0x210b3cb) #32 0x00007f404e7fdb8e clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl >&) const (/lib64/libclang-cpp.so.13.0+0x210bb8e) #33 0x00007f404e807b02 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl >&) (/lib64/libclang-cpp.so.13.0+0x2115b02) #34 0x00005569b387b360 main (/usr/bin/clang-13+0x11360) #35 0x00007f4046295560 __libc_start_call_main (/lib64/libc.so.6+0x2d560) #36 0x00007f404629560c __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x2d60c) #37 0x00005569b387cbf5 _start (/usr/bin/clang-13+0x12bf5) clang-13: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 13.0.0 (Fedora 13.0.0~rc1-1.fc35) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /tmp/acl_run_avx512-f2a501.c clang-13: note: diagnostic msg: /tmp/acl_run_avx512-f2a501.sh clang-13: note: diagnostic msg: ******************** [185/3578] Generating rte_bbdev_def with a custom command [186/3578] Compiling C object lib/librte_acl.a.p/acl_tb_mem.c.o [187/3578] Compiling C object lib/librte_hash.a.p/hash_rte_cuckoo_hash.c.o [188/3578] Generating cmdline.sym_chk with a custom command (wrapped by meson to capture output) [189/3578] Compiling C object lib/librte_acl.a.p/acl_acl_run_sse.c.o [190/3578] Compiling C object lib/librte_bbdev.a.p/bbdev_rte_bbdev.c.o [191/3578] Compiling C object lib/librte_acl.a.p/acl_acl_run_avx2.c.o [192/3578] Generating ethdev.sym_chk with a custom command (wrapped by meson to capture output) [193/3578] Generating eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped DPDK STV team