Article View: linux.debian.bugs.dist
Article #6585Bug#1155662: amd-device-libs-21: Please consider switching to arch:all
From: Cordell Bloor
Date: Sat, 28 Nov 2026 17:30
Date: Sat, 28 Nov 2026 17:30
90 lines
6189 bytes
6189 bytes
This is a multi-part message in MIME format.
--------------Bu4stmvQ0PkN6WjmvJfzYv4U
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
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'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.
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.
Sincerely,
Cory Bloor
[1]: https://dfsg-new-queue.debian.org/reviews/amd-device-libs-23
[2]: https://github.com/ROCm/llvm-project/issues/5606
--------------Bu4stmvQ0PkN6WjmvJfzYv4U
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Aurelien,</p>
<div class="moz-cite-prefix">On 2026-11-28 08:22, Aurelien Jarno
wrote:</div>
<blockquote type="cite"
cite="mid:179587574657.1026329.6431256606865295875.reportbug@ohm.local">
<pre wrap="" class="moz-quote-pre">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.</pre>
</blockquote>
<p>An LLM review of amd-device-libs-23 noted the same [1], with the
most convincing argument to me being:</p>
<blockquote>
<p>The comparable libclc-23, which also ships amdgcn bitcode, is
Architecture: all with Multi-Arch: foreign (apt-cache).</p>
</blockquote>
<p>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.</p>
<p>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.</p>
<p>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.</p>
<p>Sincerely,<br>
Cory Bloor</p>
<p>[1]: <a class="moz-txt-link-freetext" href="https://dfsg-new-queue.debian.org/reviews/amd-device-libs-23">https://dfsg-new-queue.debian.org/reviews/amd-device-libs-23</a><br>
[2]: <a class="moz-txt-link-freetext" href="https://github.com/ROCm/llvm-project/issues/5606">https://github.com/ROCm/llvm-project/issues/5606</a></p>
</body>
</html>
--------------Bu4stmvQ0PkN6WjmvJfzYv4U--
Technical Details
Message-ID:
<O4upj-eI9A-9@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomodReferences:
<O4rB7-eGGq-3@gated-at.bofh.it> <O4rB7-eGGq-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Cordell Bloor <cgmb@slerp.xyz> Newsgroups: linux.debian.bugs.dist Subject: Bug#1155662: amd-device-libs-21: Please consider switching to arch:all Date: Sat, 28 Nov 2026 18:30:01 +0100 Message-ID: <O4upj-eI9A-9@gated-at.bofh.it> References: <O4rB7-eGGq-3@gated-at.bofh.it> <O4rB7-eGGq-3@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Nov 28 17:25:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -0.941 Reply-To: Cordell Bloor <cgmb@slerp.xyz>, 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 Old-X-Envelope-To: 1155662@bugs.debian.org Old-X-Envelope-To: 1155662@bugs.debian.org X-Mizu-Trace-ID: d7769b512b2566ef X-Migadu-Flow: FLOW_OUT Content-Type: multipart/alternative; boundary="------------Bu4stmvQ0PkN6WjmvJfzYv4U" MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US X-Greylist: delayed 1807 seconds by postgrey-1.37 at buxtehude; Sat, 28 Nov 2026 17:22:32 UTC X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005655 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 90 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 28 Nov 2026 10:46:12 -0600 X-Original-Message-ID: <9fe0878a-39e0-40a9-bce0-953638631ec6@slerp.xyz> X-Original-References: <179587574657.1026329.6431256606865295875.reportbug@ohm.local> <179587574657.1026329.6431256606865295875.reportbug@ohm.local>