Test-Label: Intel-compilation Test-Status: FAILURE _Compilation issues_ commit 1885dca7e3477c776e34fce7e63a166555b22f22 Author: Lingli Chen Date: Wed Mar 22 01:51:30 2023 -0400 doc: add tested Intel platforms with Intel NICs DPDK git Repo: dpdk-next-net-intel Meson Build Summary: 27 Builds Done, 26 Successful, 1 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FreeBSD13-64 | pass | pass | | pass | pass | | | | RHEL86-64 | pass | fail | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | RHEL91-64 | pass | | | | | | | | UB2004-64 | pass | pass | | | | pass | | | UB2204-32 | pass | | | | | | | | UB2204-64N | pass | | | pass | | | | | UB2204-64 | pass | pass | | | | pass | pass | | CentOS79-64 | pass | | | | | | | | RHEL86-64Rt | pass | | | | | | | | UB2210-64 | pass | | | | | | | | FC37-64 | pass | pass | | | | | | | UB2204-64Rt | 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: FreeBSD13-64 Kernel Version: 13.1-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 10.3.0 Clang Version: 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) 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.14.21-150400.22-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: RHEL91-64 Kernel Version: 5.14.0-162.6.1.el9_1.x86_64 GCC Version: gcc (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2) Clang Version: 14.0.6 (Red Hat 14.0.6-1.el9) x86_64-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-58-generic GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 Clang Version: NA i686-native-linuxapp-gcc OS: UB2204-64N Kernel Version: 6.1.4-060104-generic GCC Version: gcc (Ubuntu 12.1.0-2ubuntu1~22.04) 12.1.0 Clang Version: 14.0.0-1ubuntu1 x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+shared OS: UB2204-64 Kernel Version: 5.15.0-58-generic GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.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.81.1.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 OS: RHEL86-64Rt Kernel Version: 4.18.0-372.9.1.rt7.166.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 OS: UB2210-64 Kernel Version: 5.19.0-21-generic GCC Version: gcc (Ubuntu 12.2.0-3ubuntu1) 12.2.0 Clang Version: 15.0.2-1 x86_64-native-linuxapp-gcc OS: FC37-64 Kernel Version: 6.0.15-300.fc37.x86_64 GCC Version: gcc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4) Clang Version: 15.0.6 (Fedora 15.0.6-2.fc37) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: UB2204-64Rt Kernel Version: 5.15.85-rt55 GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 Clang Version: 14.0.0-1ubuntu1 x86_64-native-linuxapp-gcc *Build Failed #1: OS: RHEL86-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/net/ngbe/base/libngbe_base.a.p/ngbe_hw.c.o clang -Idrivers/net/ngbe/base/libngbe_base.a.p -Idrivers/net/ngbe/base -I../drivers/net/ngbe/base -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/ethdev -I../lib/ethdev -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 -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 -MD -MQ drivers/net/ngbe/base/libngbe_base.a.p/ngbe_hw.c.o -MF drivers/net/ngbe/base/libngbe_base.a.p/ngbe_hw.c.o.d -o drivers/net/ngbe/base/libngbe_base.a.p/ngbe_hw.c.o -c ../drivers/net/ngbe/base/ngbe_hw.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/net/ngbe/base/libngbe_base.a.p -Idrivers/net/ngbe/base -I../drivers/net/ngbe/base -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/ethdev -I../lib/ethdev -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 -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 -MD -MQ drivers/net/ngbe/base/libngbe_base.a.p/ngbe_hw.c.o -MF drivers/net/ngbe/base/libngbe_base.a.p/ngbe_hw.c.o.d -o drivers/net/ngbe/base/libngbe_base.a.p/ngbe_hw.c.o -c ../drivers/net/ngbe/base/ngbe_hw.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)[0x7f76866a1490] /lib64/libLLVM-14.so(_ZN4llvm3sys17RunSignalHandlersEv+0x34)[0x7f768669f034] /lib64/libLLVM-14.so(_ZN4llvm3sys15CleanupOnSignalEm+0x129)[0x7f768669f9d9] /lib64/libLLVM-14.so(+0xac4738)[0x7f76865b7738] /lib64/libpthread.so.0(+0x12ce0)[0x7f768f2acce0] /lib64/libLLVM-14.so(_ZN4llvm15AnalysisManagerINS_8FunctionEJEE10invalidateERS1_RKNS_17PreservedAnalysesE+0x1c5)[0x7f76868218a5] /lib64/libLLVM-14.so(_ZN4llvm33FunctionAnalysisManagerCGSCCProxy6Result10invalidateERNS_13LazyCallGraph3SCCERKNS_17PreservedAnalysesERNS_15AnalysisManagerIS3_JRS2_EE11InvalidatorE+0x6bf)[0x7f7687bb9e7f] /lib64/libLLVM-14.so(_ZN4llvm15AnalysisManagerINS_13LazyCallGraph3SCCEJRS1_EE10invalidateERS2_RKNS_17PreservedAnalysesE+0x153)[0x7f7687bba7f3] /lib64/libLLVM-14.so(_ZN4llvm11PassManagerINS_13LazyCallGraph3SCCENS_15AnalysisManagerIS2_JRS1_EEEJS4_RNS_17CGSCCUpdateResultEEE3runERS2_RS5_S4_S7_+0x32a)[0x7f7687bbbf6a] /lib64/libLLVM-14.so(+0x1e55055)[0x7f7687948055] /lib64/libLLVM-14.so(_ZN4llvm21DevirtSCCRepeatedPass3runERNS_13LazyCallGraph3SCCERNS_15AnalysisManagerIS2_JRS1_EEES5_RNS_17CGSCCUpdateResultE+0x236)[0x7f7687bbe8d6] /lib64/libLLVM-14.so(+0x1e55005)[0x7f7687948005] /lib64/libLLVM-14.so(_ZN4llvm33ModuleToPostOrderCGSCCPassAdaptor3runERNS_6ModuleERNS_15AnalysisManagerIS1_JEEE+0xcf9)[0x7f7687bbd4a9] /lib64/libLLVM-14.so(+0x1e550a5)[0x7f76879480a5] /lib64/libLLVM-14.so(_ZN4llvm11PassManagerINS_6ModuleENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3_+0x441)[0x7f76868210c1] /lib64/libLLVM-14.so(_ZN4llvm24ModuleInlinerWrapperPass3runERNS_6ModuleERNS_15AnalysisManagerIS1_JEEE+0x224)[0x7f768794bee4] /lib64/libLLVM-14.so(+0x396a815)[0x7f768945d815] /lib64/libLLVM-14.so(_ZN4llvm11PassManagerINS_6ModuleENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3_+0x441)[0x7f76868210c1] /lib64/libclang-cpp.so.14(+0x18b3d57)[0x7f768d1fcd57] /lib64/libclang-cpp.so.14(_ZN5clang17EmitBackendOutputERNS_17DiagnosticsEngineERKNS_19HeaderSearchOptionsERKNS_14CodeGenOptionsERKNS_13TargetOptionsERKNS_11LangOptionsEN4llvm9StringRefEPNSE_6ModuleENS_13BackendActionESt10unique_ptrINSE_17raw_pwrite_streamESt14default_deleteISK_EE+0x1fea)[0x7f768d20065a] /lib64/libclang-cpp.so.14(+0x1c01a7c)[0x7f768d54aa7c] /lib64/libclang-cpp.so.14(_ZN5clang8ParseASTERNS_4SemaEbb+0x459)[0x7f768c384849] /lib64/libclang-cpp.so.14(_ZN5clang13CodeGenAction13ExecuteActionEv+0x36)[0x7f768d5497c6] /lib64/libclang-cpp.so.14(_ZN5clang14FrontendAction7ExecuteEv+0xd1)[0x7f768dd95cb1] /lib64/libclang-cpp.so.14(_ZN5clang16CompilerInstance13ExecuteActionERNS_14FrontendActionE+0x14b)[0x7f768dd15b8b] /lib64/libclang-cpp.so.14(_ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0x1dc)[0x7f768de10eec] clang(_Z8cc1_mainN4llvm8ArrayRefIPKcEES2_Pv+0xe04)[0x55ddba707e44] clang(+0x127cb)[0x55ddba7047cb] /lib64/libclang-cpp.so.14(+0x20cbe09)[0x7f768da14e09] /lib64/libLLVM-14.so(_ZN4llvm20CrashRecoveryContext9RunSafelyENS_12function_refIFvvEEE+0x27)[0x7f76865b7857] /lib64/libclang-cpp.so.14(+0x20cc5f5)[0x7f768da155f5] /lib64/libclang-cpp.so.14(_ZNK5clang6driver11Compilation14ExecuteCommandERKNS0_7CommandERPS3_+0xa1)[0x7f768d9ead91] /lib64/libclang-cpp.so.14(_ZNK5clang6driver11Compilation11ExecuteJobsERKNS0_7JobListERN4llvm15SmallVectorImplISt4pairIiPKNS0_7CommandEEEE+0xa1)[0x7f768d9eb771] /lib64/libclang-cpp.so.14(_ZN5clang6driver6Driver18ExecuteCompilationERNS0_11CompilationERN4llvm15SmallVectorImplISt4pairIiPKNS0_7CommandEEEE+0xb4)[0x7f768d9f90d4] clang(main+0x198c)[0x55ddba70288c] /lib64/libc.so.6(__libc_start_main+0xf3)[0x7f7684e38ca3] clang(_start+0x2e)[0x55ddba70430e] 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/ngbe_hw-81ff2f.c clang-14: note: diagnostic msg: /tmp/ngbe_hw-81ff2f.sh clang-14: note: diagnostic msg: ******************** [1742/3235] Compiling C object drivers/net/ngbe/base/libngbe_base.a.p/ngbe_phy_yt.c.o [1743/3235] Compiling C object drivers/net/octeontx/base/libocteontx_base.a.p/octeontx_pkovf.c.o [1744/3235] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_ptypes.c.o [1745/3235] Compiling C object drivers/net/octeontx/base/libocteontx_base.a.p/octeontx_bgx.c.o [1746/3235] Compiling C object drivers/libtmp_rte_net_nfp.a.p/net_nfp_nfp_flow.c.o [1747/3235] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_pf.c.o [1748/3235] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_ethdev.c.o [1749/3235] Compiling C object drivers/libtmp_rte_net_null.a.p/net_null_rte_eth_null.c.o [1750/3235] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_rxtx.c.o ninja: build stopped DPDK STV team