<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [oland, clover, llvm5] While-If Problem with Booleans"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109617#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [oland, clover, llvm5] While-If Problem with Booleans"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109617">bug 109617</a>
from <span class="vcard"><a class="email" href="mailto:awatry@gmail.com" title="Aaron Watry <awatry@gmail.com>"> <span class="fn">Aaron Watry</span></a>
</span></b>
<pre>For where ever you have clover installed, can you check that it's linked
against the right LLVM? If you've just installed an updated LLVM, it's likely
that clover is still running against the old version.
E.g.:
#Determine name of mesa opencl driver library
$ cat /etc/OpenCL/vendors/mesa.icd
libMesaOpenCL.so.1
#If you know where your clover install is, great, otherwise:
$ find / -type f -name "libMesaOpenCL.so.1" -exec ldd {} \;
$ ldd ${PATH_TO_MESA_OPENCL_SO}
If it says it's linked against LLVM 5, then you'll probably have to rebuild
mesa against the newer LLVM.
My output (trimmed a bit):
find /usr/local/lib -type f -name "libMesaOpenCL.so.1*" -exec ldd {} \;
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8eee84f000)
libelf.so.1 => /usr/lib/x86_64-linux-gnu/libelf.so.1 (0x00007f8eee834000)
libdrm.so.2 => /usr/local/lib/libdrm.so.2 (0x00007f8eee7e3000)
libLLVM-9svn.so => /usr/local/lib/libLLVM-9svn.so (0x00007f8eeafad000)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>