-
-
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
precompile shouldn't try opening dylibs #34061
Comments
I fear we might need to start running |
Can you explain the thumbs down, @vtjnash? |
It's only thought to be brittle because we don't test this part of codegen well. This bug nothing to do with
current result:
expected result:
@vchuravy is fixing part of this aspect of codegen in #33820, I'll make a PR shortly to fix this bug. (I think that |
Yes, it's fine to fix the library lookup part of this independently. The issue with |
* ccall: report static compile-time load issues correctly fix #34061 * add a test * Update ccall.jl
* ccall: report static compile-time load issues correctly fix #34061 * add a test * Update ccall.jl
Running the following:
error with
when Plots tries to execute one of the precompile statements in https://github.com/JuliaPlots/Plots.jl/blob/master/src/precompile.jl. The reason it can't find it is because with
--output-o
the__init__
function doesn't run andGR
makes its library availably toBase.DL_LOAD_PATH
using that function.It doesn't seem like
precompile
should go and try open dynamic libraries at least not in--output-o
mode.The text was updated successfully, but these errors were encountered: