🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1155662: amd-device-libs-21: Please consider switching to arch:all

#6682
From: Aurelien Jarno
Date: Sun, 29 Nov 2026 11:00
58 lines
4372 bytes
Hi Cordell,

On 2026-11-28 10:46, Cordell Bloor wrote:
> Hi Aurelien,
> 
> On 2026-11-28 08:22, Aurelien Jarno wrote:
> > amd-device-libs-21 contains LLVM IR bytecode, which does not depends on
> > the host architecture. Therefore the content of the package on all
> > architectures is the same for a given LLVM compiler version.
> > 
> > I therefore believe this package can be switched to arch:all.
> 
> An LLM review of amd-device-libs-23 noted the same [1], with the most
> convincing argument to me being:
> 
>    The comparable libclc-23, which also ships amdgcn bitcode, is
>    Architecture: all with Multi-Arch: foreign (apt-cache).
> 
> There was a similar discussion a long time ago when the device-libs were
> first packaged. A cursory inspection of the binaries showed that the bitcode
> files had different hashes on different platforms. We never dug deeper to
> understand if the differences are meaningful.

I have just done a check for amd-device-libs-23, the files are identical 
on all architectures where it got built, including hurd-amd64.

I have also check amd-device-libs-21, and the files are identical on all 
architectures except on riscv64, presumably because it got built with a 
different version of llvm-toolchain-21. I can try to rebuild it with the 
same version once the same llvm-toolchain-21 version is available.

> I've opened an issue upstream to ask for clarification [2]. The LLVM
> developers I've spoke to privately have had cautious words about the
> suggestion, but did not deny that it could work. In the absence of a
> specific reason otherwise, I would be tempted to follow the lead of the
> Debian LLVM maintainers.

Thanks!

> With that said, given that LLVM 21 and LLVM 22 have bugs filed for their
> removal, it's likely that amd-device-libs-21 will be short-lived. The actual
> switch to arch: all would probably happen for amd-device-libs-23.

Indeed, I have opened the bug against the first package I have found, 
and then I didn't feel it was useful for the discussion to open bugs for 
other similar packages.

Note however that I have heard that LLVM 21 will stay for forky in 
addition to the default version, but I don't remember when I read that.

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                     http://aurel32.net
Technical Details
Message-ID: <O4KNr-eRkX-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <O4rB7-eGGq-3@gated-at.bofh.it> <O4upj-eI9A-9@gated-at.bofh.it> <O4rB7-eGGq-3@gated-at.bofh.it> <O4upj-eI9A-9@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Aurelien Jarno <aurel32@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155662: amd-device-libs-21: Please consider switching to arch:all
Date: Sun, 29 Nov 2026 12:00:01 +0100
Message-ID: <O4KNr-eRkX-7@gated-at.bofh.it>
References: <O4rB7-eGGq-3@gated-at.bofh.it> <O4upj-eI9A-9@gated-at.bofh.it> <O4rB7-eGGq-3@gated-at.bofh.it> <O4upj-eI9A-9@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Nov 29 10:59:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.699
Reply-To: Aurelien Jarno <aurel32@debian.org>, 1155662@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-ai@lists.debian.org
X-Debian-Pr-Message: followup 1155662
X-Debian-Pr-Package: src:amd-device-libs-21
X-Debian-Pr-Source: amd-device-libs-21
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
User-Agent: Mutt/2.4.1 (2026-07-04)
X-Debian-User: aurel32
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005804
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 58
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1155662@bugs.debian.org
X-Original-Date: Sun, 29 Nov 2026 11:55:58 +0100
X-Original-Message-ID: <awwEvrJYr07p-me2@aurel32.net>
X-Original-References: <179587574657.1026329.6431256606865295875.reportbug@ohm.local> <9fe0878a-39e0-40a9-bce0-953638631ec6@slerp.xyz> <179587574657.1026329.6431256606865295875.reportbug@ohm.local> <9fe0878a-39e0-40a9-bce0-953638631ec6@slerp.xyz>