[Bug 213732] lang/beignet: crashes with some OpenCL apps

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 17 12:11:23 UTC 2017


--- Comment #4 from Jan Beich (mail not working) <jbeich at FreeBSD.org> ---
(In reply to Xiuli Pan from comment #3)
> These bugs seems to be some conflict about the llvm version. LLVM has a mangle
> change in LLVM39, if you get some binary build with LLVM39 and have some lower
> verison CLANG when runing. There maybe some bugs like this.

Thank you for the hint. Beignet works fine after a small fix[1] but I haven't
tested much.

[1] https://lists.freedesktop.org/archives/beignet/2017-March/008702.html

> So could you provide the clang -v output to check the LLVM version.

FreeBSD has one Clang version in base and many more suffixed in ports/packages.
lang/beignet port passes -DLLVM_CONFIG_EXECUTABLE=/usr/local/bin/llvm-config39
which ends up building some (but not all) files with clang39. However, even
forcing to build everything with clang39 doesn't help.

$ clang -v
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin

$ clang39 -v
clang version 3.9.1 (tags/RELEASE_391/final)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/local/llvm39/bin

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-x11 mailing list