-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Fix RPATH of libLLVM.so on FreeBSD and Linux #42788
Conversation
Also the failure on
@staticfloat any ideas? |
This is a known issue with using |
wtf, now I'm getting it on v1.7.0-rc1 too, but only after the first time I run tests? |
@staticfloat Okay I now that preloading works, that might be the alternative? Otherwise does reducing the |
c510724
to
765660e
Compare
We are going to do this anyway, eventually, once I finally get around to finishing up the JLL stdlib work.
Yes, but this is kind of sensitive to things outside of our control. If we had a way to "pad" the program header, a la |
765660e
to
9aa1dc3
Compare
This shouldn't apply to external LLVM, it follows symlinks. Just hit this in Spack which sets the correct rpaths for all LLVM dependencies, but Julia deletes them and replaces them with |
The RPATH of LLVM is wrong (JuliaPackaging/Yggdrasil#3703) after we move it to
lib/julia
.This causes us to not find
libz.so
.I see three options:
I went with
1.
since that fixes the wrong RPATH, without requiring a rebuild of LLVM or changing the loader.