openCL application gives error after update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libclc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Timo Aaltonen | ||
Eoan |
Fix Released
|
Undecided
|
Timo Aaltonen |
Bug Description
[Impact]
Compiler hardening flags are getting applied to the shader bitcode, which breaks OpenCL runtime.
Hardening flags haven't changed since -fstack-
[Test case]
Install the update, run an opencl app on Radeon
[Regression potential]
Shouldn't be any, only compiler flags get modified.
--
My OpenCL program was working normally until a software update.
The program prints out:
ac_rtld error: !s->is_rx
LLVM failed to upload shader
when clEnqueueNDRang
I've downloaded the source for mesa and traced the problem to the gallium radeon driver. The first error message is from
mesa-19.
and the second error message is from
mesa-19.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: libllvm9 1:9-2~ubuntu18.04.1
ProcVersionSign
Uname: Linux 4.15.0-
ApportVersion: 2.20.9-0ubuntu7.9
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Jan 16 14:35:15 2020
InstallationDate: Installed on 2018-04-28 (628 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
SourcePackage: mesa-opencl-icd
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- openCL application gives error + openCL application gives error after update |
description: | updated |
description: | updated |
affects: | llvm-toolchain-9 (Ubuntu) → mesa (Ubuntu) |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in libclc (Ubuntu Eoan): | |
status: | Fix Committed → Confirmed |
could you test with a newer mesa from this ppa
https:/ /launchpad. net/~ubuntu- x-swat/ +archive/ ubuntu/ updates
it's got latest bugfix release of the series, 19.2.8, and it's now pending as a distro update as well