Test-Label: Intel-compilation Test-Status: FAILURE _Compilation issues_ commit f8f957f824ae07056b9ddde8b924eb828cb899b0 Author: Michael Baum Date: Thu Nov 17 17:28:07 2022 +0200 net/mlx5: fix invalid memory access in port closing DPDK git Repo: dpdk-next-net-mlx 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 | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FC36-64 | pass | pass | | | | | | | FreeBSD13-64 | pass | pass | | pass | pass | | | | RHEL86-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | RHEL90-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 | fail | | | | | | | UB2210-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-gcc x86_64-native-linuxapp-clang 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: RHEL90-64 Kernel Version: 5.14.0-70.13.1.el9_0.x86_64 GCC Version: gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9) Clang Version: 13.0.1 (Red Hat 13.0.1-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-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: NA i686-native-linuxapp-gcc OS: UB2204-64N Kernel Version: 5.17.5-051705-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 x86_64-native-linuxapp-gcc+shared 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 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 x86_64-native-linuxapp-clang 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 *Build Failed #1: OS: RHEL86-64Rt Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_kvargs.c.o clang -Idrivers/libtmp_rte_net_sfc.a.p -Idrivers -I../drivers -Idrivers/net/sfc -I../drivers/net/sfc -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 -Idrivers/common/sfc_efx -I../drivers/common/sfc_efx -Idrivers/common/sfc_efx/base -I../drivers/common/sfc_efx/base -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 -Wno-strict-aliasing -Wdisabled-optimization -Waggregate-return -Wbad-function-cast -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sfc -MD -MQ drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_kvargs.c.o -MF drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_kvargs.c.o.d -o drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_kvargs.c.o -c ../drivers/net/sfc/sfc_kvargs.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_sfc.a.p -Idrivers -I../drivers -Idrivers/net/sfc -I../drivers/net/sfc -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 -Idrivers/common/sfc_efx -I../drivers/common/sfc_efx -Idrivers/common/sfc_efx/base -I../drivers/common/sfc_efx/base -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 -Wno-strict-aliasing -Wdisabled-optimization -Waggregate-return -Wbad-function-cast -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sfc -MD -MQ drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_kvargs.c.o -MF drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_kvargs.c.o.d -o drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_kvargs.c.o -c ../drivers/net/sfc/sfc_kvargs.c 1. ../lib/ethdev/rte_flow.h:4147:38: current parser token ';' 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)[0x7fd3ef920490] /lib64/libLLVM-14.so(_ZN4llvm3sys17RunSignalHandlersEv+0x34)[0x7fd3ef91e034] /lib64/libLLVM-14.so(_ZN4llvm3sys15CleanupOnSignalEm+0x129)[0x7fd3ef91e9d9] /lib64/libLLVM-14.so(+0xac4738)[0x7fd3ef836738] /lib64/libpthread.so.0(+0x12ce0)[0x7fd3f852bce0] /lib64/libclang-cpp.so.14(_ZN5clang4Sema18DiagnoseUnusedDeclEPKNS_9NamedDeclE+0x28)[0x7fd3f5e81978] /lib64/libclang-cpp.so.14(_ZN5clang4Sema13ActOnPopScopeENS_14SourceLocationEPNS_5ScopeE+0x4db)[0x7fd3f5e82e7b] /lib64/libclang-cpp.so.14(_ZN5clang6Parser9ExitScopeEv+0x20)[0x7fd3f56cda60] /lib64/libclang-cpp.so.14(_ZN5clang6Parser21ParseDirectDeclaratorERNS_10DeclaratorE+0x3b7)[0x7fd3f562d3f7] /lib64/libclang-cpp.so.14(_ZN5clang6Parser23ParseDeclaratorInternalERNS_10DeclaratorEMS0_FvS2_E+0x1ec)[0x7fd3f561993c] /lib64/libclang-cpp.so.14(_ZN5clang6Parser14ParseDeclGroupERNS_15ParsingDeclSpecENS_17DeclaratorContextEPNS_14SourceLocationEPNS0_12ForRangeInitE+0x1ff)[0x7fd3f5626faf] /lib64/libclang-cpp.so.14(_ZN5clang6Parser30ParseDeclOrFunctionDefInternalERNS_25ParsedAttributesWithRangeERNS_15ParsingDeclSpecENS_15AccessSpecifierE+0x211)[0x7fd3f56d0271] /lib64/libclang-cpp.so.14(+0xb08889)[0x7fd3f56d0889] /lib64/libclang-cpp.so.14(_ZN5clang6Parser24ParseExternalDeclarationERNS_25ParsedAttributesWithRangeEPNS_15ParsingDeclSpecE+0x64a)[0x7fd3f56d6c5a] /lib64/libclang-cpp.so.14(_ZN5clang6Parser17ParseTopLevelDeclERNS_9OpaquePtrINS_12DeclGroupRefEEEb+0x178)[0x7fd3f56d7ba8] /lib64/libclang-cpp.so.14(_ZN5clang8ParseASTERNS_4SemaEbb+0x231)[0x7fd3f5603621] /lib64/libclang-cpp.so.14(_ZN5clang13CodeGenAction13ExecuteActionEv+0x36)[0x7fd3f67c87c6] /lib64/libclang-cpp.so.14(_ZN5clang14FrontendAction7ExecuteEv+0xd1)[0x7fd3f7014cb1] /lib64/libclang-cpp.so.14(_ZN5clang16CompilerInstance13ExecuteActionERNS_14FrontendActionE+0x14b)[0x7fd3f6f94b8b] /lib64/libclang-cpp.so.14(_ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0x1dc)[0x7fd3f708feec] clang(_Z8cc1_mainN4llvm8ArrayRefIPKcEES2_Pv+0xe04)[0x55a3f766fe44] clang(+0x127cb)[0x55a3f766c7cb] /lib64/libclang-cpp.so.14(+0x20cbe09)[0x7fd3f6c93e09] /lib64/libLLVM-14.so(_ZN4llvm20CrashRecoveryContext9RunSafelyENS_12function_refIFvvEEE+0x27)[0x7fd3ef836857] /lib64/libclang-cpp.so.14(+0x20cc5f5)[0x7fd3f6c945f5] /lib64/libclang-cpp.so.14(_ZNK5clang6driver11Compilation14ExecuteCommandERKNS0_7CommandERPS3_+0xa1)[0x7fd3f6c69d91] /lib64/libclang-cpp.so.14(_ZNK5clang6driver11Compilation11ExecuteJobsERKNS0_7JobListERN4llvm15SmallVectorImplISt4pairIiPKNS0_7CommandEEEE+0xa1)[0x7fd3f6c6a771] /lib64/libclang-cpp.so.14(_ZN5clang6driver6Driver18ExecuteCompilationERNS0_11CompilationERN4llvm15SmallVectorImplISt4pairIiPKNS0_7CommandEEEE+0xb4)[0x7fd3f6c780d4] clang(main+0x198c)[0x55a3f766a88c] /lib64/libc.so.6(__libc_start_main+0xf3)[0x7fd3ee0b7ca3] clang(_start+0x2e)[0x55a3f766c30e] 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/sfc_kvargs-cc2725.c clang-14: note: diagnostic msg: /tmp/sfc_kvargs-cc2725.sh clang-14: note: diagnostic msg: ******************** [1955/3394] Compiling C object drivers/libtmp_rte_net_qede.a.p/net_qede_qede_rxtx.c.o [1956/3394] Compiling C object drivers/libtmp_rte_net_ring.a.p/net_ring_rte_eth_ring.c.o [1957/3394] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc.c.o [1958/3394] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ethdev.c.o [1959/3394] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_intr.c.o [1960/3394] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_sw_stats.c.o [1961/3394] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_port.c.o [1962/3394] Compiling C object drivers/libtmp_rte_net_qede.a.p/net_qede_qede_debug.c.o [1963/3394] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ev.c.o ninja: build stopped DPDK STV team