Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/libomp.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-212897-15387/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/libomp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/libomp-18.1.8-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/libomp.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-212897-15387/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/libomp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uoBl7Z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openmp-18.1.8.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/openmp-18.1.8.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd openmp-18.1.8.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DKhknR + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd openmp-18.1.8.src + ln -s /usr/share/llvm/cmake ../cmake + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B aarch64-OpenCloudOS-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -GNinja -DLIBOMP_INSTALL_ALIASES=OFF -DLLVM_DIR=/usr/lib64/cmake/llvm -DCMAKE_INSTALL_INCLUDEDIR=/usr/lib64/clang/18/include -DOPENMP_LIBDIR_SUFFIX=64 -DCMAKE_SKIP_RPATH:BOOL=ON -- The C compiler identification is GNU 12.3.1 -- The CXX compiler identification is GNU 12.3.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - 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/g++ - 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_COLOR_DIAGNOSTICS -- Performing Test OPENMP_HAVE_COLOR_DIAGNOSTICS - Failed -- 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_WENUM_CONSTEXPR_CONVERSION_FLAG -- Performing Test OPENMP_HAVE_WENUM_CONSTEXPR_CONVERSION_FLAG - Failed -- Performing Test OPENMP_HAVE_WEXTRA_FLAG -- Performing Test OPENMP_HAVE_WEXTRA_FLAG - Success -- Performing Test OPENMP_HAVE_WPEDANTIC_FLAG -- Performing Test OPENMP_HAVE_WPEDANTIC_FLAG - Success -- Performing Test OPENMP_HAVE_WMAYBE_UNINITIALIZED_FLAG -- Performing Test OPENMP_HAVE_WMAYBE_UNINITIALIZED_FLAG - Success -- Performing Test OPENMP_HAVE_NO_SEMANTIC_INTERPOSITION -- Performing Test OPENMP_HAVE_NO_SEMANTIC_INTERPOSITION - Success -- Performing Test OPENMP_HAVE_FUNCTION_SECTIONS -- Performing Test OPENMP_HAVE_FUNCTION_SECTIONS - Failed -- Performing Test OPENMP_HAVE_DATA_SECTIONS -- Performing Test OPENMP_HAVE_DATA_SECTIONS - Success -- Found Python3: /usr/bin/python3.11 (found version "3.11.6") found components: Interpreter -- Cannot find llvm-lit. -- Please put llvm-lit in your PATH, set OPENMP_LLVM_LIT_EXECUTABLE to its full path, or point OPENMP_LLVM_TOOLS_DIR to its directory. CMake Warning at cmake/OpenMPTesting.cmake:22 (message): The check targets will not be available! Call Stack (most recent call first): cmake/OpenMPTesting.cmake:51 (find_standalone_test_dependencies) CMakeLists.txt:87 (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_WCLASS_MEMACCESS_FLAG -- Performing Test LIBOMP_HAVE_WCLASS_MEMACCESS_FLAG - Success -- Performing Test LIBOMP_HAVE_WCOVERED_SWITCH_DEFAULT_FLAG -- Performing Test LIBOMP_HAVE_WCOVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test LIBOMP_HAVE_WFRAME_ADDRESS_FLAG -- Performing Test LIBOMP_HAVE_WFRAME_ADDRESS_FLAG - Success -- Performing Test LIBOMP_HAVE_WSTRICT_ALIASING_FLAG -- Performing Test LIBOMP_HAVE_WSTRICT_ALIASING_FLAG - Success -- Performing Test LIBOMP_HAVE_WSTRINGOP_OVERFLOW_FLAG -- Performing Test LIBOMP_HAVE_WSTRINGOP_OVERFLOW_FLAG - Success -- Performing Test LIBOMP_HAVE_WSTRINGOP_TRUNCATION_FLAG -- Performing Test LIBOMP_HAVE_WSTRINGOP_TRUNCATION_FLAG - Success -- Performing Test LIBOMP_HAVE_WSWITCH_FLAG -- Performing Test LIBOMP_HAVE_WSWITCH_FLAG - Success -- Performing Test LIBOMP_HAVE_WUNINITIALIZED_FLAG -- Performing Test LIBOMP_HAVE_WUNINITIALIZED_FLAG - Success -- Performing Test LIBOMP_HAVE_WRETURN_TYPE_C_LINKAGE_FLAG -- Performing Test LIBOMP_HAVE_WRETURN_TYPE_C_LINKAGE_FLAG - Failed -- Performing Test LIBOMP_HAVE_WCAST_QUAL_FLAG -- Performing Test LIBOMP_HAVE_WCAST_QUAL_FLAG - Success -- Performing Test LIBOMP_HAVE_WINT_TO_VOID_POINTER_CAST_FLAG -- Performing Test LIBOMP_HAVE_WINT_TO_VOID_POINTER_CAST_FLAG - Failed -- 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 - found -- Looking for xmmintrin.h -- Looking for xmmintrin.h - not found -- Performing Test LIBOMP_HAVE__MM_MALLOC -- Performing Test LIBOMP_HAVE__MM_MALLOC - Failed -- Looking for aligned_alloc -- Looking for aligned_alloc - found -- Looking for posix_memalign -- Looking for posix_memalign - found -- Looking for _aligned_malloc -- Looking for _aligned_malloc - not found -- Performing Test LIBOMP_HAVE_X_FLAG -- Performing Test LIBOMP_HAVE_X_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 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found Perl: /usr/bin/perl (found version "5.36.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 -- aarch64 -- 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 -- LIBOMP: Use OMPX-taskgraph -- 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. -- Performing Test HAVE_FFI_CALL -- Performing Test HAVE_FFI_CALL - Success -- Found FFI: /usr/lib64/libffi.so -- Looking for histedit.h -- Looking for histedit.h - found -- Found LibEdit: /usr/include (found version "2.11") -- Performing Test Terminfo_LINKABLE -- Performing Test Terminfo_LINKABLE - Success -- Found Terminfo: /usr/lib64/libtinfo.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") -- Found LLVM 17.0.6 -- Using LLVM in: /usr/lib64/cmake/llvm -- Linker detection: GNU ld Failed to 'dlopen' libcuda.so.1 Failed to 'dlopen' libhsa-runtime64.so Failed to load libamdhip64.so: libamdhip64.so: cannot open shared object file: No such file or directory -- OMPT target enabled -- OpenMP tools dir in libomptarget: /builddir/build/BUILD/openmp-18.1.8.src/aarch64-OpenCloudOS-linux-gnu/runtime/src -- LIBOMPTARGET: Building aarch64 plugin linked with libffi -- LIBOMPTARGET: Building AMDGPU NextGen plugin for dlopened libhsa -- LIBOMPTARGET: Not generating AMDGPU tests, no supported devices detected. -- LIBOMPTARGET: Building CUDA NextGen offloading plugin. -- LIBOMPTARGET: Building CUDA plugin for dlopened libcuda -- LIBOMPTARGET: Not generating NVIDIA tests, no supported devices detected. -- LIBOMPTARGET: Not building PPC64 NextGen offloading plugin: machine not found in the system. -- LIBOMPTARGET: Not building PPC64le NextGen offloading plugin: machine not found in the system. -- LIBOMPTARGET: Not building x86_64 NextGen offloading plugin: machine not found in the system. -- LIBOMPTARGET: Not building S390X NextGen offloading plugin: machine not found in the system. -- LIBOMPTARGET: Building DeviceRTL. Using clang: /usr/bin/clang, llvm-link: /usr/bin/llvm-link and opt: /usr/bin/opt -- LIBOMPTARGET: Building the llvm-omp-device-info tool -- LIBOMPTARGET: Building the llvm-omp-kernel-replay tool -- LIBOMPTARGET: Building offloading runtime library libomptarget. -- 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. -- Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Python3_LIBRARIES Development Development.Module Development.Embed) (found version "3.11.6") -- check-openmp does nothing. -- Configuring done (5.5s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/openmp-18.1.8.src/aarch64-OpenCloudOS-linux-gnu + /usr/bin/cmake --build aarch64-OpenCloudOS-linux-gnu -j8 --verbose [1/894] cd /builddir/build/BUILD/openmp-18.1.8.src/aarch64-OpenCloudOS-linux-gnu/runtime/src && /usr/bin/perl /builddir/build/BUILD/openmp-18.1.8.src/runtime/tools/message-converter.pl --os=lin --prefix=kmp_i18n --enum=kmp_i18n_id.inc /builddir/build/BUILD/openmp-18.1.8.src/runtime/src/i18n/en_US.txt [2/894] cd /builddir/build/BUILD/openmp-18.1.8.src/aarch64-OpenCloudOS-linux-gnu/runtime/src && /usr/bin/perl /builddir/build/BUILD/openmp-18.1.8.src/runtime/tools/message-converter.pl --os=lin --prefix=kmp_i18n --default=kmp_i18n_default.inc /builddir/build/BUILD/openmp-18.1.8.src/runtime/src/i18n/en_US.txt [3/894] /usr/bin/g++ -Domp_EXPORTS -I/builddir/build/BUILD/openmp-18.1.8.src/aarch64-OpenCloudOS-linux-gnu/runtime/src -I/builddir/build/BUILD/openmp-18.1.8.src/runtime/src -I/builddir/build/BUILD/openmp-18.1.8.src/runtime/src/i18n -I/builddir/build/BUILD/openmp-18.1.8.src/runtime/src/include -I/builddir/build/BUILD/openmp-18.1.8.src/runtime/src/thirdparty/ittnotify -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -fno-semantic-interposition -fdata-sections -DNDEBUG -std=c++17 -fPIC -D _GNU_SOURCE -D _REENTRANT -fno-exceptions -fno-rtti -Wno-class-memaccess -Wno-frame-address -Wno-strict-aliasing -Wstringop-overflow=0 -Wno-stringop-truncation -Wno-switch -Wno-uninitialized -Wno-cast-qual -MD -MT runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o -MF runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o.d -o runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o -c /builddir/build/BUILD/openmp-18.1.8.src/runtime/src/kmp_alloc.cpp [4/894] /usr/bin/g++ -DDEBUG_PREFIX=\"OMPT\" -DOMPT_SUPPORT=1 -DTARGET_NAME=\"OMPT\" -I/builddir/build/BUILD/openmp-18.1.8.src/aarch64-OpenCloudOS-linux-gnu/runtime/src -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -fno-semantic-interposition -fdata-sections -DNDEBUG -std=c++17 -fPIC -fvisibility=protected -fno-exceptions -funwind-tables -MD -MT libomptarget/plugins-nextgen/common/OMPT/CMakeFiles/OMPT.dir/OmptCallback.cpp.o -MF libomptarget/plugins-nextgen/common/OMPT/CMakeFiles/OMPT.dir/OmptCallback.cpp.o.d -o libomptarget/plugins-nextgen/common/OMPT/CMakeFiles/OMPT.dir/OmptCallback.cpp.o -c /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/OMPT/OmptCallback.cpp [5/894] /usr/bin/g++ -DDEBUG_PREFIX=\"PluginInterface\" -DLIBOMPTARGET_JIT_AARCH64 -DLIBOMPTARGET_JIT_AMDGPU -DLIBOMPTARGET_JIT_ARM -DLIBOMPTARGET_JIT_AVR -DLIBOMPTARGET_JIT_BPF -DLIBOMPTARGET_JIT_HEXAGON -DLIBOMPTARGET_JIT_LANAI -DLIBOMPTARGET_JIT_LOONGARCH -DLIBOMPTARGET_JIT_MIPS -DLIBOMPTARGET_JIT_MSP430 -DLIBOMPTARGET_JIT_NVPTX -DLIBOMPTARGET_JIT_POWERPC -DLIBOMPTARGET_JIT_RISCV -DLIBOMPTARGET_JIT_SPARC -DLIBOMPTARGET_JIT_SYSTEMZ -DLIBOMPTARGET_JIT_VE -DLIBOMPTARGET_JIT_WEBASSEMBLY -DLIBOMPTARGET_JIT_X86 -DLIBOMPTARGET_JIT_XCORE -DOMPT_SUPPORT=1 -DTARGET_NAME=\"PluginInterface\" -I/builddir/build/BUILD/openmp-18.1.8.src/aarch64-OpenCloudOS-linux-gnu/runtime/src -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/include -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/include -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/OMPT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -fno-semantic-interposition -fdata-sections -DNDEBUG -std=c++17 -fPIC -fvisibility=protected -fno-exceptions -funwind-tables -fno-exceptions -flto -MD -MT libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/Utils/ELF.cpp.o -MF libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/Utils/ELF.cpp.o.d -o libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/Utils/ELF.cpp.o -c /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/Utils/ELF.cpp FAILED: libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/Utils/ELF.cpp.o /usr/bin/g++ -DDEBUG_PREFIX=\"PluginInterface\" -DLIBOMPTARGET_JIT_AARCH64 -DLIBOMPTARGET_JIT_AMDGPU -DLIBOMPTARGET_JIT_ARM -DLIBOMPTARGET_JIT_AVR -DLIBOMPTARGET_JIT_BPF -DLIBOMPTARGET_JIT_HEXAGON -DLIBOMPTARGET_JIT_LANAI -DLIBOMPTARGET_JIT_LOONGARCH -DLIBOMPTARGET_JIT_MIPS -DLIBOMPTARGET_JIT_MSP430 -DLIBOMPTARGET_JIT_NVPTX -DLIBOMPTARGET_JIT_POWERPC -DLIBOMPTARGET_JIT_RISCV -DLIBOMPTARGET_JIT_SPARC -DLIBOMPTARGET_JIT_SYSTEMZ -DLIBOMPTARGET_JIT_VE -DLIBOMPTARGET_JIT_WEBASSEMBLY -DLIBOMPTARGET_JIT_X86 -DLIBOMPTARGET_JIT_XCORE -DOMPT_SUPPORT=1 -DTARGET_NAME=\"PluginInterface\" -I/builddir/build/BUILD/openmp-18.1.8.src/aarch64-OpenCloudOS-linux-gnu/runtime/src -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/include -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/include -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/OMPT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -fno-semantic-interposition -fdata-sections -DNDEBUG -std=c++17 -fPIC -fvisibility=protected -fno-exceptions -funwind-tables -fno-exceptions -flto -MD -MT libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/Utils/ELF.cpp.o -MF libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/Utils/ELF.cpp.o.d -o libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/Utils/ELF.cpp.o -c /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/Utils/ELF.cpp /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/Utils/ELF.cpp: In function 'llvm::Expected utils::elf::checkMachine(llvm::StringRef, uint16_t)': /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/Utils/ELF.cpp:61:45: error: 'EF_AMDGPU_MACH_AMDGCN_GFX1201' was not declared in this scope 61 | (Header.e_flags & EF_AMDGPU_MACH) > EF_AMDGPU_MACH_AMDGCN_GFX1201) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/Utils/ELF.cpp:64:27: error: 'EF_CUDA_64BIT_ADDRESS' was not declared in this scope 64 | if (~Header.e_flags & EF_CUDA_64BIT_ADDRESS) | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/Utils/ELF.cpp:66:27: error: 'EF_CUDA_SM' was not declared in this scope 66 | if ((Header.e_flags & EF_CUDA_SM) < EF_CUDA_SM35 || | ^~~~~~~~~~ /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/Utils/ELF.cpp:66:41: error: 'EF_CUDA_SM35' was not declared in this scope 66 | if ((Header.e_flags & EF_CUDA_SM) < EF_CUDA_SM35 || | ^~~~~~~~~~~~ /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/Utils/ELF.cpp:67:41: error: 'EF_CUDA_SM90' was not declared in this scope 67 | (Header.e_flags & EF_CUDA_SM) > EF_CUDA_SM90) | ^~~~~~~~~~~~ [6/894] /usr/bin/g++ -Domp_EXPORTS -I/builddir/build/BUILD/openmp-18.1.8.src/aarch64-OpenCloudOS-linux-gnu/runtime/src -I/builddir/build/BUILD/openmp-18.1.8.src/runtime/src -I/builddir/build/BUILD/openmp-18.1.8.src/runtime/src/i18n -I/builddir/build/BUILD/openmp-18.1.8.src/runtime/src/include -I/builddir/build/BUILD/openmp-18.1.8.src/runtime/src/thirdparty/ittnotify -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -fno-semantic-interposition -fdata-sections -DNDEBUG -std=c++17 -fPIC -D _GNU_SOURCE -D _REENTRANT -fno-exceptions -fno-rtti -Wno-class-memaccess -Wno-frame-address -Wno-strict-aliasing -Wstringop-overflow=0 -Wno-stringop-truncation -Wno-switch -Wno-uninitialized -Wno-cast-qual -MD -MT runtime/src/CMakeFiles/omp.dir/kmp_csupport.cpp.o -MF runtime/src/CMakeFiles/omp.dir/kmp_csupport.cpp.o.d -o runtime/src/CMakeFiles/omp.dir/kmp_csupport.cpp.o -c /builddir/build/BUILD/openmp-18.1.8.src/runtime/src/kmp_csupport.cpp [7/894] /usr/bin/g++ -DDEBUG_PREFIX=\"PluginInterface\" -DLIBOMPTARGET_JIT_AARCH64 -DLIBOMPTARGET_JIT_AMDGPU -DLIBOMPTARGET_JIT_ARM -DLIBOMPTARGET_JIT_AVR -DLIBOMPTARGET_JIT_BPF -DLIBOMPTARGET_JIT_HEXAGON -DLIBOMPTARGET_JIT_LANAI -DLIBOMPTARGET_JIT_LOONGARCH -DLIBOMPTARGET_JIT_MIPS -DLIBOMPTARGET_JIT_MSP430 -DLIBOMPTARGET_JIT_NVPTX -DLIBOMPTARGET_JIT_POWERPC -DLIBOMPTARGET_JIT_RISCV -DLIBOMPTARGET_JIT_SPARC -DLIBOMPTARGET_JIT_SYSTEMZ -DLIBOMPTARGET_JIT_VE -DLIBOMPTARGET_JIT_WEBASSEMBLY -DLIBOMPTARGET_JIT_X86 -DLIBOMPTARGET_JIT_XCORE -DOMPT_SUPPORT=1 -DTARGET_NAME=\"PluginInterface\" -I/builddir/build/BUILD/openmp-18.1.8.src/aarch64-OpenCloudOS-linux-gnu/runtime/src -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/include -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/include -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/OMPT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -fno-semantic-interposition -fdata-sections -DNDEBUG -std=c++17 -fPIC -fvisibility=protected -fno-exceptions -funwind-tables -fno-exceptions -flto -MD -MT libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/RPC.cpp.o -MF libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/RPC.cpp.o.d -o libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/RPC.cpp.o -c /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/RPC.cpp [8/894] /usr/bin/g++ -Domp_EXPORTS -I/builddir/build/BUILD/openmp-18.1.8.src/aarch64-OpenCloudOS-linux-gnu/runtime/src -I/builddir/build/BUILD/openmp-18.1.8.src/runtime/src -I/builddir/build/BUILD/openmp-18.1.8.src/runtime/src/i18n -I/builddir/build/BUILD/openmp-18.1.8.src/runtime/src/include -I/builddir/build/BUILD/openmp-18.1.8.src/runtime/src/thirdparty/ittnotify -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -fno-semantic-interposition -fdata-sections -DNDEBUG -std=c++17 -fPIC -D _GNU_SOURCE -D _REENTRANT -fno-exceptions -fno-rtti -Wno-class-memaccess -Wno-frame-address -Wno-strict-aliasing -Wstringop-overflow=0 -Wno-stringop-truncation -Wno-switch -Wno-uninitialized -Wno-cast-qual -MD -MT runtime/src/CMakeFiles/omp.dir/kmp_atomic.cpp.o -MF runtime/src/CMakeFiles/omp.dir/kmp_atomic.cpp.o.d -o runtime/src/CMakeFiles/omp.dir/kmp_atomic.cpp.o -c /builddir/build/BUILD/openmp-18.1.8.src/runtime/src/kmp_atomic.cpp [9/894] /usr/bin/g++ -DDEBUG_PREFIX="\"TARGET aarch64 RTL\"" -DLIBOMPTARGET_NEXTGEN_GENERIC_PLUGIN_TRIPLE=aarch64 -DOMPT_SUPPORT=1 -DTARGET_ELF_ID=183 -DTARGET_NAME=aarch64 -I/builddir/build/BUILD/openmp-18.1.8.src/aarch64-OpenCloudOS-linux-gnu/runtime/src -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/include -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/include -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/OMPT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -fno-semantic-interposition -fdata-sections -DNDEBUG -std=c++17 -fPIC -fvisibility=protected -fno-exceptions -funwind-tables -fno-exceptions -flto -MD -MT libomptarget/plugins-nextgen/aarch64/CMakeFiles/omptarget.rtl.aarch64.dir/__/generic-elf-64bit/src/rtl.cpp.o -MF libomptarget/plugins-nextgen/aarch64/CMakeFiles/omptarget.rtl.aarch64.dir/__/generic-elf-64bit/src/rtl.cpp.o.d -o libomptarget/plugins-nextgen/aarch64/CMakeFiles/omptarget.rtl.aarch64.dir/__/generic-elf-64bit/src/rtl.cpp.o -c /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/generic-elf-64bit/src/rtl.cpp [10/894] /usr/bin/g++ -DDEBUG_PREFIX=\"PluginInterface\" -DLIBOMPTARGET_JIT_AARCH64 -DLIBOMPTARGET_JIT_AMDGPU -DLIBOMPTARGET_JIT_ARM -DLIBOMPTARGET_JIT_AVR -DLIBOMPTARGET_JIT_BPF -DLIBOMPTARGET_JIT_HEXAGON -DLIBOMPTARGET_JIT_LANAI -DLIBOMPTARGET_JIT_LOONGARCH -DLIBOMPTARGET_JIT_MIPS -DLIBOMPTARGET_JIT_MSP430 -DLIBOMPTARGET_JIT_NVPTX -DLIBOMPTARGET_JIT_POWERPC -DLIBOMPTARGET_JIT_RISCV -DLIBOMPTARGET_JIT_SPARC -DLIBOMPTARGET_JIT_SYSTEMZ -DLIBOMPTARGET_JIT_VE -DLIBOMPTARGET_JIT_WEBASSEMBLY -DLIBOMPTARGET_JIT_X86 -DLIBOMPTARGET_JIT_XCORE -DOMPT_SUPPORT=1 -DTARGET_NAME=\"PluginInterface\" -I/builddir/build/BUILD/openmp-18.1.8.src/aarch64-OpenCloudOS-linux-gnu/runtime/src -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/include -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/include -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/OMPT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -fno-semantic-interposition -fdata-sections -DNDEBUG -std=c++17 -fPIC -fvisibility=protected -fno-exceptions -funwind-tables -fno-exceptions -flto -MD -MT libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/GlobalHandler.cpp.o -MF libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/GlobalHandler.cpp.o.d -o libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/GlobalHandler.cpp.o -c /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/GlobalHandler.cpp [11/894] /usr/bin/g++ -DDEBUG_PREFIX=\"PluginInterface\" -DLIBOMPTARGET_JIT_AARCH64 -DLIBOMPTARGET_JIT_AMDGPU -DLIBOMPTARGET_JIT_ARM -DLIBOMPTARGET_JIT_AVR -DLIBOMPTARGET_JIT_BPF -DLIBOMPTARGET_JIT_HEXAGON -DLIBOMPTARGET_JIT_LANAI -DLIBOMPTARGET_JIT_LOONGARCH -DLIBOMPTARGET_JIT_MIPS -DLIBOMPTARGET_JIT_MSP430 -DLIBOMPTARGET_JIT_NVPTX -DLIBOMPTARGET_JIT_POWERPC -DLIBOMPTARGET_JIT_RISCV -DLIBOMPTARGET_JIT_SPARC -DLIBOMPTARGET_JIT_SYSTEMZ -DLIBOMPTARGET_JIT_VE -DLIBOMPTARGET_JIT_WEBASSEMBLY -DLIBOMPTARGET_JIT_X86 -DLIBOMPTARGET_JIT_XCORE -DOMPT_SUPPORT=1 -DTARGET_NAME=\"PluginInterface\" -I/builddir/build/BUILD/openmp-18.1.8.src/aarch64-OpenCloudOS-linux-gnu/runtime/src -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/include -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/include -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/OMPT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -fno-semantic-interposition -fdata-sections -DNDEBUG -std=c++17 -fPIC -fvisibility=protected -fno-exceptions -funwind-tables -fno-exceptions -flto -MD -MT libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/PluginInterface.cpp.o -MF libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/PluginInterface.cpp.o.d -o libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/PluginInterface.cpp.o -c /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp: In member function 'void* llvm::omp::target::plugin::GenericKernelTy::prepareArgs(llvm::omp::target::plugin::GenericDeviceTy&, void**, ptrdiff_t*, uint32_t&, llvm::SmallVectorImpl&, llvm::SmallVectorImpl&, KernelLaunchEnvironmentTy*) const': /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp:597:29: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 597 | for (int I = KLEOffset; I < NumArgs; ++I) { | ~~^~~~~~~~~ [12/894] /usr/bin/g++ -DDEBUG_PREFIX=\"PluginInterface\" -DLIBOMPTARGET_JIT_AARCH64 -DLIBOMPTARGET_JIT_AMDGPU -DLIBOMPTARGET_JIT_ARM -DLIBOMPTARGET_JIT_AVR -DLIBOMPTARGET_JIT_BPF -DLIBOMPTARGET_JIT_HEXAGON -DLIBOMPTARGET_JIT_LANAI -DLIBOMPTARGET_JIT_LOONGARCH -DLIBOMPTARGET_JIT_MIPS -DLIBOMPTARGET_JIT_MSP430 -DLIBOMPTARGET_JIT_NVPTX -DLIBOMPTARGET_JIT_POWERPC -DLIBOMPTARGET_JIT_RISCV -DLIBOMPTARGET_JIT_SPARC -DLIBOMPTARGET_JIT_SYSTEMZ -DLIBOMPTARGET_JIT_VE -DLIBOMPTARGET_JIT_WEBASSEMBLY -DLIBOMPTARGET_JIT_X86 -DLIBOMPTARGET_JIT_XCORE -DOMPT_SUPPORT=1 -DTARGET_NAME=\"PluginInterface\" -I/builddir/build/BUILD/openmp-18.1.8.src/aarch64-OpenCloudOS-linux-gnu/runtime/src -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/include -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/include -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/OMPT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -fno-semantic-interposition -fdata-sections -DNDEBUG -std=c++17 -fPIC -fvisibility=protected -fno-exceptions -funwind-tables -fno-exceptions -flto -MD -MT libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/JIT.cpp.o -MF libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/JIT.cpp.o.d -o libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/JIT.cpp.o -c /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/JIT.cpp FAILED: libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/JIT.cpp.o /usr/bin/g++ -DDEBUG_PREFIX=\"PluginInterface\" -DLIBOMPTARGET_JIT_AARCH64 -DLIBOMPTARGET_JIT_AMDGPU -DLIBOMPTARGET_JIT_ARM -DLIBOMPTARGET_JIT_AVR -DLIBOMPTARGET_JIT_BPF -DLIBOMPTARGET_JIT_HEXAGON -DLIBOMPTARGET_JIT_LANAI -DLIBOMPTARGET_JIT_LOONGARCH -DLIBOMPTARGET_JIT_MIPS -DLIBOMPTARGET_JIT_MSP430 -DLIBOMPTARGET_JIT_NVPTX -DLIBOMPTARGET_JIT_POWERPC -DLIBOMPTARGET_JIT_RISCV -DLIBOMPTARGET_JIT_SPARC -DLIBOMPTARGET_JIT_SYSTEMZ -DLIBOMPTARGET_JIT_VE -DLIBOMPTARGET_JIT_WEBASSEMBLY -DLIBOMPTARGET_JIT_X86 -DLIBOMPTARGET_JIT_XCORE -DOMPT_SUPPORT=1 -DTARGET_NAME=\"PluginInterface\" -I/builddir/build/BUILD/openmp-18.1.8.src/aarch64-OpenCloudOS-linux-gnu/runtime/src -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/include -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/include -I/builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/OMPT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -fno-semantic-interposition -fdata-sections -DNDEBUG -std=c++17 -fPIC -fvisibility=protected -fno-exceptions -funwind-tables -fno-exceptions -flto -MD -MT libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/JIT.cpp.o -MF libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/JIT.cpp.o.d -o libomptarget/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/JIT.cpp.o -c /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/JIT.cpp /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/JIT.cpp: In function 'llvm::Expected > {anonymous}::createTargetMachine(llvm::Module&, std::string, unsigned int)': /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/JIT.cpp:117:17: error: 'CodeGenOptLevel' was not declared in this scope; did you mean 'getOptLevel'? 117 | std::optional CGOptLevelOrNone = | ^~~~~~~~~~~~~~~ | getOptLevel /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/JIT.cpp:117:32: error: template argument 1 is invalid 117 | std::optional CGOptLevelOrNone = | ^ /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/JIT.cpp:118:27: error: cannot convert 'std::optional' to 'int' in initialization 118 | CodeGenOpt::getLevel(OptLevel); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | std::optional /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/JIT.cpp:120:18: error: expected ';' before 'CGOptLevel' 120 | CodeGenOptLevel CGOptLevel = *CGOptLevelOrNone; | ^~~~~~~~~~~ | ; /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/JIT.cpp:141:62: error: 'CGOptLevel' was not declared in this scope; did you mean 'OptLevel'? 141 | Options, RelocModel, CodeModel, CGOptLevel)); | ^~~~~~~~~~ | OptLevel /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/JIT.cpp:117:34: warning: unused variable 'CGOptLevelOrNone' [-Wunused-variable] 117 | std::optional CGOptLevelOrNone = | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/JIT.cpp: In member function 'void llvm::omp::target::JITEngine::codegen(llvm::TargetMachine*, llvm::TargetLibraryInfoImpl*, llvm::Module&, llvm::raw_pwrite_stream&)': /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/JIT.cpp:187:59: error: 'AssemblyFile' is not a member of 'llvm::CodeGenFileType' 187 | TT.isNVPTX() ? CodeGenFileType::AssemblyFile | ^~~~~~~~~~~~ /builddir/build/BUILD/openmp-18.1.8.src/libomptarget/plugins-nextgen/common/src/JIT.cpp:188:59: error: 'ObjectFile' is not a member of 'llvm::CodeGenFileType' 188 | : CodeGenFileType::ObjectFile, | ^~~~~~~~~~ ninja: build stopped: subcommand failed. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.DKhknR (%build) Bad exit status from /var/tmp/rpm-tmp.DKhknR (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/libomp.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/libomp.spec