🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6347

Bug#1155381: rocm-llvm: please update to LLVM 23

#6347
From: Cordell Bloor
Date: Thu, 26 Nov 2026 20:50
30 lines
3698 bytes
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
Technical Details
Message-ID: <O3OzL-ekwE-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O3tvj-e9ho-1@gated-at.bofh.it> <O3tvj-e9ho-1@gated-at.bofh.it> <O3OzL-ekwE-7@gated-at.bofh.it> <O3tvj-e9ho-1@gated-at.bofh.it> <O3OzL-ekwE-7@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Cordell Bloor <cgmb@slerp.xyz>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155381: rocm-llvm: please update to LLVM 23
Date: Thu, 26 Nov 2026 21:50:01 +0100
Message-ID: <O3OzL-ekwE-5@gated-at.bofh.it>
References: <O3tvj-e9ho-1@gated-at.bofh.it> <O3tvj-e9ho-1@gated-at.bofh.it> <O3OzL-ekwE-7@gated-at.bofh.it> <O3tvj-e9ho-1@gated-at.bofh.it> <O3OzL-ekwE-7@gated-at.bofh.it>
X-Original-To: Christian Kastner <ckk@debian.org>, 1155381@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Nov 26 20:43:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -0.942
Reply-To: Cordell Bloor <cgmb@slerp.xyz>, 1155381@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-ai@lists.debian.org
X-Debian-Pr-Message: followup 1155381
X-Debian-Pr-Package: src:rocm-llvm
X-Debian-Pr-Source: rocm-llvm
Old-X-Envelope-To: 1155381@bugs.debian.org
Old-X-Envelope-To: 1155381@bugs.debian.org
X-Mizu-Trace-ID: a1d334f6ed67f173
X-Migadu-Flow: FLOW_OUT
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Greylist: delayed 377 seconds by postgrey-1.37 at buxtehude; Thu, 26 Nov 2026 20:41:36 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005269
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 30
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 26 Nov 2026 14:35:02 -0600
X-Original-Message-ID: <b34f883c-6463-4d6b-9c84-7bf53972769a@slerp.xyz>
X-Original-References: <20261125205921.97AE73891A66@cebu.mozilla.com> <20261125205921.97AE73891A66@cebu.mozilla.com> <6f7f37ea-1157-4034-b6b5-e3fb56b01d90@debian.org> <20261125205921.97AE73891A66@cebu.mozilla.com> <6f7f37ea-1157-4034-b6b5-e3fb56b01d90@debian.org>