[Pkg-opencl-devel] New OpenCL Package - Oclgrind

Andreas Beckmann anbe at debian.org
Tue Sep 8 20:38:51 UTC 2015


On 2015-09-08 21:19, James Price wrote:
> Thanks for taking the time to review this and provide feedback.
> 
> I think I’ve now addressed all of the issues that you raised.

Thanks.

> I was a little unsure about multi-arch for the binary package that provides an executable and script in /usr/bin - there’s a private shared library that I’ve left in /usr/lib/oclgrind/ since this package isn’t co-installable across different architectures.

correct solution :-)


About abi/api stability: once you make a new upstream release, will this be compatible with the existing liboclgrind-15.5.so?
Consider new releases with varying amount of changes producing e.g.
  15.5.1  (fix a typo/a segfault/a compiler warning triggered by gcc 7.0)
  15.6    (do small changes)
  16.0    (do huge changes)
Will applications built against 15.5 be able to run with a new release without recompilation?
When do we need to rename the libclgrind-XXX package?

For example, if a security bug is found, could you (as upstream maintainer) 
provide a new upstream release that fixes this (and only this!) issue even on an old release branch?
A stable Debian release with LTS support will have a lifetime of about 5 years ...
so at some point this will several releases behind what's "current" oclgrind.
Of course updating from 15.5 to 18.3 is not possible in stable, but a 15.5.2 api-stable and abi-stable bugfix-only release should be ok.
That would have to build without requiring a package rename to liboclgrind-15.5.2.


I saw something else in the build log, looks like a missing -lllvm-something and some superfluous -lfoo -lbar ...:
(-Wl,--as-needed might help)

   dh_shlibdeps -O--buildsystem=cmake -O--parallel
dpkg-shlibdeps: warning: symbol _ZNK5clang4Stmt7ProfileERN4llvm16FoldingSetNodeIDERKNS_10ASTContextEb used by debian/liboclgrind-15.5/usr/lib/i386-linux-gnu/liboclgrind-15.5.so found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZNK5clang17ObjCContainerDecl27HasUserDeclaredSetterMethodEPKNS_16ObjCPropertyDeclE used by debian/liboclgrind-15.5/usr/lib/i386-linux-gnu/liboclgrind-15.5.so found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZNK5clang5NSAPI23getNSDictionarySelectorENS0_22NSDictionaryMethodKindE used by debian/liboclgrind-15.5/usr/lib/i386-linux-gnu/liboclgrind-15.5.so found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZNK5clang4Decl23isTemplateParameterPackEv used by debian/liboclgrind-15.5/usr/lib/i386-linux-gnu/liboclgrind-15.5.so found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZNK5clang16TemplateArgument7ProfileERN4llvm16FoldingSetNodeIDERKNS_10ASTContextE used by debian/liboclgrind-15.5/usr/lib/i386-linux-gnu/liboclgrind-15.5.so found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN5clang10ASTContext34NumImplicitCopyAssignmentOperatorsE used by debian/liboclgrind-15.5/usr/lib/i386-linux-gnu/liboclgrind-15.5.so found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZNK5clang10LambdaExpr9isMutableEv used by debian/liboclgrind-15.5/usr/lib/i386-linux-gnu/liboclgrind-15.5.so found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN5clang9MSAsmStmt13getOutputExprEj used by debian/liboclgrind-15.5/usr/lib/i386-linux-gnu/liboclgrind-15.5.so found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZNK5clang8QualType14isCXX98PODTypeERNS_10ASTContextE used by debian/liboclgrind-15.5/usr/lib/i386-linux-gnu/liboclgrind-15.5.so found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZNK5clang10ASTContext13getTypeOfTypeENS_8QualTypeE used by debian/liboclgrind-15.5/usr/lib/i386-linux-gnu/liboclgrind-15.5.so found in none of the libraries
dpkg-shlibdeps: warning: 1639 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/liboclgrind-15.5/usr/lib/i386-linux-gnu/liboclgrind-15.5.so was not linked against libffi.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/liboclgrind-15.5/usr/lib/i386-linux-gnu/liboclgrind-15.5.so was not linked against libedit.so.2 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/liboclgrind-15.5/usr/lib/i386-linux-gnu/liboclgrind-15.5.so was not linked against libz.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/oclgrind/usr/lib/oclgrind/liboclgrind-rt.so debian/oclgrind/usr/bin/oclgrind-kernel were not linked against libdl.so.2 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/oclgrind/usr/lib/oclgrind/liboclgrind-rt.so debian/oclgrind/usr/bin/oclgrind-kernel were not linked against libffi.so.6 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/oclgrind/usr/lib/oclgrind/liboclgrind-rt.so debian/oclgrind/usr/bin/oclgrind-kernel were not linked against libedit.so.2 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/oclgrind/usr/lib/oclgrind/liboclgrind-rt.so debian/oclgrind/usr/bin/oclgrind-kernel were not linked against libtinfo.so.5 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/oclgrind/usr/lib/oclgrind/liboclgrind-rt.so debian/oclgrind/usr/bin/oclgrind-kernel were not linked against libreadline.so.6 (they use none of the library's symbols)


Andreas



More information about the Pkg-opencl-devel mailing list