Bug#1039600: libclc-15: Missing bitcode for AMD RDNA GPUs

Miroslav Maiksnar bugs.debian.org at m.mixi.cz
Tue Jun 27 18:17:48 BST 2023


Package: libclc-15
Version: 1:15.0.7-6
Severity: normal
X-Debbugs-Cc: bugs.debian.org at m.mixi.cz

Dear Maintainer,

when running OpenCL application built using LLVM on new RDNA AMD GPU (RX 7900 XTX
in my case), I get following error:

fatal error: cannot open file '/usr/lib/clc/gfx1100-amdgcn-mesa-mesa3d.bc': No such file or directory

Example of application is https://github.com/nerdralph/cl-mem (part of phoronix-test-suite),
but other LLVM OpenCL applications I tried crash with same error.

On page https://llvm.org/docs/AMDGPUUsage.html#processors is list of GPUs supported by LLVM,
but none of bitcode bundles for listed RDNA 1-3 GPUs are present in /usr/lib/clc/ directory.

Thanks for fixing this.
Mixi

-- System Information:
Debian Release: trixie/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'unstable'), (100, 'stable'), (10, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.3.0-1-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libclc-15 depends on:
ii  libclang-common-15-dev  1:15.0.7-4
ii  libclc-15-dev           1:15.0.7-6

libclc-15 recommends no packages.

libclc-15 suggests no packages.

-- no debconf information



More information about the Pkg-llvm-team mailing list