Control: block -1 by 1153852
There are significant breaking changes to the HIP language in LLVM 22
and just about everything that builds for the HIP language uses hipcc
from src:rocm-llvm to choose the compiler, so we need to ensure we have
all the libraries written in HIP updated to be compatible before
transitioning src:rocm-llvm. That can be done piecemeal to get the
sources updated, then follow it with a binNMU, as the libraries usually
don't require newer compiler features.
For moving specifically to LLVM 23, Bug #1153852 is a blocker.
src:rocm-llvm will probably move to LLVM 22 first.
On 2026-11-26 07:23, Christian Kastner wrote:
when building ggml v1.1.0 with hipcc from unstable, this triggers a
segfault in llvm-21 when including gfx908 or gfx90a in the GPU targets.
The build works fine with hipcc from experimental[*] + llvm-22.
Those sorts of issues will occasionally pop up, which is why I have now
packaged src:amd-device-libs-<N> for each major version of LLVM. Once we
finish the move to ROCm 7, it is/will be possible to choose whatever
clang version you want as your CMAKE_HIP_COMPILER, as long as you have
the appropriate LLVM components in your B-D. Obviously there will still
be a default (and for ROCm 7.2 that default will be Clang 22), but I
mention that should be possible because I expect it will occasionally be
useful as a workaround for cases like what you describe.
Sincerely,
Cory Bloor