-- The C compiler identification is GNU 11.1.0 -- The CXX compiler identification is GNU 11.1.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test OPENMP_HAVE_WALL_FLAG -- Performing Test OPENMP_HAVE_WALL_FLAG - Success -- Performing Test OPENMP_HAVE_WERROR_FLAG -- Performing Test OPENMP_HAVE_WERROR_FLAG - Success -- Performing Test OPENMP_HAVE_WCAST_QUAL_FLAG -- Performing Test OPENMP_HAVE_WCAST_QUAL_FLAG - Success -- Performing Test OPENMP_HAVE_WFORMAT_PEDANTIC_FLAG -- Performing Test OPENMP_HAVE_WFORMAT_PEDANTIC_FLAG - Failed -- Performing Test OPENMP_HAVE_WIMPLICIT_FALLTHROUGH_FLAG -- Performing Test OPENMP_HAVE_WIMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test OPENMP_HAVE_WSIGN_COMPARE_FLAG -- Performing Test OPENMP_HAVE_WSIGN_COMPARE_FLAG - Success -- Performing Test OPENMP_HAVE_WNO_EXTRA_FLAG -- Performing Test OPENMP_HAVE_WNO_EXTRA_FLAG - Success -- Performing Test OPENMP_HAVE_WNO_PEDANTIC_FLAG -- Performing Test OPENMP_HAVE_WNO_PEDANTIC_FLAG - Success -- Performing Test OPENMP_HAVE_WNO_MAYBE_UNINITIALIZED_FLAG -- Performing Test OPENMP_HAVE_WNO_MAYBE_UNINITIALIZED_FLAG - Success -- Performing Test OPENMP_HAVE_STD_CPP14_FLAG -- Performing Test OPENMP_HAVE_STD_CPP14_FLAG - Success -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) -- Could not find Python. CMake Warning at cmake/OpenMPTesting.cmake:10 (message): The check targets will not be available! Call Stack (most recent call first): cmake/OpenMPTesting.cmake:51 (find_standalone_test_dependencies) CMakeLists.txt:49 (include) -- Performing Test LIBOMP_HAVE_FNO_EXCEPTIONS_FLAG -- Performing Test LIBOMP_HAVE_FNO_EXCEPTIONS_FLAG - Success -- Performing Test LIBOMP_HAVE_FNO_RTTI_FLAG -- Performing Test LIBOMP_HAVE_FNO_RTTI_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_CLASS_MEMACCESS_FLAG -- Performing Test LIBOMP_HAVE_WNO_CLASS_MEMACCESS_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test LIBOMP_HAVE_WNO_COVERED_SWITCH_DEFAULT_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_FRAME_ADDRESS_FLAG -- Performing Test LIBOMP_HAVE_WNO_FRAME_ADDRESS_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_STRICT_ALIASING_FLAG -- Performing Test LIBOMP_HAVE_WNO_STRICT_ALIASING_FLAG - Success -- Performing Test LIBOMP_HAVE_WSTRINGOP_OVERFLOW_FLAG -- Performing Test LIBOMP_HAVE_WSTRINGOP_OVERFLOW_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_STRINGOP_TRUNCATION_FLAG -- Performing Test LIBOMP_HAVE_WNO_STRINGOP_TRUNCATION_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_SWITCH_FLAG -- Performing Test LIBOMP_HAVE_WNO_SWITCH_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_UNINITIALIZED_FLAG -- Performing Test LIBOMP_HAVE_WNO_UNINITIALIZED_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_UNUSED_BUT_SET_VARIABLE_FLAG -- Performing Test LIBOMP_HAVE_WNO_UNUSED_BUT_SET_VARIABLE_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_RETURN_TYPE_C_LINKAGE_FLAG -- Performing Test LIBOMP_HAVE_WNO_RETURN_TYPE_C_LINKAGE_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_CAST_QUAL_FLAG -- Performing Test LIBOMP_HAVE_WNO_CAST_QUAL_FLAG - Success -- Performing Test LIBOMP_HAVE_WNO_INT_TO_VOID_POINTER_CAST_FLAG -- Performing Test LIBOMP_HAVE_WNO_INT_TO_VOID_POINTER_CAST_FLAG - Success -- Performing Test LIBOMP_HAVE_MSSE2_FLAG -- Performing Test LIBOMP_HAVE_MSSE2_FLAG - Failed -- Performing Test LIBOMP_HAVE_FTLS_MODEL_FLAG -- Performing Test LIBOMP_HAVE_FTLS_MODEL_FLAG - Success -- Performing Test LIBOMP_HAVE_MMIC_FLAG -- Performing Test LIBOMP_HAVE_MMIC_FLAG - Failed -- Performing Test LIBOMP_HAVE_M32_FLAG -- Performing Test LIBOMP_HAVE_M32_FLAG - Failed -- Looking for shm_open -- Looking for shm_open - not found -- Looking for shm_open -- Looking for shm_open - found -- Performing Test LIBOMP_HAVE_X_FLAG -- Performing Test LIBOMP_HAVE_X_FLAG - Success -- Performing Test LIBOMP_HAVE_WARN_SHARED_TEXTREL_FLAG -- Performing Test LIBOMP_HAVE_WARN_SHARED_TEXTREL_FLAG - Success -- Performing Test LIBOMP_HAVE_AS_NEEDED_FLAG -- Performing Test LIBOMP_HAVE_AS_NEEDED_FLAG - Success -- Performing Test LIBOMP_HAVE_VERSION_SCRIPT_FLAG -- Performing Test LIBOMP_HAVE_VERSION_SCRIPT_FLAG - Success -- Performing Test LIBOMP_HAVE_STATIC_LIBGCC_FLAG -- Performing Test LIBOMP_HAVE_STATIC_LIBGCC_FLAG - Success -- Performing Test LIBOMP_HAVE_Z_NOEXECSTACK_FLAG -- Performing Test LIBOMP_HAVE_Z_NOEXECSTACK_FLAG - Success -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found Perl: /usr/bin/perl (found version "5.34.0") -- Performing Test LIBOMP_HAVE_VERSION_SYMBOLS -- Performing Test LIBOMP_HAVE_VERSION_SYMBOLS - Success -- Performing Test LIBOMP_HAVE___BUILTIN_FRAME_ADDRESS -- Performing Test LIBOMP_HAVE___BUILTIN_FRAME_ADDRESS - Success -- Performing Test LIBOMP_HAVE_WEAK_ATTRIBUTE -- Performing Test LIBOMP_HAVE_WEAK_ATTRIBUTE - Success -- Performing Test LIBOMP_HAVE_PSAPI -- Performing Test LIBOMP_HAVE_PSAPI - Failed -- LIBOMP: Operating System -- Linux -- LIBOMP: Target Architecture -- riscv64 -- LIBOMP: Build Type -- Release -- LIBOMP: Library Kind -- SHARED -- LIBOMP: Library Type -- normal -- LIBOMP: Fortran Modules -- FALSE -- LIBOMP: Build -- 20140926 -- LIBOMP: Use Stats-gathering -- FALSE -- LIBOMP: Use Debugger-support -- FALSE -- LIBOMP: Use ITT notify -- TRUE -- LIBOMP: Use OMPT-support -- TRUE -- LIBOMP: Use OMPT-optional -- TRUE -- LIBOMP: Use OMPD-support -- TRUE -- LIBOMP: Use Adaptive locks -- FALSE -- LIBOMP: Use quad precision -- TRUE -- LIBOMP: Use Hwloc library -- FALSE -- Looking for sqrt in m -- Looking for sqrt in m - found -- Looking for __atomic_load_1 -- Looking for __atomic_load_1 - not found -- Looking for __atomic_load_1 in atomic -- Looking for __atomic_load_1 in atomic - found -- check-libomp does nothing. -- check-ompt does nothing. -- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") -- Found LibXml2: /usr/lib/libxml2.so (found version "2.9.12") -- Found LLVM 13.0.0 -- Using LLVM in: /usr/lib/cmake/llvm -- Linker detection: GNU ld -- Found LIBOMPTARGET_DEP_LIBELF: /usr/lib/libelf.so -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") -- Found LIBOMPTARGET_DEP_LIBFFI: /usr/lib/libffi.so -- Could NOT find LIBOMPTARGET_DEP_CUDA_DRIVER (missing: LIBOMPTARGET_DEP_CUDA_DRIVER_LIBRARIES) -- Could NOT find LIBOMPTARGET_DEP_VEO (missing: LIBOMPTARGET_DEP_VEO_LIBRARIES LIBOMPTARGET_DEP_VEOSINFO_LIBRARIES LIBOMPTARGET_DEP_VEO_INCLUDE_DIRS) -- LIBOMPTARGET: Building offloading runtime library libomptarget. -- LIBOMPTARGET: Not building aarch64 offloading plugin: machine not found in the system. -- LIBOMPTARGET: Not building AMDGPU plugin: only support AMDGPU in Linux x86_64, ppc64le, or aarch64 hosts. -- LIBOMPTARGET: Not building CUDA offloading plugin: only support CUDA in Linux x86_64, ppc64le, or aarch64 hosts. -- LIBOMPTARGET: Not building PPC64 offloading plugin: machine not found in the system. -- LIBOMPTARGET: Not building PPC64le offloading plugin: machine not found in the system. -- LIBOMPTARGET: Not building nec-aurora plugin: libveo or libveosinfo not found. -- LIBOMPTARGET: Not building x86_64 offloading plugin: machine not found in the system. -- LIBOMPTARGET: Not building AMDGCN device RTL: unknown host arch: riscv64 -- LIBOMPTARGET: Not building NVPTX deviceRTL by default on CUDA free system. -- LIBOMPTARGET: Not building NVPTX deviceRTL by default on CUDA free system. -- LIBOMPTARGET: Building the llvm-omp-device-info tool -- LIBOMPTARGET: Can only test with Clang compiler in version 6.0.0 or later. CMake Warning at libomptarget/cmake/Modules/LibomptargetUtils.cmake:20 (message): LIBOMPTARGET: The check-libomptarget target will not be available! Call Stack (most recent call first): libomptarget/test/CMakeLists.txt:5 (libomptarget_warning_say) -- Looking for __atomic_load_1 -- Looking for __atomic_load_1 - not found -- Looking for __atomic_load_1 in atomic -- Looking for __atomic_load_1 in atomic - found -- check-libarcher does nothing. -- check-ompt-multiplex does nothing. -- check-openmp does nothing. -- Configuring done -- Generating done -- Build files have been written to: /build/openmp/src/openmp-13.0.0.src/build [1/47] Generating kmp_i18n_id.inc [2/47] Generating kmp_i18n_default.inc [3/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_global.cpp.o [4/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_i18n.cpp.o [5/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_environment.cpp.o [6/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_itt.cpp.o [7/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_utility.cpp.o [8/47] Building CXX object runtime/src/CMakeFiles/omp.dir/thirdparty/ittnotify/ittnotify_static.cpp.o [9/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_debug.cpp.o [10/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_wait_release.cpp.o [11/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_threadprivate.cpp.o [12/47] Building C object runtime/src/CMakeFiles/omp.dir/z_Linux_asm.S.o [13/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_affinity.cpp.o [14/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_tasking.cpp.o [15/47] Building CXX object runtime/src/CMakeFiles/omp.dir/z_Linux_util.cpp.o [16/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_error.cpp.o [17/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_io.cpp.o [18/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_str.cpp.o [19/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_dispatch.cpp.o [20/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_gsupport.cpp.o [21/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o [22/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_version.cpp.o [23/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_atomic.cpp.o [24/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_taskdeps.cpp.o [25/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_sched.cpp.o [26/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_settings.cpp.o [27/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_cancel.cpp.o [28/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_lock.cpp.o [29/47] Building CXX object runtime/src/CMakeFiles/omp.dir/ompt-general.cpp.o [30/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_ftn_cdecl.cpp.o [31/47] Building CXX object runtime/src/CMakeFiles/omp.dir/ompd-specific.cpp.o [32/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_ftn_extra.cpp.o [33/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_barrier.cpp.o [34/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_csupport.cpp.o [35/47] Building CXX object runtime/src/CMakeFiles/omp.dir/kmp_runtime.cpp.o [36/47] Building CXX object libomptarget/src/CMakeFiles/omptarget.dir/api.cpp.o [37/47] Building CXX object tools/archer/CMakeFiles/archer.dir/ompt-tsan.cpp.o [38/47] Building CXX object libomptarget/src/CMakeFiles/omptarget.dir/interface.cpp.o [39/47] Building CXX object tools/archer/CMakeFiles/archer_static.dir/ompt-tsan.cpp.o [40/47] Building CXX object libomptarget/src/CMakeFiles/omptarget.dir/rtl.cpp.o [41/47] Linking CXX static library tools/archer/libarcher_static.a [42/47] Building CXX object libomptarget/plugins/common/elf_common/CMakeFiles/elf_common.dir/elf_common.cpp.o [43/47] Building CXX object libomptarget/src/CMakeFiles/omptarget.dir/device.cpp.o [44/47] Building CXX object libomptarget/src/CMakeFiles/omptarget.dir/omptarget.cpp.o /build/openmp/src/openmp-13.0.0.src/libomptarget/src/omptarget.cpp: In function ‘int targetDataBegin(ident_t*, DeviceTy&, int32_t, void**, void**, int64_t*, int64_t*, void**, void**, AsyncInfoTy&, bool)’: /build/openmp/src/openmp-13.0.0.src/libomptarget/src/omptarget.cpp:520:16: warning: operation on ‘MoveData’ may be undefined [-Wsequence-point] 520 | MoveData = HasFlagAlways ? MoveDataStateTy::REQUIRED | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 521 | : MoveData = MoveDataStateTy::UNKNOWN; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [45/47] Linking CXX shared library tools/archer/libarcher.so [46/47] Linking C shared library runtime/src/libomp.so FAILED: runtime/src/libomp.so : && /usr/bin/cc -fPIC -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -O3 -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -Wl,--warn-shared-textrel -Wl,--as-needed -Wl,--version-script=/build/openmp/src/openmp-13.0.0.src/runtime/src/exports_so.txt -static-libgcc -Wl,-z,noexecstack -shared -Wl,-soname,libomp.so -o runtime/src/libomp.so runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_atomic.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_csupport.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_debug.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_itt.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_environment.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_error.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_global.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_i18n.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_io.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_runtime.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_settings.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_str.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_tasking.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_threadprivate.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_utility.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_barrier.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_wait_release.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_affinity.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_dispatch.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_lock.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_sched.cpp.o runtime/src/CMakeFiles/omp.dir/z_Linux_util.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_gsupport.cpp.o runtime/src/CMakeFiles/omp.dir/thirdparty/ittnotify/ittnotify_static.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_taskdeps.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_cancel.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_ftn_cdecl.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_ftn_extra.cpp.o runtime/src/CMakeFiles/omp.dir/kmp_version.cpp.o runtime/src/CMakeFiles/omp.dir/ompt-general.cpp.o runtime/src/CMakeFiles/omp.dir/ompd-specific.cpp.o runtime/src/CMakeFiles/omp.dir/z_Linux_asm.S.o -lpthread -lrt -ldl && cd /build/openmp/src/openmp-13.0.0.src/build/runtime/src && /usr/bin/cmake -E create_symlink libomp.so libgomp.so && /usr/bin/cmake -E create_symlink libomp.so libiomp5.so /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:2550:32: warning: type ‘struct kmp_base_info’ violates the C++ One Definition Rule [-Wodr] 2550 | typedef struct KMP_ALIGN_CACHE kmp_base_info { | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:2550:32: note: a different type is defined in another translation unit 2550 | typedef struct KMP_ALIGN_CACHE kmp_base_info { | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:2585:26: note: the first difference of corresponding definitions is field ‘th_def_allocator’ 2585 | omp_allocator_handle_t th_def_allocator; /* default allocator */ | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:2585:26: note: a field of same name but different type is defined in another translation unit 2585 | omp_allocator_handle_t th_def_allocator; /* default allocator */ | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:2550:32: note: type ‘void *’ should match type ‘omp_allocator_handle_t’ 2550 | typedef struct KMP_ALIGN_CACHE kmp_base_info { | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:2691:31: warning: type ‘union kmp_info’ violates the C++ One Definition Rule [-Wodr] 2691 | typedef union KMP_ALIGN_CACHE kmp_info { | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:2691:31: note: a different type is defined in another translation unit 2691 | typedef union KMP_ALIGN_CACHE kmp_info { | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:2694:19: note: the first difference of corresponding definitions is field ‘th’ 2694 | kmp_base_info_t th; | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:2694:19: note: a field of same name but different type is defined in another translation unit 2694 | kmp_base_info_t th; | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:2691:31: note: type ‘struct kmp_base_info_t’ itself violates the C++ One Definition Rule 2691 | typedef union KMP_ALIGN_CACHE kmp_info { | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:2736:32: warning: type ‘struct kmp_base_team’ violates the C++ One Definition Rule [-Wodr] 2736 | typedef struct KMP_ALIGN_CACHE kmp_base_team { | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:2736:32: note: a different type is defined in another translation unit 2736 | typedef struct KMP_ALIGN_CACHE kmp_base_team { | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:2805:26: note: the first difference of corresponding definitions is field ‘t_def_allocator’ 2805 | omp_allocator_handle_t t_def_allocator; /* default allocator */ | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:2805:26: note: a field of same name but different type is defined in another translation unit 2805 | omp_allocator_handle_t t_def_allocator; /* default allocator */ | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:2736:32: note: type ‘omp_allocator_handle_t’ should match type ‘void *’ 2736 | typedef struct KMP_ALIGN_CACHE kmp_base_team { | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:2830:23: warning: type ‘union kmp_team’ violates the C++ One Definition Rule [-Wodr] 2830 | union KMP_ALIGN_CACHE kmp_team { | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:2830:23: note: a different type is defined in another translation unit 2830 | union KMP_ALIGN_CACHE kmp_team { | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:2831:19: note: the first difference of corresponding definitions is field ‘t’ 2831 | kmp_base_team_t t; | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:2831:19: note: a field of same name but different type is defined in another translation unit 2831 | kmp_base_team_t t; | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:2830:23: note: type ‘struct kmp_base_team_t’ itself violates the C++ One Definition Rule 2830 | union KMP_ALIGN_CACHE kmp_team { | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:1007:14: warning: type of ‘__kmpc_realloc’ does not match original declaration [-Wlto-type-mismatch] 1007 | extern void *__kmpc_realloc(int gtid, void *ptr, size_t sz, | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp_alloc.cpp:1693:7: note: type mismatch in parameter 4 1693 | void *__kmpc_realloc(int gtid, void *ptr, size_t size, | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp_alloc.cpp:1693:7: note: type ‘void *’ should match type ‘omp_allocator_handle_t’ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp_alloc.cpp:1693:7: note: ‘__kmpc_realloc’ was previously declared here /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp_alloc.cpp:1693:7: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:1010:13: warning: type of ‘__kmpc_free’ does not match original declaration [-Wlto-type-mismatch] 1010 | extern void __kmpc_free(int gtid, void *ptr, omp_allocator_handle_t al); | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp_alloc.cpp:1734:6: note: type mismatch in parameter 3 1734 | void __kmpc_free(int gtid, void *ptr, const omp_allocator_handle_t allocator) { | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp_alloc.cpp:1734:6: note: type ‘void *’ should match type ‘omp_allocator_handle_t’ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp_alloc.cpp:1734:6: note: ‘__kmpc_free’ was previously declared here /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp_alloc.cpp:1734:6: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:1005:14: warning: type of ‘__kmpc_calloc’ does not match original declaration [-Wlto-type-mismatch] 1005 | extern void *__kmpc_calloc(int gtid, size_t nmemb, size_t sz, | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp_alloc.cpp:1660:7: note: type mismatch in parameter 4 1660 | void *__kmpc_calloc(int gtid, size_t nmemb, size_t size, | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp_alloc.cpp:1660:7: note: type ‘void *’ should match type ‘omp_allocator_handle_t’ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp_alloc.cpp:1660:7: note: ‘__kmpc_calloc’ was previously declared here /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp_alloc.cpp:1660:7: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:1004:14: warning: type of ‘__kmpc_alloc’ does not match original declaration [-Wlto-type-mismatch] 1004 | extern void *__kmpc_alloc(int gtid, size_t sz, omp_allocator_handle_t al); | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp_alloc.cpp:1489:7: note: type mismatch in parameter 3 1489 | void *__kmpc_alloc(int gtid, size_t size, omp_allocator_handle_t allocator) { | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp_alloc.cpp:1489:7: note: type ‘void *’ should match type ‘omp_allocator_handle_t’ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp_alloc.cpp:1489:7: note: ‘__kmpc_alloc’ was previously declared here /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp_alloc.cpp:1489:7: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:3165:21: warning: ‘__kmp_threads’ violates the C++ One Definition Rule [-Wodr] 3165 | extern kmp_info_t **__kmp_threads; /* Descriptors for the threads */ | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp_global.cpp:435:14: note: type ‘union kmp_info_t’ itself violates the C++ One Definition Rule 435 | kmp_info_t **__kmp_threads = NULL; | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp.h:3165:21: warning: ‘__kmp_threads’ violates the C++ One Definition Rule [-Wodr] 3165 | extern kmp_info_t **__kmp_threads; /* Descriptors for the threads */ | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp_global.cpp:435:14: note: type ‘union kmp_info_t’ itself violates the C++ One Definition Rule 435 | kmp_info_t **__kmp_threads = NULL; | ^ /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp_global.cpp:435:14: note: ‘__kmp_threads’ was previously declared here /build/openmp/src/openmp-13.0.0.src/runtime/src/kmp_global.cpp:435:14: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used {standard input}: Assembler messages: {standard input}: Error: invalid attempt to declare external version name as default in symbol `ompc_set_affinity_format@@VERSION' lto-wrapper: fatal error: /usr/bin/cc returned 1 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status [47/47] Linking CXX shared library libomptarget/libomptarget.so ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build().  Aborting...