Skip to content
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

Restore modname == NULL behavior for jl_load_dynamic_library #49611

Merged

Conversation

topolarity
Copy link
Member

@topolarity topolarity commented May 3, 2023

Within the Julia runtime, this usage has been superseded by the new jl_find_library_by_addr, but this is still used downstream.

In particular, CBinding.jl ends up using this branch to get a handle to libjulia-internal (perhaps a bit accidentally, since the comments in CBinding.jl suggest it intends to get a handle to the exe)

This restores the behavior to avoid downstream breakage.

Within the Julia runtime, this usage has been superseded by the new
`jl_find_library_by_addr`, but this is still used downstream.

In particular, CBinding.jl ends up using this branch to get a handle
to libjulia-internal (perhaps a bit accidentally, since the comments
in CBinding.jl suggest it intends to get a handle to the exe)

This restores the behavior to avoid downstream breakage.
Copy link
Member

@maleadt maleadt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! CBinding.jl works again with this, so SGTM.

@KristofferC KristofferC added the merge me PR is reviewed. Merge when all tests are passing label May 3, 2023
@vtjnash
Copy link
Member

vtjnash commented May 3, 2023

c.f. 653fb16 #21299 (comment)

@maleadt
Copy link
Member

maleadt commented May 3, 2023

Merging this before the next PkgEval run starts.

@maleadt maleadt merged commit 0fa8f4f into JuliaLang:master May 3, 2023
@topolarity topolarity removed the merge me PR is reviewed. Merge when all tests are passing label May 3, 2023
@KristofferC KristofferC added the backport 1.9 Change should be backported to release-1.9 label May 8, 2023
@KristofferC KristofferC mentioned this pull request May 19, 2023
51 tasks
@KristofferC KristofferC mentioned this pull request Jun 6, 2023
36 tasks
@topolarity topolarity removed the backport 1.9 Change should be backported to release-1.9 label Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants