llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building `clang,llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/73/builds/17438 <details> <summary>Here is the relevant piece of the build log for the reference</summary> ``` Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py --cmake-file=AMDGPULibcBot.cmake' (failure) ... [891/945] Generating OffloadEntryPoints.inc [892/945] Building CXX object offload/tools/deviceinfo/CMakeFiles/llvm-offload-device-info.dir/llvm-offload-device-info.cpp.o [893/945] Building CXX object offload/unittests/Conformance/lib/CMakeFiles/MathTest.dir/DeviceResources.cpp.o [894/945] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/OffloadError.cpp.o [895/945] Building CXX object offload/plugins-nextgen/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/dynamic_hsa/hsa.cpp.o [896/945] Building CXX object offload/unittests/Conformance/lib/CMakeFiles/MathTest.dir/ErrorHandling.cpp.o [897/945] Building CXX object offload/unittests/Conformance/lib/CMakeFiles/MathTest.dir/CommandLineExtras.cpp.o [898/945] Building CXX object offload/plugins-nextgen/cuda/CMakeFiles/omptarget.rtl.cuda.dir/dynamic_cuda/cuda.cpp.o [899/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/KernelLanguage/API.cpp.o [900/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/DeviceImage.cpp.o FAILED: offload/libomptarget/CMakeFiles/omptarget.dir/DeviceImage.cpp.o /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -DDEBUG_PREFIX=\"omptarget\" -DOMPT_SUPPORT=1 -DTARGET_NAME=omptarget -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/runtimes/runtimes-bins/openmp/runtime/src -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/offload/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/runtimes/runtimes-bins/offload/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/offload/plugins-nextgen/common/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/runtimes/runtimes-bins/offload/plugins-nextgen/common/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -Werror=global-constructors -MD -MT offload/libomptarget/CMakeFiles/omptarget.dir/DeviceImage.cpp.o -MF offload/libomptarget/CMakeFiles/omptarget.dir/DeviceImage.cpp.o.d -o offload/libomptarget/CMakeFiles/omptarget.dir/DeviceImage.cpp.o -c /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/offload/libomptarget/DeviceImage.cpp /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/offload/libomptarget/DeviceImage.cpp:41:10: error: no viable overloaded '=' 41 | Binary = std::move(*BinaryOrErr); | ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/unique_ptr.h:371:19: note: candidate function not viable: no known conversion from 'typename std::remove_reference<llvm::SmallVector<std::unique_ptr<llvm::object::OffloadBinary, std::default_delete<llvm::object::OffloadBinary>>, 6> &>::type' (aka 'llvm::SmallVector<std::unique_ptr<llvm::object::OffloadBinary>>') to 'unique_ptr<llvm::object::OffloadBinary>' for 1st argument 371 | unique_ptr& operator=(unique_ptr&&) = default; | ^ ~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/unique_ptr.h:395:7: note: candidate function not viable: no known conversion from 'typename std::remove_reference<llvm::SmallVector<std::unique_ptr<llvm::object::OffloadBinary, std::default_delete<llvm::object::OffloadBinary>>, 6> &>::type' (aka 'llvm::SmallVector<std::unique_ptr<llvm::object::OffloadBinary>>') to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 395 | operator=(nullptr_t) noexcept | ^ ~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/unique_ptr.h:469:19: note: candidate function not viable: no known conversion from 'typename std::remove_reference<llvm::SmallVector<std::unique_ptr<llvm::object::OffloadBinary, std::default_delete<llvm::object::OffloadBinary>>, 6> &>::type' (aka 'llvm::SmallVector<std::unique_ptr<llvm::object::OffloadBinary>>') to 'const unique_ptr<llvm::object::OffloadBinary>' for 1st argument 469 | unique_ptr& operator=(const unique_ptr&) = delete; | ^ ~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/unique_ptr.h:386:2: note: candidate template ignored: could not match 'unique_ptr' against 'llvm::SmallVector' 386 | operator=(unique_ptr<_Up, _Ep>&& __u) noexcept | ^ 1 error generated. [901/945] Building CXX object offload/unittests/Conformance/lib/CMakeFiles/MathTest.dir/TestConfig.cpp.o [902/945] Building CXX object offload/unittests/Conformance/lib/CMakeFiles/MathTest.dir/DeviceContext.cpp.o [903/945] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors.cpp.o [904/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/OMPT/Callback.cpp.o [905/945] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors.cpp.o [906/945] Building CXX object offload/tools/kernelreplay/CMakeFiles/llvm-omp-kernel-replay.dir/llvm-omp-kernel-replay.cpp.o [907/945] Building CXX object third-party/runtimes_gtest/CMakeFiles/runtimes_gtest.dir/googletest/src/gtest-all.cc.o [908/945] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/Utils/ELF.cpp.o [909/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/LegacyAPI.cpp.o [910/945] Building CXX object offload/plugins-nextgen/host/CMakeFiles/omptarget.rtl.host.dir/src/rtl.cpp.o [911/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OffloadRTL.cpp.o [912/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/InteropAPI.cpp.o [913/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/Mapping.cpp.o [914/945] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/GlobalHandler.cpp.o [915/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/interface.cpp.o [916/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/device.cpp.o [917/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/API.cpp.o [918/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/PluginManager.cpp.o [919/945] Building CXX object offload/liboffload/CMakeFiles/LLVMOffload.dir/src/OffloadLib.cpp.o [920/945] Building CXX object offload/liboffload/CMakeFiles/LLVMOffload.dir/src/OffloadImpl.cpp.o [921/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/omptarget.cpp.o Step 7 (build cmake config) failure: build cmake config (failure) ... [891/945] Generating OffloadEntryPoints.inc [892/945] Building CXX object offload/tools/deviceinfo/CMakeFiles/llvm-offload-device-info.dir/llvm-offload-device-info.cpp.o [893/945] Building CXX object offload/unittests/Conformance/lib/CMakeFiles/MathTest.dir/DeviceResources.cpp.o [894/945] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/OffloadError.cpp.o [895/945] Building CXX object offload/plugins-nextgen/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/dynamic_hsa/hsa.cpp.o [896/945] Building CXX object offload/unittests/Conformance/lib/CMakeFiles/MathTest.dir/ErrorHandling.cpp.o [897/945] Building CXX object offload/unittests/Conformance/lib/CMakeFiles/MathTest.dir/CommandLineExtras.cpp.o [898/945] Building CXX object offload/plugins-nextgen/cuda/CMakeFiles/omptarget.rtl.cuda.dir/dynamic_cuda/cuda.cpp.o [899/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/KernelLanguage/API.cpp.o [900/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/DeviceImage.cpp.o FAILED: offload/libomptarget/CMakeFiles/omptarget.dir/DeviceImage.cpp.o /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -DDEBUG_PREFIX=\"omptarget\" -DOMPT_SUPPORT=1 -DTARGET_NAME=omptarget -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/runtimes/runtimes-bins/openmp/runtime/src -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/offload/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/runtimes/runtimes-bins/offload/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/offload/plugins-nextgen/common/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/runtimes/runtimes-bins/offload/plugins-nextgen/common/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -Werror=global-constructors -MD -MT offload/libomptarget/CMakeFiles/omptarget.dir/DeviceImage.cpp.o -MF offload/libomptarget/CMakeFiles/omptarget.dir/DeviceImage.cpp.o.d -o offload/libomptarget/CMakeFiles/omptarget.dir/DeviceImage.cpp.o -c /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/offload/libomptarget/DeviceImage.cpp /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/offload/libomptarget/DeviceImage.cpp:41:10: error: no viable overloaded '=' 41 | Binary = std::move(*BinaryOrErr); | ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/unique_ptr.h:371:19: note: candidate function not viable: no known conversion from 'typename std::remove_reference<llvm::SmallVector<std::unique_ptr<llvm::object::OffloadBinary, std::default_delete<llvm::object::OffloadBinary>>, 6> &>::type' (aka 'llvm::SmallVector<std::unique_ptr<llvm::object::OffloadBinary>>') to 'unique_ptr<llvm::object::OffloadBinary>' for 1st argument 371 | unique_ptr& operator=(unique_ptr&&) = default; | ^ ~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/unique_ptr.h:395:7: note: candidate function not viable: no known conversion from 'typename std::remove_reference<llvm::SmallVector<std::unique_ptr<llvm::object::OffloadBinary, std::default_delete<llvm::object::OffloadBinary>>, 6> &>::type' (aka 'llvm::SmallVector<std::unique_ptr<llvm::object::OffloadBinary>>') to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 395 | operator=(nullptr_t) noexcept | ^ ~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/unique_ptr.h:469:19: note: candidate function not viable: no known conversion from 'typename std::remove_reference<llvm::SmallVector<std::unique_ptr<llvm::object::OffloadBinary, std::default_delete<llvm::object::OffloadBinary>>, 6> &>::type' (aka 'llvm::SmallVector<std::unique_ptr<llvm::object::OffloadBinary>>') to 'const unique_ptr<llvm::object::OffloadBinary>' for 1st argument 469 | unique_ptr& operator=(const unique_ptr&) = delete; | ^ ~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/unique_ptr.h:386:2: note: candidate template ignored: could not match 'unique_ptr' against 'llvm::SmallVector' 386 | operator=(unique_ptr<_Up, _Ep>&& __u) noexcept | ^ 1 error generated. [901/945] Building CXX object offload/unittests/Conformance/lib/CMakeFiles/MathTest.dir/TestConfig.cpp.o [902/945] Building CXX object offload/unittests/Conformance/lib/CMakeFiles/MathTest.dir/DeviceContext.cpp.o [903/945] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.x86_64.dir/asan_interceptors.cpp.o [904/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/OMPT/Callback.cpp.o [905/945] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan.x86_64.dir/asan_interceptors.cpp.o [906/945] Building CXX object offload/tools/kernelreplay/CMakeFiles/llvm-omp-kernel-replay.dir/llvm-omp-kernel-replay.cpp.o [907/945] Building CXX object third-party/runtimes_gtest/CMakeFiles/runtimes_gtest.dir/googletest/src/gtest-all.cc.o [908/945] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/Utils/ELF.cpp.o [909/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/LegacyAPI.cpp.o [910/945] Building CXX object offload/plugins-nextgen/host/CMakeFiles/omptarget.rtl.host.dir/src/rtl.cpp.o [911/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OffloadRTL.cpp.o [912/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/InteropAPI.cpp.o [913/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/Mapping.cpp.o [914/945] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/GlobalHandler.cpp.o [915/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/interface.cpp.o [916/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/device.cpp.o [917/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/API.cpp.o [918/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/PluginManager.cpp.o [919/945] Building CXX object offload/liboffload/CMakeFiles/LLVMOffload.dir/src/OffloadLib.cpp.o [920/945] Building CXX object offload/liboffload/CMakeFiles/LLVMOffload.dir/src/OffloadImpl.cpp.o [921/945] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/omptarget.cpp.o ``` </details> https://github.com/llvm/llvm-project/pull/169425 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
