Skip to content

Remove libdispatch hooks from init_runtime() - #436

Merged
davidchisnall merged 1 commit into
masterfrom
remove-dispatch-hooks
Oct 19, 2026
Merged

davidchisnall merged 1 commit into
masterfrom
remove-dispatch-hooks

Conversation

@triplef

@triplef triplef commented Oct 19, 2026

Copy link
Copy Markdown
Member

The hook variables were weak definitions whose values were checked instead of their addresses, so the hooks were never installed.

libobjc2 doesn't link against libdispatch either, so it can't reliably reach libdispatch's variables, and on Windows not at all. As these hooks are SPI for Foundation I’ve opened gnustep/libs-base#862 to install them there.

@davidchisnall
davidchisnall merged commit a21ae93 into master Oct 19, 2026
91 checks passed
@davidchisnall
davidchisnall deleted the remove-dispatch-hooks branch October 19, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants