Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Apr 2018 08:38:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 226514] [MAINTAINER] devel/ocl-icd: update from 2.2.11 to 2.2.12
Message-ID:  <bug-226514-7788-CKMTlC8Wue@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-226514-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-226514-7788@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=3D226514

O. Hartmann <ohartmann@walstatt.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #191393|0                           |1
        is obsolete|                            |
                 CC|                            |ohartmann@walstatt.org

--- Comment #3 from O. Hartmann <ohartmann@walstatt.org> ---
Created attachment 192430
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D192430&action=
=3Dedit
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 =3D> /usr/lib/libdl.so.1 (0x800c9c000)
        libc.so.7 =3D> /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 =3D> /usr/lib/libdl.so.1 (0x800c9c000)
        libthr.so.3 =3D> /lib/libthr.so.3 (0x800ca0000)
        libc.so.7 =3D> /lib/libc.so.7 (0x80024b000)

which solves the error shown in Bug 227441 (but brings up again a well know
LLVM bug).

--=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-226514-7788-CKMTlC8Wue>