-
-
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
JLLs built against libjulia_jll 1.5 are unusable in Julia 1.6 on macOS (breaks CxxWrap) #38925
Comments
I have a fix for the exported OSX symbols in progress, but while making that I noticed a possible inconsistency with the Windows symbols. Can anyone confirm that the i686 Windows As for the Edit: |
Thanks. Note that jl_n_threads is a global variable, not a function. Would it make sense to write a script which scans for symbols with |
(cherry picked from commit ea39b70)
Unfortunately this issue persists on the release-1.6 branch, see #38938 (comment) |
…39226) Co-authored-by: Ian McInerney <[email protected]>
(cherry picked from commit ea39b70)
@fingolfin is this resolved now? |
Well it will only be truly reaolved when the backports in PR #39160 are merged. But I hope that's going to happen in any case (and rather sooner than later? I can't test against 1.6-nightly right now because of this) |
…39226) Co-authored-by: Ian McInerney <[email protected]>
(cherry picked from commit ea39b70)
…39226) Co-authored-by: Ian McInerney <[email protected]>
Thanks for merging PR #38829. However, there are still issues. Currently even with that fix, I still get this on latest Julia master:
or this:
Note that both examples work on Linux.
Both symbols are marked as
JL_DLLEXPORT
:Looking a bit closer, we see
jl_n_threads
is missing inlibjulia.dylib
but present inlibjulia-internal.dylib
:And
jl_cstr_to_string
is there in the internal copy, but in the public library, it is missing the leading underscore:Indeed, it seems all the re-exported function symbols miss the leading underscore.
So I think there are two separate problems here:
jl_n_threads
is not re-exported, despite havingJL_DLLEXPORT
. An oversight or intentional? If intentional, how can I replace it (basically, I just need to test ifjl_n_threads > 1
-- so a getter function would do it for me.The text was updated successfully, but these errors were encountered: