Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2017 12:11:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 213732] lang/beignet: crashes with some OpenCL apps
Message-ID:  <bug-213732-7141-hF1o7A9sEs@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213732-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-213732-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213732

--- Comment #4 from Jan Beich (mail not working) <jbeich@FreeBSD.org> ---
(In reply to Xiuli Pan from comment #3)
> These bugs seems to be some conflict about the llvm version. LLVM has a m=
angle
> 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/packa=
ges.
lang/beignet port passes -DLLVM_CONFIG_EXECUTABLE=3D/usr/local/bin/llvm-con=
fig39
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
4.0.0)
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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213732-7141-hF1o7A9sEs>