-
Notifications
You must be signed in to change notification settings - Fork 63
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
shared library lost SOVERSION #422
Comments
|
wenju-he
added a commit
to wenju-he/opencl-clang
that referenced
this issue
May 17, 2023
wenju-he
added a commit
to wenju-he/opencl-clang
that referenced
this issue
May 17, 2023
address this issue in #439 |
wenju-he
added a commit
that referenced
this issue
May 18, 2023
wenju-he
added a commit
that referenced
this issue
May 18, 2023
#439 fixes this, thanks! |
Works for me in the ocl-open-170 branch. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After switching from
add_llvm_library()
toadd_library()
(commit 743bd15) the shared library lost its SOVERSION, the SONAME is simply the unversionedlibopencl-clang.so
while it previously waslibopencl-clang.so.15
. Not a good idea as you can now mixlibLLVM-##.so.1
with incompatiblelibopencl-clang.so
.If I switch it back to
and drop
add_dependencies()
andtarget_link_libraries()
below(with
OPENCL_CLANG_LLVM_MODULES
beingall
in case ofLLVM_LINK_LLVM_DYLIB
, as I (as package maintainer for Debian) only care about linking against the shared libraries from separate LLVM and SPIRV-LLVM-Translator builds, but you could probably set it to the module list used intarget_link_libraries()
, too),I get again a working build with
libopencl-clang.so.16
libLLVM-16.so.1
(Linking fails with various undefined reference to *AARCH64* (x86_64 build on x86_64) #417)The text was updated successfully, but these errors were encountered: