[Bug 226514] [MAINTAINER] devel/ocl-icd: update from 2.2.11 to 2.2.12
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Apr 11 08:38:23 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226514
O. Hartmann <ohartmann at walstatt.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #191393|0 |1
is obsolete| |
CC| |ohartmann at walstatt.org
--- Comment #3 from O. Hartmann <ohartmann at walstatt.org> ---
Created attachment 192430
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192430&action=edit
Adding mandatory --enable-pthread-once configure option
ocl-icd is missing pthread() functions as reported, i.e. in Bug 227441:
Unable to find symbol pthread_mutexattr_setkind_np version (null). Aborting.
I think somehow in the process linking against pthreads was lost, since the
port as it is right now, (ocl-icd-2.2.11_1) gives:
[...]
# ldd /usr/local/lib/libOpenCL.so
/usr/local/lib/libOpenCL.so:
libdl.so.1 => /usr/lib/libdl.so.1 (0x800c9c000)
libc.so.7 => /lib/libc.so.7 (0x80024b000)
and after the patch it gives
# ldd /usr/local/lib/libOpenCL.so
/usr/local/lib/libOpenCL.so:
libdl.so.1 => /usr/lib/libdl.so.1 (0x800c9c000)
libthr.so.3 => /lib/libthr.so.3 (0x800ca0000)
libc.so.7 => /lib/libc.so.7 (0x80024b000)
which solves the error shown in Bug 227441 (but brings up again a well know
LLVM bug).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list