[Pkg-opencl-devel] Bug#857710: libclc-dev: some math functions missing; please upgrade to newer version
Ian Bruce
ian_bruce at mail.ru
Tue Mar 14 07:44:29 UTC 2017
Package: libclc-dev
Version: 0.2.0+git20160907-3
Severity: important
3D rendering with Blender is one of the most important potential uses
for openCL, among programs in the Debian archive. Currently this is not
working; see here, for example:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848258
Among other problems (which are also being worked on), these compiler
warnings are visible:
implicit declaration of function 'lgamma' is invalid in C99
implicit declaration of function 'native_tan' is invalid in C99
If other errors had not terminated compilation, these warnings would
have eventually turned into linker errors. These functions have only
recently been implemented in libclc, and the version in Debian "testing"
is not recent enough to include them:
$ cd /usr/include/clc/
$
$ find . -type f -exec grep lgamma {} \; -print
$
$ find . -type f -exec grep native_tan {} \; -print
$
These are the relevant development commits:
http://llvm.org/viewvc/llvm-project?view=revision&revision=281565
http://llvm.org/viewvc/llvm-project?view=revision&revision=295920
equivalently:
https://github.com/llvm-mirror/libclc/commit/07fa4ae82da5fa75af174f30c498ff160bbf8644
https://github.com/llvm-mirror/libclc/commit/a2593ed8adbf7386f88dfc828cfc32f788ec3983
It appears that the version of libclc in Debian "experimental" includes
lgamma(), but not native_tan(), which only became available a few weeks
ago:
https://packages.debian.org/experimental/all/libclc-dev/filelist
Please upgrade the libclc package in the main Debian archive to a newer
version, which includes both of the above development commits, so that
GPU rendering with openCL will start working.
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-- no debconf information
More information about the Pkg-opencl-devel
mailing list