-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide llvm-libs-svn-compat package #13
Comments
Lord Heavy's llvm-libs-svn doesn't conflict with llvm-libs , if his method works for aur llvm-svn there's no need for a compat pacakge. PKGBUILD : http://pkgbuild.com/~lcarlier/mesa-git/sources/llvm-svn/ |
Thanks, Lone_Wolf! Indeed, it boils down to which version of the library will the generic name, libFOO.so, point to. By omitting the generic names (libLLVM.so, libLTO.so, LLVMgold.so, etc.) from the -libs-svn packages, it's left to the official packages from Edit 2017-03-18: OK, I read again the shared libs howto and cleared a little bit my own confusion. |
looked further into it and i think the problem may be an upstream issue. llvm doesn't seem to have a mechanism to allow different versions to coexist. the llvm-libs package uses a hack to allow the different versions of llvm libraries needed at runtime to be installed together. As a temporary solution a -compat package using the llvm-libs hack does seem a viable option. |
Here's one possible solution: let's imagine that we keep the current packages as they are, but also introduce a new one, say Obviously, those who also need the unversioned libs (mainly LLVMgold.so, I guess) will have to use the "ordinary" Here's a brief summary, in case the above sounded confusing:
So, the users have the following choices:
This doesn't cover all possible use cases, but I hope that it'll be able to cover most. What do you think, guys? Feel free to comment here or in https://aur.archlinux.org/pkgbase/llvm-svn/. |
looking at llvm-libs-svn , there are 4 files without a version : BugpointPasses.so, LLVMgold.so , LLVMhello.so and a symlink in bfd-plugins/LLVMgold.so . Having 3 packages feels a bit to complicated, how about using 2 packages : llvm-libs-lite-svn : versioned libs only , compatible with llvm-libs llvm-libs--svn : |
Apparently, some packages ship binaries linked to specific libLLVM.so version. E.g.
freshclam
from clamav is currently broken:Although the users can rebuild those packages, it might be more convenient if we just provided some kind of
llvm-libs-svn-compat
package, which would bundle the versioned LLVM library files from the official packages inextra
(llvm-libs
cannot directly coexist withllvm-libs-svn
because of the overlapping non-versioned files).On a side note, in
llvm-libs-svn
we should probably provide a/usr/lib/libLLVM.so
symlink, which for some reason doesn't seem to be created automatically (any more).The text was updated successfully, but these errors were encountered: