Bug#898257: libclc-r600: unable to compile any kernels for Radeon HD 5770
Hi, Applying suggested patch set from http://lists.llvm.org/pipermail/libclc-dev/2018-March/002851.html has no effect. I've tried current commit 569bb0e5fea20e5ec9698650732303a19b196ee2 from upstream, the problem seems to be fixed in that one. (I used info from https://unix.stackexchange.com/questions/324680/how-to-apply-a-patch-in-a-debian-package to apply the patch set and build the packages.) 2018-05-10 8:38 GMT+02:00 Stuart Young: > Upstream patch (2 parts) that may be related (untested): > > http://lists.llvm.org/pipermail/libclc-dev/2018-March/002851.html > > Might be worth cherry-picking this patch to see if it helps, or simply > picking up latest upstream git. > > -- > Stuart Young (aka Cefiar) >
Bug#898257: libclc-r600: unable to compile any kernels for Radeon HD 5770
Upstream patch (2 parts) that may be related (untested): http://lists.llvm.org/pipermail/libclc-dev/2018-March/002851.html Might be worth cherry-picking this patch to see if it helps, or simply picking up latest upstream git. On 9 May 2018 at 20:00, 10dmar10 <10dma...@gmail.com> wrote: > Package: libclc-r600 > Version: 0.2.0+git20180312-2 > Severity: normal > > Hi, > > after recent upgrading I wasn't able to run any OpenCL application anymore. > > Any attempt to compile an OpenCL kernel fails with following error: > fatal error: cannot open file '/usr/lib/clc/juniper-r600--.bc': Invalid > record > > > file /usr/lib/clc/juniper-r600--.bc > /usr/lib/clc/juniper-r600--.bc: symbolic link to cedar-r600--.bc > > file /usr/lib/clc/cedar-r600--.bc > /usr/lib/clc/cedar-r600--.bc: LLVM IR bitcode > > Hardware: > 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] > Juniper XT [Radeon HD 5770] > > clinfo output (other OpenCL programms fail with same error): > > Number of platforms 1 > Platform Name Clover > Platform Vendor Mesa > Platform VersionOpenCL 1.1 Mesa 17.3.9 > Platform ProfileFULL_PROFILE > Platform Extensions cl_khr_icd > Platform Extensions function suffix MESA > > Platform Name Clover > Number of devices 1 > Device Name AMD JUNIPER (DRM 2.50.0 > / 4.16.6, LLVM 5.0.1) > Device Vendor AMD > Device Vendor ID0x1002 > Device Version OpenCL 1.1 Mesa 17.3.9 > Driver Version 17.3.9 > Device OpenCL C Version OpenCL C 1.1 > Device Type GPU > Device Profile FULL_PROFILE > Device AvailableYes > Compiler Available Yes > Max compute units 10 > Max clock frequency 850MHz > Max work item dimensions3 > Max work item sizes 256x256x256 > Max work group size 256 > === CL_PROGRAM_BUILD_LOG === > fatal error: cannot open file '/usr/lib/clc/juniper-r600--.bc': Invalid > record > Preferred work group size multiple program : error -11> > Preferred / native vector sizes > char16 / 16 > short8 / 8 > int 4 / 4 > long 2 / 2 > half 0 / 0(n/a) > float4 / 4 > double 0 / 0(n/a) > > ** REST OMITTED *** > > > > > -- System Information: > Debian Release: buster/sid > APT prefers testing > APT policy: (990, 'testing') > Architecture: amd64 (x86_64) > > Kernel: Linux 4.16.6 (SMP w/3 CPU cores) > Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), > LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages libclc-r600 depends on: > ii libclang-common-6.0-dev 1:6.0-3 > ii libclc-dev 0.2.0+git20180312-2 > > libclc-r600 recommends no packages. > > libclc-r600 suggests no packages. > > -- no debconf information > > -- Stuart Young (aka Cefiar)
Bug#898257: libclc-r600: unable to compile any kernels for Radeon HD 5770
Package: libclc-r600 Version: 0.2.0+git20180312-2 Severity: normal Hi, after recent upgrading I wasn't able to run any OpenCL application anymore. Any attempt to compile an OpenCL kernel fails with following error: fatal error: cannot open file '/usr/lib/clc/juniper-r600--.bc': Invalid record file /usr/lib/clc/juniper-r600--.bc /usr/lib/clc/juniper-r600--.bc: symbolic link to cedar-r600--.bc file /usr/lib/clc/cedar-r600--.bc /usr/lib/clc/cedar-r600--.bc: LLVM IR bitcode Hardware: 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Juniper XT [Radeon HD 5770] clinfo output (other OpenCL programms fail with same error): Number of platforms 1 Platform Name Clover Platform Vendor Mesa Platform VersionOpenCL 1.1 Mesa 17.3.9 Platform ProfileFULL_PROFILE Platform Extensions cl_khr_icd Platform Extensions function suffix MESA Platform Name Clover Number of devices 1 Device Name AMD JUNIPER (DRM 2.50.0 / 4.16.6, LLVM 5.0.1) Device Vendor AMD Device Vendor ID0x1002 Device Version OpenCL 1.1 Mesa 17.3.9 Driver Version 17.3.9 Device OpenCL C Version OpenCL C 1.1 Device Type GPU Device Profile FULL_PROFILE Device AvailableYes Compiler Available Yes Max compute units 10 Max clock frequency 850MHz Max work item dimensions3 Max work item sizes 256x256x256 Max work group size 256 === CL_PROGRAM_BUILD_LOG === fatal error: cannot open file '/usr/lib/clc/juniper-r600--.bc': Invalid record Preferred work group size multiple Preferred / native vector sizes char16 / 16 short8 / 8 int 4 / 4 long 2 / 2 half 0 / 0(n/a) float4 / 4 double 0 / 0(n/a) ** REST OMITTED *** -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.16.6 (SMP w/3 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libclc-r600 depends on: ii libclang-common-6.0-dev 1:6.0-3 ii libclc-dev 0.2.0+git20180312-2 libclc-r600 recommends no packages. libclc-r600 suggests no packages. -- no debconf information