Skip to content

Conversation

xal-0
Copy link
Member

@xal-0 xal-0 commented Sep 2, 2025

Inspired by a bug I hit on MinGW recently with weak symbol resolution. I'm not sure why we started using these in
70000ac, since I believe we should be able to lookup these symbols just fine in our jl_exe_handle as long as it was linked / compiled with -rdynamic

Migrating away from weak symbols seems a good idea, given their uneven implementation across platforms.

(cherry picked from commit 4a6ada6)

@gbaraldi asked if this could be backported separately from #59227.

Inspired by a bug I hit on MinGW recently with weak symbol resolution.
I'm not sure why we started using these in
70000ac, since I believe we should be
able to lookup these symbols just fine in our `jl_exe_handle` as long as
it was linked / compiled with `-rdynamic`

Migrating away from weak symbols seems a good idea, given their uneven
implementation across platforms.

(cherry picked from commit 4a6ada6)
@xal-0 xal-0 changed the title [backports-release-1.11] Backport #57522: Remove usages of weak symbols [backports-release-1.11] Backport #57523: Remove usages of weak symbols Sep 2, 2025
@DilumAluthge DilumAluthge deleted the branch JuliaLang:backports-release-1.11 September 5, 2025 13:16
@DilumAluthge DilumAluthge reopened this Sep 8, 2025
@gbaraldi gbaraldi merged commit d64638c into JuliaLang:backports-release-1.11 Sep 9, 2025
4 of 6 checks passed
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