[Pkg-opencl-devel] pocl (0.11)

Andreas Beckmann anbe at debian.org
Mon Apr 25 15:10:38 UTC 2016


OK, we now have 0.11 in experimental and a successful build for amd64.

i386 failed with a segfault in the printf test, #822563
(same problem in 0.12)

arm64 still fails, now with "the clang compiler does not support
'-march=cortex-a53'" (instead of "does not support '-march=generic'")

kfreebsd seems to have an unrelated hiccup

On 2016-04-24 21:05, Giuseppe Bilotta wrote:
> Hello,
> 
> On Sun, Apr 24, 2016 at 2:25 PM, Rebecca N. Palmer
> <rebecca_palmer at zoho.com> wrote:
>> On 23/04/16 10:37, Giuseppe Bilotta wrote:
>>> * Pocl needs at least LLVM 3.7, but Debian defaults to LLVM 3.6, so

> BTW this causes issues when both the mesa and beignet ICDs are
> installed. (I build my own beignet because of this.)

Didn't we make some linking changes in beignet that should prevent this?

>>> * automatic build dependencies are affected by
>>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792842
> 
>> If you dynamically link libllvm (which Debian packages are supposed to do
>> anyway) you don't need llvm-config --system-libs at all:
>> https://anonscm.debian.org/cgit/pkg-opencl/beignet.git/tree/debian/patches/shared-llvm.patch
> 
> It's possible the pocl developers have been overzealous and include
> the llvm --system-libs even in the dynamic linking case. It might be
> worth suggesting them not to include them then.

OK, thanks for the info, the 0.11-1 gets built without
llvm-config --system-libs
Is there anything else that can be dropped? Superfluous build-depends?

>>> * there is a known issue with LLVM 3.7 (at least the version that
>>> ships in Debian unstable) producing the wrong shift/rotation
>>> instructions for short/ushort vector types on Haswell CPUs, which
>>> causes some tests to fail.
>>
>> https://github.com/pocl/pocl/issues/238
>> Is this the same test failure Andreas is seeing?
> 
> This is definitely the test failure I am seeing on my Haswell laptop,
> I wouldn't be surprised if it's also what Andreas is seeing

no haswell here, no 3.7 either (for 0.11)

Andreas

PS: I just got a first successful amd64 build for 0.12/3.7



More information about the Pkg-opencl-devel mailing list