Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libomp.spec'], chrootPath='/var/lib/mock/module-llvm-toolset-rhel8-8060020220811121235-4240f832-build-20452-5058/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libomp-13.0.1-1.module+oc8.6.0+220+a334b398.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libomp.spec'], chrootPath='/var/lib/mock/module-llvm-toolset-rhel8-8060020220811121235-4240f832-build-20452-5058/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1vEFyL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openmp-13.0.1.src + /usr/bin/xz -dc /builddir/build/SOURCES/openmp-13.0.1.src.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd openmp-13.0.1.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-PATCH-openmp-CMake-Make-LIBOMP_HEADERS_INSTALL_PATH-.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fZWaX1 + umask 022 + cd /builddir/build/BUILD + cd openmp-13.0.1.src + mkdir -p x86_64-redhat-linux-gnu + cd x86_64-redhat-linux-gnu + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -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_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 -DLIBOMP_HEADERS_INSTALL_PATH:PATH=/usr/lib64/clang/13.0.1/include -DOPENMP_LIBDIR_SUFFIX=64 -- The C compiler identification is GNU 8.5.0 -- The CXX compiler identification is GNU 8.5.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 - Success -- 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 -- Looking for immintrin.h -- Looking for immintrin.h - found -- Performing Test LIBOMP_HAVE_ATTRIBUTE_RTM -- Performing Test LIBOMP_HAVE_ATTRIBUTE_RTM - Success -- Performing Test LIBOMP_HAVE_ATTRIBUTE_WAITPKG -- Performing Test LIBOMP_HAVE_ATTRIBUTE_WAITPKG - Failed -- Performing Test LIBOMP_HAVE_WAITPKG_INTRINSICS -- Performing Test LIBOMP_HAVE_WAITPKG_INTRINSICS - Failed -- Performing Test LIBOMP_HAVE_RTM_INTRINSICS -- Performing Test LIBOMP_HAVE_RTM_INTRINSICS - Success -- Found Perl: /usr/bin/perl (found version "5.26.3") -- 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 -- x86_64 -- 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 -- TRUE -- 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 - not found -- check-libomp does nothing. -- check-ompt does nothing. -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found LLVM 12.0.1 -- Using LLVM in: /usr/lib64/cmake/llvm -- Linker detection: GNU ld -- Found LIBOMPTARGET_DEP_LIBELF: /usr/lib64/libelf.so -- Found PkgConfig: /usr/bin/pkg-config (found version "1.4.2") -- Found LIBOMPTARGET_DEP_LIBFFI: /usr/lib64/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: Building AMDGPU plugin for dlopened libhsa -- LIBOMPTARGET: Not generating amdgcn test targets as amdgpu-arch is not found -- LIBOMPTARGET: Building CUDA offloading plugin. -- LIBOMPTARGET: Building CUDA plugin for dlopened libcuda -- LIBOMPTARGET: Disabling tests using CUDA plugin as cuda may not be available -- 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: Building x86_64 offloading plugin. -- LIBOMPTARGET: Building AMDGCN device RTL. Using clang: /usr/bin/clang -- 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 - not found -- check-libarcher does nothing. -- check-ompt-multiplex does nothing. -- check-openmp does nothing. -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS_RELEASE 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-13.0.1.src/x86_64-redhat-linux-gnu + /usr/bin/cmake --build . -j32 --verbose [1/207] /usr/bin/c++ -DTARGET_NAME=AMDGPU -Domptarget_rtl_amdgpu_EXPORTS -I../libomptarget/include -I../libomptarget/plugins/amdgpu/impl -I../libomptarget/plugins/amdgpu/dynamic_hsa -I../libomptarget/plugins/common/elf_common -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -DNDEBUG -fPIC -MD -MT libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/get_elf_mach_gfx_name.cpp.o -MF libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/get_elf_mach_gfx_name.cpp.o.d -o libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/get_elf_mach_gfx_name.cpp.o -c ../libomptarget/plugins/amdgpu/impl/get_elf_mach_gfx_name.cpp FAILED: libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/get_elf_mach_gfx_name.cpp.o /usr/bin/c++ -DTARGET_NAME=AMDGPU -Domptarget_rtl_amdgpu_EXPORTS -I../libomptarget/include -I../libomptarget/plugins/amdgpu/impl -I../libomptarget/plugins/amdgpu/dynamic_hsa -I../libomptarget/plugins/common/elf_common -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -DNDEBUG -fPIC -MD -MT libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/get_elf_mach_gfx_name.cpp.o -MF libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/get_elf_mach_gfx_name.cpp.o.d -o libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/get_elf_mach_gfx_name.cpp.o -c ../libomptarget/plugins/amdgpu/impl/get_elf_mach_gfx_name.cpp ../libomptarget/plugins/amdgpu/impl/get_elf_mach_gfx_name.cpp: In function 'const char* get_elf_mach_gfx_name(uint32_t)': ../libomptarget/plugins/amdgpu/impl/get_elf_mach_gfx_name.cpp:49:8: error: 'EF_AMDGPU_MACH_AMDGCN_GFX1013' was not declared in this scope case EF_AMDGPU_MACH_AMDGCN_GFX1013: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libomptarget/plugins/amdgpu/impl/get_elf_mach_gfx_name.cpp:59:8: error: 'EF_AMDGPU_MACH_AMDGCN_GFX1034' was not declared in this scope case EF_AMDGPU_MACH_AMDGCN_GFX1034: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libomptarget/plugins/amdgpu/impl/get_elf_mach_gfx_name.cpp:61:8: error: 'EF_AMDGPU_MACH_AMDGCN_GFX1035' was not declared in this scope case EF_AMDGPU_MACH_AMDGCN_GFX1035: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2/207] cd /builddir/build/BUILD/openmp-13.0.1.src/x86_64-redhat-linux-gnu/libomptarget/deviceRTLs/amdgcn && /usr/bin/clang -xc++ -c -mllvm -openmp-opt-disable -std=c++14 -ffreestanding -target amdgcn-amd-amdhsa -emit-llvm -Xclang -aux-triple -Xclang x86_64-unknown-linux-gnu -fopenmp -fopenmp-cuda-mode -Xclang -fopenmp-is-device -D__AMDGCN__ -Xclang -target-cpu -Xclang gfx902 -fvisibility=default -Wno-unused-value -nogpulib -O2 -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/amdgcn/src -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/common/include -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs /builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/amdgcn/src/amdgcn_smid.hip -o amdgcn_smid.gfx902.bc [3/207] cd /builddir/build/BUILD/openmp-13.0.1.src/x86_64-redhat-linux-gnu/libomptarget/deviceRTLs/amdgcn && /usr/bin/clang -xc++ -c -mllvm -openmp-opt-disable -std=c++14 -ffreestanding -target amdgcn-amd-amdhsa -emit-llvm -Xclang -aux-triple -Xclang x86_64-unknown-linux-gnu -fopenmp -fopenmp-cuda-mode -Xclang -fopenmp-is-device -D__AMDGCN__ -Xclang -target-cpu -Xclang gfx902 -fvisibility=default -Wno-unused-value -nogpulib -O2 -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/amdgcn/src -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/common/include -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs /builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/common/src/cancel.cu -o cancel.gfx902.bc [4/207] cd /builddir/build/BUILD/openmp-13.0.1.src/x86_64-redhat-linux-gnu/libomptarget/deviceRTLs/amdgcn && /usr/bin/clang -xc++ -c -mllvm -openmp-opt-disable -std=c++14 -ffreestanding -target amdgcn-amd-amdhsa -emit-llvm -Xclang -aux-triple -Xclang x86_64-unknown-linux-gnu -fopenmp -fopenmp-cuda-mode -Xclang -fopenmp-is-device -D__AMDGCN__ -Xclang -target-cpu -Xclang gfx902 -fvisibility=default -Wno-unused-value -nogpulib -O2 -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/amdgcn/src -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/common/include -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs /builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/common/src/critical.cu -o critical.gfx902.bc [5/207] cd /builddir/build/BUILD/openmp-13.0.1.src/x86_64-redhat-linux-gnu/libomptarget/deviceRTLs/amdgcn && /usr/bin/clang -xc++ -c -mllvm -openmp-opt-disable -std=c++14 -ffreestanding -target amdgcn-amd-amdhsa -emit-llvm -Xclang -aux-triple -Xclang x86_64-unknown-linux-gnu -fopenmp -fopenmp-cuda-mode -Xclang -fopenmp-is-device -D__AMDGCN__ -Xclang -target-cpu -Xclang gfx902 -fvisibility=default -Wno-unused-value -nogpulib -O2 -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/amdgcn/src -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/common/include -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs /builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/amdgcn/src/amdgcn_locks.hip -o amdgcn_locks.gfx902.bc [6/207] cd /builddir/build/BUILD/openmp-13.0.1.src/x86_64-redhat-linux-gnu/libomptarget/deviceRTLs/amdgcn && /usr/bin/clang -xc++ -c -mllvm -openmp-opt-disable -std=c++14 -ffreestanding -target amdgcn-amd-amdhsa -emit-llvm -Xclang -aux-triple -Xclang x86_64-unknown-linux-gnu -fopenmp -fopenmp-cuda-mode -Xclang -fopenmp-is-device -D__AMDGCN__ -Xclang -target-cpu -Xclang gfx902 -fvisibility=default -Wno-unused-value -nogpulib -O2 -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/amdgcn/src -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/common/include -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs /builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/common/src/omp_data.cu -o omp_data.gfx902.bc [7/207] cd /builddir/build/BUILD/openmp-13.0.1.src/x86_64-redhat-linux-gnu/runtime/src && /usr/bin/perl /builddir/build/BUILD/openmp-13.0.1.src/runtime/tools/message-converter.pl --os=lin --prefix=kmp_i18n --default=kmp_i18n_default.inc /builddir/build/BUILD/openmp-13.0.1.src/runtime/src/i18n/en_US.txt [8/207] cd /builddir/build/BUILD/openmp-13.0.1.src/x86_64-redhat-linux-gnu/runtime/src && /usr/bin/perl /builddir/build/BUILD/openmp-13.0.1.src/runtime/tools/message-converter.pl --os=lin --prefix=kmp_i18n --enum=kmp_i18n_id.inc /builddir/build/BUILD/openmp-13.0.1.src/runtime/src/i18n/en_US.txt [9/207] cd /builddir/build/BUILD/openmp-13.0.1.src/x86_64-redhat-linux-gnu/libomptarget/deviceRTLs/amdgcn && /usr/bin/clang -xc++ -c -mllvm -openmp-opt-disable -std=c++14 -ffreestanding -target amdgcn-amd-amdhsa -emit-llvm -Xclang -aux-triple -Xclang x86_64-unknown-linux-gnu -fopenmp -fopenmp-cuda-mode -Xclang -fopenmp-is-device -D__AMDGCN__ -Xclang -target-cpu -Xclang gfx902 -fvisibility=default -Wno-unused-value -nogpulib -O2 -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/amdgcn/src -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/common/include -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs /builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/common/src/omptarget.cu -o omptarget.gfx902.bc [10/207] cd /builddir/build/BUILD/openmp-13.0.1.src/x86_64-redhat-linux-gnu/libomptarget/deviceRTLs/amdgcn && /usr/bin/clang -xc++ -c -mllvm -openmp-opt-disable -std=c++14 -ffreestanding -target amdgcn-amd-amdhsa -emit-llvm -Xclang -aux-triple -Xclang x86_64-unknown-linux-gnu -fopenmp -fopenmp-cuda-mode -Xclang -fopenmp-is-device -D__AMDGCN__ -Xclang -target-cpu -Xclang gfx902 -fvisibility=default -Wno-unused-value -nogpulib -O2 -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/amdgcn/src -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/common/include -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs /builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/common/src/parallel.cu -o parallel.gfx902.bc [11/207] cd /builddir/build/BUILD/openmp-13.0.1.src/x86_64-redhat-linux-gnu/libomptarget/deviceRTLs/amdgcn && /usr/bin/clang -xc++ -c -mllvm -openmp-opt-disable -std=c++14 -ffreestanding -target amdgcn-amd-amdhsa -emit-llvm -Xclang -aux-triple -Xclang x86_64-unknown-linux-gnu -fopenmp -fopenmp-cuda-mode -Xclang -fopenmp-is-device -D__AMDGCN__ -Xclang -target-cpu -Xclang gfx902 -fvisibility=default -Wno-unused-value -nogpulib -O2 -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/amdgcn/src -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/common/include -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs /builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/common/src/libcall.cu -o libcall.gfx902.bc [12/207] cd /builddir/build/BUILD/openmp-13.0.1.src/x86_64-redhat-linux-gnu/libomptarget/deviceRTLs/amdgcn && /usr/bin/clang -xc++ -c -mllvm -openmp-opt-disable -std=c++14 -ffreestanding -target amdgcn-amd-amdhsa -emit-llvm -Xclang -aux-triple -Xclang x86_64-unknown-linux-gnu -fopenmp -fopenmp-cuda-mode -Xclang -fopenmp-is-device -D__AMDGCN__ -Xclang -target-cpu -Xclang gfx902 -fvisibility=default -Wno-unused-value -nogpulib -O2 -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/amdgcn/src -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/common/include -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs /builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/common/src/reduction.cu -o reduction.gfx902.bc [13/207] cd /builddir/build/BUILD/openmp-13.0.1.src/x86_64-redhat-linux-gnu/libomptarget/deviceRTLs/amdgcn && /usr/bin/clang -xc++ -c -mllvm -openmp-opt-disable -std=c++14 -ffreestanding -target amdgcn-amd-amdhsa -emit-llvm -Xclang -aux-triple -Xclang x86_64-unknown-linux-gnu -fopenmp -fopenmp-cuda-mode -Xclang -fopenmp-is-device -D__AMDGCN__ -Xclang -target-cpu -Xclang gfx902 -fvisibility=default -Wno-unused-value -nogpulib -O2 -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/amdgcn/src -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/common/include -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs /builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/common/src/data_sharing.cu -o data_sharing.gfx902.bc [14/207] cd /builddir/build/BUILD/openmp-13.0.1.src/x86_64-redhat-linux-gnu/libomptarget/deviceRTLs/amdgcn && /usr/bin/clang -xc++ -c -mllvm -openmp-opt-disable -std=c++14 -ffreestanding -target amdgcn-amd-amdhsa -emit-llvm -Xclang -aux-triple -Xclang x86_64-unknown-linux-gnu -fopenmp -fopenmp-cuda-mode -Xclang -fopenmp-is-device -D__AMDGCN__ -Xclang -target-cpu -Xclang gfx902 -fvisibility=default -Wno-unused-value -nogpulib -O2 -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/amdgcn/src -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/common/include -I/builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs /builddir/build/BUILD/openmp-13.0.1.src/libomptarget/deviceRTLs/common/src/loop.cu -o loop.gfx902.bc [15/207] /usr/bin/c++ -DTARGET_NAME=AMDGPU -Domptarget_rtl_amdgpu_EXPORTS -I../libomptarget/include -I../libomptarget/plugins/amdgpu/impl -I../libomptarget/plugins/amdgpu/dynamic_hsa -I../libomptarget/plugins/common/elf_common -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -DNDEBUG -fPIC -MD -MT libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/dynamic_hsa/hsa.cpp.o -MF libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/dynamic_hsa/hsa.cpp.o.d -o libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/dynamic_hsa/hsa.cpp.o -c ../libomptarget/plugins/amdgpu/dynamic_hsa/hsa.cpp [16/207] /usr/bin/c++ -DTARGET_NAME=AMDGPU -Domptarget_rtl_amdgpu_EXPORTS -I../libomptarget/include -I../libomptarget/plugins/amdgpu/impl -I../libomptarget/plugins/amdgpu/dynamic_hsa -I../libomptarget/plugins/common/elf_common -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -DNDEBUG -fPIC -MD -MT libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/atmi.cpp.o -MF libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/atmi.cpp.o.d -o libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/atmi.cpp.o -c ../libomptarget/plugins/amdgpu/impl/atmi.cpp [17/207] /usr/bin/c++ -DTARGET_NAME=AMDGPU -Domptarget_rtl_amdgpu_EXPORTS -I../libomptarget/include -I../libomptarget/plugins/amdgpu/impl -I../libomptarget/plugins/amdgpu/dynamic_hsa -I../libomptarget/plugins/common/elf_common -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -DNDEBUG -fPIC -MD -MT libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/data.cpp.o -MF libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/data.cpp.o.d -o libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/data.cpp.o -c ../libomptarget/plugins/amdgpu/impl/data.cpp ../libomptarget/plugins/amdgpu/impl/data.cpp: In function 'ATLProcessor& core::{anonymous}::get_processor_by_mem_place(int, atmi_devtype_t)': ../libomptarget/plugins/amdgpu/impl/data.cpp:26:10: warning: enumeration value 'ATMI_DEVTYPE_iGPU' not handled in switch [-Wswitch] switch (DeviceType) { ^ ../libomptarget/plugins/amdgpu/impl/data.cpp:26:10: warning: enumeration value 'ATMI_DEVTYPE_dGPU' not handled in switch [-Wswitch] ../libomptarget/plugins/amdgpu/impl/data.cpp:26:10: warning: enumeration value 'ATMI_DEVTYPE_ALL' not handled in switch [-Wswitch] ../libomptarget/plugins/amdgpu/impl/data.cpp:32:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ [18/207] /usr/bin/c++ -DTARGET_NAME=AMDGPU -Domptarget_rtl_amdgpu_EXPORTS -I../libomptarget/include -I../libomptarget/plugins/amdgpu/impl -I../libomptarget/plugins/amdgpu/dynamic_hsa -I../libomptarget/plugins/common/elf_common -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -DNDEBUG -fPIC -MD -MT libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/utils.cpp.o -MF libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/utils.cpp.o.d -o libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/utils.cpp.o -c ../libomptarget/plugins/amdgpu/impl/utils.cpp [19/207] /usr/bin/c++ -DTARGET_NAME=AMDGPU -Domptarget_rtl_amdgpu_EXPORTS -I../libomptarget/include -I../libomptarget/plugins/amdgpu/impl -I../libomptarget/plugins/amdgpu/dynamic_hsa -I../libomptarget/plugins/common/elf_common -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -DNDEBUG -fPIC -MD -MT libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/atmi_interop_hsa.cpp.o -MF libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/atmi_interop_hsa.cpp.o.d -o libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/atmi_interop_hsa.cpp.o -c ../libomptarget/plugins/amdgpu/impl/atmi_interop_hsa.cpp [20/207] /usr/bin/c++ -DTARGET_ELF_ID=62 -DTARGET_NAME=x86_64 -Domptarget_rtl_x86_64_EXPORTS -I../libomptarget/include -I../libomptarget/plugins/common/elf_common -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -DNDEBUG -fPIC -MD -MT libomptarget/plugins/x86_64/CMakeFiles/omptarget.rtl.x86_64.dir/__/generic-elf-64bit/src/rtl.cpp.o -MF libomptarget/plugins/x86_64/CMakeFiles/omptarget.rtl.x86_64.dir/__/generic-elf-64bit/src/rtl.cpp.o.d -o libomptarget/plugins/x86_64/CMakeFiles/omptarget.rtl.x86_64.dir/__/generic-elf-64bit/src/rtl.cpp.o -c ../libomptarget/plugins/generic-elf-64bit/src/rtl.cpp [21/207] /usr/bin/c++ -DTARGET_NAME=AMDGPU -Domptarget_rtl_amdgpu_EXPORTS -I../libomptarget/include -I../libomptarget/plugins/amdgpu/impl -I../libomptarget/plugins/amdgpu/dynamic_hsa -I../libomptarget/plugins/common/elf_common -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -DNDEBUG -fPIC -MD -MT libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/msgpack.cpp.o -MF libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/msgpack.cpp.o.d -o libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/msgpack.cpp.o -c ../libomptarget/plugins/amdgpu/impl/msgpack.cpp [22/207] /usr/bin/c++ -DTARGET_NAME=AMDGPU -Domptarget_rtl_amdgpu_EXPORTS -I../libomptarget/include -I../libomptarget/plugins/amdgpu/impl -I../libomptarget/plugins/amdgpu/dynamic_hsa -I../libomptarget/plugins/common/elf_common -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -DNDEBUG -fPIC -MD -MT libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/machine.cpp.o -MF libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/machine.cpp.o.d -o libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/machine.cpp.o -c ../libomptarget/plugins/amdgpu/impl/machine.cpp [23/207] /usr/bin/c++ -DTARGET_NAME=CUDA -Domptarget_rtl_cuda_EXPORTS -I../libomptarget/include -I../libomptarget/plugins/cuda/dynamic_cuda -I../libomptarget/plugins/common/elf_common -I../libomptarget/plugins/common/MemoryManager -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -DNDEBUG -fPIC -MD -MT libomptarget/plugins/cuda/CMakeFiles/omptarget.rtl.cuda.dir/dynamic_cuda/cuda.cpp.o -MF libomptarget/plugins/cuda/CMakeFiles/omptarget.rtl.cuda.dir/dynamic_cuda/cuda.cpp.o.d -o libomptarget/plugins/cuda/CMakeFiles/omptarget.rtl.cuda.dir/dynamic_cuda/cuda.cpp.o -c ../libomptarget/plugins/cuda/dynamic_cuda/cuda.cpp [24/207] /usr/bin/c++ -DOMPTARGET_PROFILE_ENABLED -Domptarget_EXPORTS -I../libomptarget/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -DNDEBUG -fPIC -fno-exceptions -MD -MT libomptarget/src/CMakeFiles/omptarget.dir/api.cpp.o -MF libomptarget/src/CMakeFiles/omptarget.dir/api.cpp.o.d -o libomptarget/src/CMakeFiles/omptarget.dir/api.cpp.o -c ../libomptarget/src/api.cpp [25/207] /usr/bin/c++ -I../libomptarget/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -DNDEBUG -fPIC -fno-exceptions -MD -MT libomptarget/plugins/common/elf_common/CMakeFiles/elf_common.dir/elf_common.cpp.o -MF libomptarget/plugins/common/elf_common/CMakeFiles/elf_common.dir/elf_common.cpp.o.d -o libomptarget/plugins/common/elf_common/CMakeFiles/elf_common.dir/elf_common.cpp.o -c ../libomptarget/plugins/common/elf_common/elf_common.cpp [26/207] /usr/bin/c++ -DOMPTARGET_PROFILE_ENABLED -Domptarget_EXPORTS -I../libomptarget/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -DNDEBUG -fPIC -fno-exceptions -MD -MT libomptarget/src/CMakeFiles/omptarget.dir/rtl.cpp.o -MF libomptarget/src/CMakeFiles/omptarget.dir/rtl.cpp.o.d -o libomptarget/src/CMakeFiles/omptarget.dir/rtl.cpp.o -c ../libomptarget/src/rtl.cpp [27/207] /usr/bin/c++ -DOMPTARGET_PROFILE_ENABLED -Domptarget_EXPORTS -I../libomptarget/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -DNDEBUG -fPIC -fno-exceptions -MD -MT libomptarget/src/CMakeFiles/omptarget.dir/interface.cpp.o -MF libomptarget/src/CMakeFiles/omptarget.dir/interface.cpp.o.d -o libomptarget/src/CMakeFiles/omptarget.dir/interface.cpp.o -c ../libomptarget/src/interface.cpp [28/207] /usr/bin/c++ -DOMPTARGET_PROFILE_ENABLED -Domptarget_EXPORTS -I../libomptarget/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -DNDEBUG -fPIC -fno-exceptions -MD -MT libomptarget/src/CMakeFiles/omptarget.dir/device.cpp.o -MF libomptarget/src/CMakeFiles/omptarget.dir/device.cpp.o.d -o libomptarget/src/CMakeFiles/omptarget.dir/device.cpp.o -c ../libomptarget/src/device.cpp [29/207] /usr/bin/c++ -DOMPTARGET_PROFILE_ENABLED -Domptarget_EXPORTS -I../libomptarget/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -DNDEBUG -fPIC -fno-exceptions -MD -MT libomptarget/src/CMakeFiles/omptarget.dir/omptarget.cpp.o -MF libomptarget/src/CMakeFiles/omptarget.dir/omptarget.cpp.o.d -o libomptarget/src/CMakeFiles/omptarget.dir/omptarget.cpp.o -c ../libomptarget/src/omptarget.cpp ../libomptarget/src/omptarget.cpp: In function 'int targetDataBegin(ident_t*, DeviceTy&, int32_t, void**, void**, int64_t*, int64_t*, void**, void**, AsyncInfoTy&, bool)': ../libomptarget/src/omptarget.cpp:520:16: warning: operation on 'MoveData' may be undefined [-Wsequence-point] MoveData = HasFlagAlways ? MoveDataStateTy::REQUIRED ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : MoveData = MoveDataStateTy::UNKNOWN; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [30/207] /usr/bin/c++ -DTARGET_NAME=CUDA -Domptarget_rtl_cuda_EXPORTS -I../libomptarget/include -I../libomptarget/plugins/cuda/dynamic_cuda -I../libomptarget/plugins/common/elf_common -I../libomptarget/plugins/common/MemoryManager -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -DNDEBUG -fPIC -MD -MT libomptarget/plugins/cuda/CMakeFiles/omptarget.rtl.cuda.dir/src/rtl.cpp.o -MF libomptarget/plugins/cuda/CMakeFiles/omptarget.rtl.cuda.dir/src/rtl.cpp.o.d -o libomptarget/plugins/cuda/CMakeFiles/omptarget.rtl.cuda.dir/src/rtl.cpp.o -c ../libomptarget/plugins/cuda/src/rtl.cpp [31/207] /usr/bin/c++ -DTARGET_NAME=AMDGPU -Domptarget_rtl_amdgpu_EXPORTS -I../libomptarget/include -I../libomptarget/plugins/amdgpu/impl -I../libomptarget/plugins/amdgpu/dynamic_hsa -I../libomptarget/plugins/common/elf_common -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -DNDEBUG -fPIC -MD -MT libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/src/rtl.cpp.o -MF libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/src/rtl.cpp.o.d -o libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/src/rtl.cpp.o -c ../libomptarget/plugins/amdgpu/src/rtl.cpp ../libomptarget/plugins/amdgpu/src/rtl.cpp: In constructor 'RTLDeviceInfoTy::RTLDeviceInfoTy()': ../libomptarget/plugins/amdgpu/src/rtl.cpp:761:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (queue_size > core::Runtime::getInstance().getMaxQueueSize()) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libomptarget/plugins/amdgpu/src/rtl.cpp: In function 'launchVals getLaunchVals(EnvironmentVariables, int, int, int, int, uint64_t, int)': ../libomptarget/plugins/amdgpu/src/rtl.cpp:1889:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (Max_Teams > RTLDeviceInfoTy::HardTeamLimit) ~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../libomptarget/plugins/amdgpu/src/rtl.cpp: In instantiation of 'hsa_status_t core::{anonymous}::collectMemoryPools(const std::vector&, AccumulatorFunc) [with AccumulatorFunc = std::_Bind, std::_Placeholder<2>))(hsa_amd_memory_pool_s, int)>]': ../libomptarget/plugins/amdgpu/src/rtl.cpp:642:80: required from here ../libomptarget/plugins/amdgpu/src/rtl.cpp:380:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for (int DeviceId = 0; DeviceId < Agents.size(); DeviceId++) { ~~~~~~~~~^~~~~~~~~~~~~~~ [32/207] /usr/bin/c++ -DTARGET_NAME=AMDGPU -Domptarget_rtl_amdgpu_EXPORTS -I../libomptarget/include -I../libomptarget/plugins/amdgpu/impl -I../libomptarget/plugins/amdgpu/dynamic_hsa -I../libomptarget/plugins/common/elf_common -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -DNDEBUG -fPIC -MD -MT libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/system.cpp.o -MF libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/system.cpp.o.d -o libomptarget/plugins/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/impl/system.cpp.o -c ../libomptarget/plugins/amdgpu/impl/system.cpp ninja: build stopped: subcommand failed. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.fZWaX1 (%build) Bad exit status from /var/tmp/rpm-tmp.fZWaX1 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, 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 --target x86_64 --nodeps /builddir/build/SPECS/libomp.spec