Skip to content

MachO: fix dynamic lookup of undefined symbols at runtime#26042

Closed
mlafeldt wants to merge 1 commit into
ziglang:masterfrom
mlafeldt:fix-macho-dynamic-lookup
Closed

MachO: fix dynamic lookup of undefined symbols at runtime#26042
mlafeldt wants to merge 1 commit into
ziglang:masterfrom
mlafeldt:fix-macho-dynamic-lookup

Conversation

@mlafeldt

Copy link
Copy Markdown
Contributor

While writing DuckDB extensions in Zig, I noticed that linker_allow_shlib_undefined doesn't work as intended on macOS.

This PR ensures MH_NOUNDEFS is not set when dynamic lookup is enabled for undefined symbols.

Ensures `MH_NOUNDEFS` is not set when dynamic lookup is enabled for
undefined symbols via `linker_allow_shlib_undefined`.
@alexrp

alexrp commented Dec 22, 2025

Copy link
Copy Markdown
Member

Closing because we have no CI on GitHub anymore and this has no CI results.

Please reopen this on Codeberg: https://codeberg.org/ziglang/zig/pulls

@alexrp alexrp closed this Dec 22, 2025
@andrewrk

Copy link
Copy Markdown
Member

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.

3 participants