[llvm] [OFFLOAD] Update CUDA and AMD plugins to new debug format (PR #175757)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 13 08:15:14 PST 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building `offload` at step 5 "compile-openmp".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/10/builds/20497
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (compile-openmp) failure: build (failure)
...
1117 | llvm::stable_sort(
| ^
/usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_tempbuf.h:99:5: note: 'get_temporary_buffer<InstrProfValueData>' has been explicitly marked deprecated here
99 | _GLIBCXX17_DEPRECATED
| ^
/usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/x86_64-linux-gnu/c++/12/bits/c++config.h:119:34: note: expanded from macro '_GLIBCXX17_DEPRECATED'
119 | # define _GLIBCXX17_DEPRECATED [[__deprecated__]]
| ^
1 warning generated.
19.998 [83/20/4236] Building CXX object offload/plugins-nextgen/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/src/rtl.cpp.o
FAILED: offload/plugins-nextgen/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/src/rtl.cpp.o
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/./bin/clang++ --target=x86_64-unknown-linux-gnu -DDEBUG_PREFIX="\"TARGET AMDGPU RTL\"" -DOMPT_SUPPORT=1 -DTARGET_NAME=AMDGPU -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/include -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/offload/plugins-nextgen/common/include -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/runtimes/runtimes-bins/offload/plugins-nextgen/common/include -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/offload/plugins-nextgen/amdgpu/utils -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/offload/plugins-nextgen/amdgpu/dynamic_hsa -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/runtimes/runtimes-bins/offload/include -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/offload/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/plugins-nextgen/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/src/rtl.cpp.o -MF offload/plugins-nextgen/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/src/rtl.cpp.o.d -o offload/plugins-nextgen/amdgpu/CMakeFiles/omptarget.rtl.amdgpu.dir/src/rtl.cpp.o -c /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/offload/plugins-nextgen/amdgpu/src/rtl.cpp
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/offload/plugins-nextgen/amdgpu/src/rtl.cpp:561:5: error: use of undeclared identifier 'OBDG'
561 | OBDG(OLDT_Module) << "ELFABIVersion: " << AMDImage.getELFABIVersion();
| ^~~~
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/offload/plugins-nextgen/amdgpu/src/rtl.cpp:18:
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/functional:64:
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_algo.h:61:
/usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_tempbuf.h:263:8: warning: 'get_temporary_buffer<InstrProfValueData>' is deprecated [-Wdeprecated-declarations]
263 | std::get_temporary_buffer<value_type>(_M_original_len));
| ^
/usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_algo.h:4996:15: note: in instantiation of member function 'std::_Temporary_buffer<__gnu_cxx::__normal_iterator<InstrProfValueData *, std::vector<InstrProfValueData>>, InstrProfValueData>::_Temporary_buffer' requested here
4996 | _TmpBuf __buf(__first, (__last - __first + 1) / 2);
| ^
/usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_algo.h:5070:23: note: in instantiation of function template specialization 'std::__stable_sort<__gnu_cxx::__normal_iterator<InstrProfValueData *, std::vector<InstrProfValueData>>, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/ProfileData/InstrProf.h:1118:18)>>' requested here
5070 | _GLIBCXX_STD_A::__stable_sort(__first, __last,
| ^
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/ADT/STLExtras.h:2112:8: note: in instantiation of function template specialization 'std::stable_sort<__gnu_cxx::__normal_iterator<InstrProfValueData *, std::vector<InstrProfValueData>>, (lambda at /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/ProfileData/InstrProf.h:1118:18)>' requested here
2112 | std::stable_sort(adl_begin(Range), adl_end(Range), C);
| ^
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/ProfileData/InstrProf.h:1117:9: note: in instantiation of function template specialization 'llvm::stable_sort<std::vector<InstrProfValueData> &, (lambda at /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/ProfileData/InstrProf.h:1118:18)>' requested here
1117 | llvm::stable_sort(
| ^
/usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_tempbuf.h:99:5: note: 'get_temporary_buffer<InstrProfValueData>' has been explicitly marked deprecated here
99 | _GLIBCXX17_DEPRECATED
| ^
/usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/x86_64-linux-gnu/c++/12/bits/c++config.h:119:34: note: expanded from macro '_GLIBCXX17_DEPRECATED'
119 | # define _GLIBCXX17_DEPRECATED [[__deprecated__]]
| ^
1 warning and 1 error generated.
20.024 [83/19/4237] Building CXX object offload/libomptarget/CMakeFiles/omptarget.dir/OffloadRTL.cpp.o
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/offload/libomptarget/OffloadRTL.cpp:14:
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/offload/include/PluginManager.h:16:
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/offload/plugins-nextgen/common/include/PluginInterface.h:24:
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/offload/include/OpenMP/InteropAPI.h:16:
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/offload/include/PerThreadTable.h:17:
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/ADT/SmallVector.h:20:
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/algorithm:61:
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_algo.h:61:
```
</details>
https://github.com/llvm/llvm-project/pull/175757
More information about the llvm-commits
mailing list