** Description changed: + [Impact] + + Compiler hardening flags are getting applied to the shader bitcode, + which breaks OpenCL runtime. + + Hardening flags haven't changed since -fstack-protector-strong got + stripped from the flags by the package in 0.2.0+git20180917-2, but the + combination with current driver code breaks runtime again. It's best to + drop the hardening flags altogether, as they are fragile. + + [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 clEnqueueNDRangeKernel is called. I've downloaded the source for mesa and traced the problem to the gallium radeon driver. The first error message is from mesa-19.2.1/src/amd/common/ac_rtld.c and the second error message is from mesa-19.2.1/src/gallium/drivers/radeonsi/si_compute.c ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: libllvm9 1:9-2~ubuntu18.04.1 ProcVersionSignature: Ubuntu 4.15.0-74.84-lowlatency 4.15.18 Uname: Linux 4.15.0-74-lowlatency x86_64 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)
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860042 Title: openCL application gives error after update To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libclc/+bug/1860042/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
