[Pkg-opencl-devel] Bug#823528: Bug#823528: llvmopencl.so.5 should be packaged in it's own binary package

Vincent Danjean vdanjean.ml at free.fr
Sun May 8 16:19:46 UTC 2016


  Hi,

Le 08/05/2016 17:38, Matthias Klose a écrit :
> thanks for clarifying.  However I also saw dropped symbols in the
> libpocl.so.1 library, so it looks like the library packages needs
> to be renamed for 0.13.

  This is a more serious reason, I agree. I did not checked (yet) but,
for this library, dropped symbols can be private ones.
  In fact, the ABI comes mostly from the OpenCL norm. The libpocl.so.1
library should never be linked directly (unless an application would
like to use very pocl specific 'functions' (if there are any)).
  Instead, an application should link to the libOpenCL.so library
which is an OpenCL call dispatcher to various OpenCL implementations
(pocl is one). The dispatcher load the implementation(s) with 'dlopen'
from the contents of /etc/OpenCL/vendors/*.icd text files.

  We put the libpocl.so.1 library in $libdir instead of $libdir/pocl
just to avoid a path with the architecture in
/etc/OpenCL/vendors/pocl.icd (we just put "libpocl.so.1" in the text
file) so that multiarch works correctly.

  I just saw an upload of pocl 0.13 has been done by someone else.
I will look at these missing symbols to check if a rename is required
or if they are private ones.

  Many thanks for your input
  Regards,
    Vincent

-- 
Vincent Danjean       GPG key ID 0xD17897FA         vdanjean at debian.org
GPG key fingerprint: 621E 3509 654D D77C 43F5  CA4A F6AE F2AF D178 97FA
Unofficial pkgs: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo:  deb http://people.debian.org/~vdanjean/debian unstable main



More information about the Pkg-opencl-devel mailing list