[Openmp-commits] [llvm] [openmp] [OFFLOAD][OPENMP] 6.0 compatible interop interface (PR #143491)

LLVM Continuous Integration via Openmp-commits openmp-commits at lists.llvm.org
Wed Aug 6 08:31:17 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `amdgpu-offload-rhel-8-cmake-build-only` running on `rocm-docker-rhel-8` while building `offload,openmp` at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/204/builds/17932

<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 --jobs=32' (failure)
...
[73/108] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_settings.cpp.o
[74/108] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_affinity.cpp.o
[75/108] Linking C shared library openmp/runtime/src/libomp.so
[76/108] Linking CXX shared library openmp/libompd/src/libompd.so
[77/108] Building CXX object offload/tools/deviceinfo/CMakeFiles/llvm-offload-device-info.dir/llvm-offload-device-info.cpp.o
[78/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/KernelLanguage/API.cpp.o
[79/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/DeviceImage.cpp.o
[80/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/OMPT/Callback.cpp.o
[81/108] Building CXX object offload/tools/kernelreplay/CMakeFiles/llvm-omp-kernel-replay.dir/llvm-omp-kernel-replay.cpp.o
[82/108] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/PluginInterface.cpp.o
FAILED: offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/PluginInterface.cpp.o 
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -DDEBUG_PREFIX=\"PluginInterface\" -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_SINGLE -DLIBOMPTARGET_JIT_AMDGPU -DOMPT_SUPPORT=1 -DTARGET_NAME=\"PluginInterface\" -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/runtimes/runtimes-bins/openmp/runtime/src -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/offload/plugins-nextgen/common/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/runtimes/runtimes-bins/offload/plugins-nextgen/common/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/runtimes/runtimes-bins/offload/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/offload/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc -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 -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -fno-exceptions -fno-rtti -Werror=global-constructors -MD -MT offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/PluginInterface.cpp.o -MF offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/PluginInterface.cpp.o.d -o offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/PluginInterface.cpp.o -c /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/offload/plugins-nextgen/common/src/PluginInterface.cpp
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/offload/plugins-nextgen/common/src/PluginInterface.cpp:2254:19: error: no member named 'DeviceId' in 'omp_interop_val_t'
 2254 |   assert(Interop->DeviceId == ID && "Interop does not match device id");
      |          ~~~~~~~  ^
1 error generated.
[83/108] Building CXX object offload/plugins-nextgen/host/CMakeFiles/omptarget.rtl.host.dir/src/rtl.cpp.o
[84/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/LegacyAPI.cpp.o
[85/108] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/GlobalHandler.cpp.o
[86/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OffloadRTL.cpp.o
[87/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/device.cpp.o
[88/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/InteropAPI.cpp.o
[89/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/interface.cpp.o
[90/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/Mapping.cpp.o
[91/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/API.cpp.o
[92/108] Building CXX object offload/liboffload/CMakeFiles/LLVMOffload.dir/src/OffloadLib.cpp.o
[93/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/PluginManager.cpp.o
[94/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/omptarget.cpp.o
[95/108] Building CXX object offload/liboffload/CMakeFiles/LLVMOffload.dir/src/OffloadImpl.cpp.o
[96/108] Building CXX object offload/plugins-nextgen/cuda/CMakeFiles/omptarget.rtl.cuda.dir/src/rtl.cpp.o
[97/108] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/JIT.cpp.o
[98/108] Building CXX object offload/plugins-nextgen/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/src/rtl.cpp.o
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/offload/plugins-nextgen/amdgpu/src/rtl.cpp:2648:7: warning: default label in switch which covers all enumeration values [-Wcovered-switch-default]
 2648 |       default:
      |       ^
1 warning generated.
[99/108] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/RPC.cpp.o
ninja: build stopped: subcommand failed.
FAILED: runtimes/runtimes-stamps/runtimes-build /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/runtimes/runtimes-stamps/runtimes-build 
cd /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/runtimes/runtimes-bins && /usr/bin/cmake --build .
ninja: build stopped: subcommand failed.
['ninja'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
  File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 62, in step
    yield
  File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 53, in main
    run_command(["ninja"])
  File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 75, in run_command
Step 7 (build cmake config) failure: build cmake config (failure)
...
[73/108] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_settings.cpp.o
[74/108] Building CXX object openmp/runtime/src/CMakeFiles/omp.dir/kmp_affinity.cpp.o
[75/108] Linking C shared library openmp/runtime/src/libomp.so
[76/108] Linking CXX shared library openmp/libompd/src/libompd.so
[77/108] Building CXX object offload/tools/deviceinfo/CMakeFiles/llvm-offload-device-info.dir/llvm-offload-device-info.cpp.o
[78/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/KernelLanguage/API.cpp.o
[79/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/DeviceImage.cpp.o
[80/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/OMPT/Callback.cpp.o
[81/108] Building CXX object offload/tools/kernelreplay/CMakeFiles/llvm-omp-kernel-replay.dir/llvm-omp-kernel-replay.cpp.o
[82/108] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/PluginInterface.cpp.o
FAILED: offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/PluginInterface.cpp.o 
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -DDEBUG_PREFIX=\"PluginInterface\" -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_SINGLE -DLIBOMPTARGET_JIT_AMDGPU -DOMPT_SUPPORT=1 -DTARGET_NAME=\"PluginInterface\" -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/runtimes/runtimes-bins/openmp/runtime/src -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/offload/plugins-nextgen/common/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/runtimes/runtimes-bins/offload/plugins-nextgen/common/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/runtimes/runtimes-bins/offload/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/offload/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc -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 -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -fno-exceptions -fno-rtti -Werror=global-constructors -MD -MT offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/PluginInterface.cpp.o -MF offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/PluginInterface.cpp.o.d -o offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/PluginInterface.cpp.o -c /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/offload/plugins-nextgen/common/src/PluginInterface.cpp
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/offload/plugins-nextgen/common/src/PluginInterface.cpp:2254:19: error: no member named 'DeviceId' in 'omp_interop_val_t'
 2254 |   assert(Interop->DeviceId == ID && "Interop does not match device id");
      |          ~~~~~~~  ^
1 error generated.
[83/108] Building CXX object offload/plugins-nextgen/host/CMakeFiles/omptarget.rtl.host.dir/src/rtl.cpp.o
[84/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/LegacyAPI.cpp.o
[85/108] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/GlobalHandler.cpp.o
[86/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OffloadRTL.cpp.o
[87/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/device.cpp.o
[88/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/InteropAPI.cpp.o
[89/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/interface.cpp.o
[90/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/Mapping.cpp.o
[91/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OpenMP/API.cpp.o
[92/108] Building CXX object offload/liboffload/CMakeFiles/LLVMOffload.dir/src/OffloadLib.cpp.o
[93/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/PluginManager.cpp.o
[94/108] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/omptarget.cpp.o
[95/108] Building CXX object offload/liboffload/CMakeFiles/LLVMOffload.dir/src/OffloadImpl.cpp.o
[96/108] Building CXX object offload/plugins-nextgen/cuda/CMakeFiles/omptarget.rtl.cuda.dir/src/rtl.cpp.o
[97/108] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/JIT.cpp.o
[98/108] Building CXX object offload/plugins-nextgen/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/src/rtl.cpp.o
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/offload/plugins-nextgen/amdgpu/src/rtl.cpp:2648:7: warning: default label in switch which covers all enumeration values [-Wcovered-switch-default]
 2648 |       default:
      |       ^
1 warning generated.
[99/108] Building CXX object offload/plugins-nextgen/common/CMakeFiles/PluginCommon.dir/src/RPC.cpp.o
ninja: build stopped: subcommand failed.
FAILED: runtimes/runtimes-stamps/runtimes-build /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/runtimes/runtimes-stamps/runtimes-build 
cd /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/runtimes/runtimes-bins && /usr/bin/cmake --build .
ninja: build stopped: subcommand failed.
['ninja'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
  File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 62, in step
    yield
  File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 53, in main
    run_command(["ninja"])
  File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 75, in run_command

```

</details>

https://github.com/llvm/llvm-project/pull/143491


More information about the Openmp-commits mailing list