Bug#995069: libclc-12: tahiti-amdgcn-mesa-mesa3d.bc is missing
Giuseppe Bilotta
giuseppe.bilotta at gmail.com
Sat Sep 25 17:05:07 BST 2021
Package: libclc-12
Version: 1:12.0.1-9
Followup-For: Bug #993904
To add to this bug report, I'm getting a similer error message when trying to
use OpenCL on my machine, that has a Polaris10 card. Trying to run even just
clinfo gives the following error message:
=== CL_PROGRAM_BUILD_LOG ===
fatal error: cannot open file '/usr/lib/clc/polaris10-amdgcn-mesa-mesa3d.bc': No such file or directory
As it turns out, /usr/lib/clc _does_ contain the .bc files; however,
most of them are missing the 'mesa ' and/or 'mesa3d' part in the name,
as shown by this listing of the directory:
total 70M
drwxr-xr-x 2 root root 4.0K Sep 21 20:51 .
drwxr-xr-x 170 root root 36K Sep 24 22:14 ..
-rw-r--r-- 1 root root 7.8M Sep 18 11:03 amdgcn--amdhsa.bc
lrwxrwxrwx 1 root root 16 Sep 18 11:03 aruba-r600--.bc -> cayman-r600--.bc
-rw-r--r-- 1 root root 4.3M Sep 18 11:03 barts-r600--.bc
lrwxrwxrwx 1 root root 18 Sep 18 11:03 bonaire-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 15 Sep 18 11:03 caicos-r600--.bc -> barts-r600--.bc
lrwxrwxrwx 1 root root 18 Sep 18 11:03 carrizo-amdgcn--.bc -> tahiti-amdgcn--.bc
-rw-r--r-- 1 root root 4.3M Sep 18 11:03 cayman-r600--.bc
-rw-r--r-- 1 root root 4.3M Sep 18 11:03 cedar-r600--.bc
-rw-r--r-- 1 root root 4.3M Sep 18 11:03 cypress-r600--.bc
lrwxrwxrwx 1 root root 18 Sep 18 11:03 fiji-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 18 Sep 18 11:03 gfx900-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 18 Sep 18 11:03 gfx902-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 18 Sep 18 11:03 gfx904-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 18 Sep 18 11:03 gfx906-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 18 Sep 18 11:03 hainan-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 18 Sep 18 11:03 hawaii-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 17 Sep 18 11:03 hemlock-r600--.bc -> cypress-r600--.bc
lrwxrwxrwx 1 root root 18 Sep 18 11:03 iceland-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 15 Sep 18 11:03 juniper-r600--.bc -> cedar-r600--.bc
lrwxrwxrwx 1 root root 18 Sep 18 11:03 kabini-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 18 Sep 18 11:03 kaveri-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 18 Sep 18 11:03 mullins-amdgcn--.bc -> tahiti-amdgcn--.bc
-rw-r--r-- 1 root root 8.0M Sep 18 11:03 nvptx64--.bc
-rw-r--r-- 1 root root 8.0M Sep 18 11:03 nvptx64--nvidiacl.bc
-rw-r--r-- 1 root root 7.9M Sep 18 11:03 nvptx--.bc
-rw-r--r-- 1 root root 7.9M Sep 18 11:03 nvptx--nvidiacl.bc
lrwxrwxrwx 1 root root 18 Sep 18 11:03 oland-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 15 Sep 18 11:03 palm-r600--.bc -> cedar-r600--.bc
lrwxrwxrwx 1 root root 18 Sep 18 11:03 pitcairn-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 18 Sep 18 11:03 polaris10-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 18 Sep 18 11:03 polaris11-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 15 Sep 18 11:03 redwood-r600--.bc -> cedar-r600--.bc
-rw-r--r-- 1 root root 2.5M Sep 18 11:03 spirv64-mesa3d-.spv
-rw-r--r-- 1 root root 2.5M Sep 18 11:03 spirv-mesa3d-.spv
lrwxrwxrwx 1 root root 18 Sep 18 11:03 stoney-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 15 Sep 18 11:03 sumo2-r600--.bc -> cedar-r600--.bc
lrwxrwxrwx 1 root root 15 Sep 18 11:03 sumo-r600--.bc -> cedar-r600--.bc
-rw-r--r-- 1 root root 7.8M Sep 18 11:03 tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 18 Sep 18 11:03 tonga-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 15 Sep 18 11:03 turks-r600--.bc -> barts-r600--.bc
lrwxrwxrwx 1 root root 18 Sep 18 11:03 verde-amdgcn--.bc -> tahiti-amdgcn--.bc
This seems to be only a naming issue, as adding a symlink with the appropriate name fixes it for me.
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-8-amd64 (SMP w/16 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libclc-12 depends on:
ii libclang-common-12-dev 1:12.0.1-9
ii libclc-12-dev 1:12.0.1-9
libclc-12 recommends no packages.
libclc-12 suggests no packages.
-- no debconf information
More information about the Pkg-llvm-team
mailing list