Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/111434 _Compilation issues_ Submitter: Jeff Daly Date: 2022-05-19 17:43:25 Reply_mail: <20220519174325.23308-4-jeffd@silicom-usa.com> DPDK git baseline: Repo:dpdk, CommitID: 68c050954ff393b894aa3672a5ef1a231597dab0 Meson Build Summary: 21 Builds Done, 20 Successful, 1 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FC36-64 | | pass | | | | | | | FreeBSD13-64 | pass | pass | | pass | pass | | | | RHEL86-64 | pass | fail | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | UB2004-32 | pass | | | | | | | | UB2004-64 | pass | pass | | | | pass | | | UB2204-32 | 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-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: 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-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: RHEL86-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o clang -Idrivers/libtmp_rte_net_bnxt.a.p -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 -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 -DSUPPORT_CFA_HW_ALL=1 -DCC_AVX2_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.bnxt -MD -MQ drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o -MF drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o.d -o drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o -c ../drivers/net/bnxt/bnxt_ethdev.c PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -Idrivers/libtmp_rte_net_bnxt.a.p -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 -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 -DSUPPORT_CFA_HW_ALL=1 -DCC_AVX2_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.bnxt -MD -MQ drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o -MF drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o.d -o drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_ethdev.c.o -c ../drivers/net/bnxt/bnxt_ethdev.c 1. parser at end of file 2. Optimizer Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): /lib64/libLLVM-14.so(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamEi+0x30)[0x7fa06469d490] /lib64/libLLVM-14.so(_ZN4llvm3sys17RunSignalHandlersEv+0x34)[0x7fa06469b034] /lib64/libLLVM-14.so(_ZN4llvm3sys15CleanupOnSignalEm+0x129)[0x7fa06469b9d9] /lib64/libLLVM-14.so(+0xac4738)[0x7fa0645b3738] /lib64/libpthread.so.0(+0x12ce0)[0x7fa06d2a8ce0] /lib64/libLLVM-14.so(_ZN4llvm15AnalysisManagerINS_8FunctionEJEE10invalidateERS1_RKNS_17PreservedAnalysesE+0x1c5)[0x7fa06481d8a5] /lib64/libLLVM-14.so(_ZN4llvm27ModuleToFunctionPassAdaptor3runERNS_6ModuleERNS_15AnalysisManagerIS1_JEEE+0x799)[0x7fa06481ff89] /lib64/libLLVM-14.so(+0x2dfb565)[0x7fa0668ea565] /lib64/libLLVM-14.so(_ZN4llvm11PassManagerINS_6ModuleENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3_+0x441)[0x7fa06481d0c1] /lib64/libclang-cpp.so.14(+0x18b3d57)[0x7fa06b1f8d57] /lib64/libclang-cpp.so.14(_ZN5clang17EmitBackendOutputERNS_17DiagnosticsEngineERKNS_19HeaderSearchOptionsERKNS_14CodeGenOptionsERKNS_13TargetOptionsERKNS_11LangOptionsEN4llvm9StringRefEPNSE_6ModuleENS_13BackendActionESt10unique_ptrINSE_17raw_pwrite_streamESt14default_deleteISK_EE+0x1fea)[0x7fa06b1fc65a] /lib64/libclang-cpp.so.14(+0x1c01a7c)[0x7fa06b546a7c] /lib64/libclang-cpp.so.14(_ZN5clang8ParseASTERNS_4SemaEbb+0x459)[0x7fa06a380849] /lib64/libclang-cpp.so.14(_ZN5clang13CodeGenAction13ExecuteActionEv+0x36)[0x7fa06b5457c6] /lib64/libclang-cpp.so.14(_ZN5clang14FrontendAction7ExecuteEv+0xd1)[0x7fa06bd91cb1] /lib64/libclang-cpp.so.14(_ZN5clang16CompilerInstance13ExecuteActionERNS_14FrontendActionE+0x14b)[0x7fa06bd11b8b] /lib64/libclang-cpp.so.14(_ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0x1dc)[0x7fa06be0ceec] clang(_Z8cc1_mainN4llvm8ArrayRefIPKcEES2_Pv+0xe04)[0x563d0f53ce44] clang(+0x127cb)[0x563d0f5397cb] /lib64/libclang-cpp.so.14(+0x20cbe09)[0x7fa06ba10e09] /lib64/libLLVM-14.so(_ZN4llvm20CrashRecoveryContext9RunSafelyENS_12function_refIFvvEEE+0x27)[0x7fa0645b3857] /lib64/libclang-cpp.so.14(+0x20cc5f5)[0x7fa06ba115f5] /lib64/libclang-cpp.so.14(_ZNK5clang6driver11Compilation14ExecuteCommandERKNS0_7CommandERPS3_+0xa1)[0x7fa06b9e6d91] /lib64/libclang-cpp.so.14(_ZNK5clang6driver11Compilation11ExecuteJobsERKNS0_7JobListERN4llvm15SmallVectorImplISt4pairIiPKNS0_7CommandEEEE+0xa1)[0x7fa06b9e7771] /lib64/libclang-cpp.so.14(_ZN5clang6driver6Driver18ExecuteCompilationERNS0_11CompilationERN4llvm15SmallVectorImplISt4pairIiPKNS0_7CommandEEEE+0xb4)[0x7fa06b9f50d4] clang(main+0x198c)[0x563d0f53788c] /lib64/libc.so.6(__libc_start_main+0xf3)[0x7fa062e34ca3] clang(_start+0x2e)[0x563d0f53930e] clang-14: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54) Target: x86_64-redhat-linux-gnu Thread model: posix InstalledDir: /usr/bin clang-14: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-14: note: diagnostic msg: /tmp/bnxt_ethdev-ddff4d.c clang-14: note: diagnostic msg: /tmp/bnxt_ethdev-ddff4d.sh clang-14: note: diagnostic msg: ******************** [1169/3530] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxq.c.o [1170/3530] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_flow.c.o [1171/3530] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_stats.c.o [1172/3530] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_txq.c.o [1173/3530] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxr.c.o [1174/3530] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_txr.c.o [1175/3530] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_elink.c.o [1176/3530] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_hwrm.c.o [1177/3530] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x.c.o ninja: build stopped DPDK STV team