[Bug 100067] [OpenCL] const int in argument list crashes build

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 22 18:40:45 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=100067

--- Comment #3 from Vedran Miletić <vedran at miletic.net> ---
Created attachment 130386
  --> https://bugs.freedesktop.org/attachment.cgi?id=130386&action=edit
Kernel from minimal.cpp

Sorry, that was a false positive, local installation issue. I can't reproduce
it on Fiji with all current git or Hawaii Mesa 17.0.2/LLVM 3.9.1. Anyhow, I
extracted the OpenCL kernel and tried compiling it

$ clang -x cl -target amdgcn-- -mcpu=tonga
-Dcl_clang_storage_class_specifiers=1 -Xclang -mlink-bitcode-file -Xclang
/usr/local/lib64/clc/tonga-amdgcn--.bc -I/usr/local/include/clc -include
/usr/local/include/clc/clc.h minimal.cl

doesn't crash in LLVM and running Valgrind on the same command reports no
errors.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170322/2b141c5f/attachment.html>


More information about the dri-devel mailing list