Description of problem: ocl program compilation fails Version-Release number of selected component (if applicable): libclc-0.2.0-12.gitc45b9df.fc29.x86_64 How reproducible: Always Steps to Reproduce: 1. clinfo Actual results: program crashes with the following error message. Intrinsic has incorrect return type! i8 addrspace(2)* ()* @llvm.amdgcn.dispatch.ptr Expected results: no crash Additional info: libclc needs to be rebuilt against llvm-7 which is now used by mesa: Device Name AMD Radeon R7 Graphics (CARRIZO, DRM 3.26.0, 4.18.16-300.fc29.x86_64, LLVM 7.0.0)
Confirmed on 00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R5 Graphics] [1002:1315] as clinfo fails with: Intrinsic has incorrect return type! i8 addrspace(2)* ()* @llvm.amdgcn.dispatch.ptr Intrinsic has incorrect return type! i8 addrspace(2)* ()* @llvm.amdgcn.dispatch.ptr Intrinsic has incorrect return type! i8 addrspace(2)* ()* @llvm.amdgcn.dispatch.ptr Intrinsic has incorrect return type! i8 addrspace(2)* ()* @llvm.amdgcn.implicitarg.ptr LLVM ERROR: Broken function found, compilation aborted!
Confirmed on Radeon RX 550 Series (POLARIS12, DRM 3.26.0, 4.18.17-300.fc29.x86_64, LLVM 7.0.0) Intrinsic has incorrect return type! i8 addrspace(2)* ()* @llvm.amdgcn.dispatch.ptr Intrinsic has incorrect return type! i8 addrspace(2)* ()* @llvm.amdgcn.dispatch.ptr Intrinsic has incorrect return type! i8 addrspace(2)* ()* @llvm.amdgcn.dispatch.ptr Intrinsic has incorrect return type! i8 addrspace(2)* ()* @llvm.amdgcn.implicitarg.ptr LLVM ERROR: Broken function found, compilation aborted!
Thought I would try downgrading it but it looks like I would need to back-out the whole of FC29, so it seems that this bug has been in FC29 since release.
libclc-0.2.0-13.git1ecb16d.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-277e4ed0d5
libclc-0.2.0-13.git1ecb16d.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-277e4ed0d5
libclc-0.2.0-13.git1ecb16d.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.