Skip to content

Replace hooks API in the RTS with something better

Hooks rely on static linking behaviour which doesn't always work: we have to disable -Bsymbolic for the RTS on Linux (see compiler/main/SysTools.lhs) and it apparently doesn't work at all on Mac (#8754 (closed)).

So instead of hooks we should be passing in information when we initialize the RTS, like we already do for some other things (-rtsopts etc.).

Trac metadata
Trac field Value
Version 7.6.3
Type Task
TypeOfFailure OtherFailure
Priority high
Resolution Unresolved
Component Runtime System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC simonmar
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information