Opened 2 months ago

#8785 new task

Replace hooks API in the RTS with something better

Reported by: simonmar Owned by: simonmar
Priority: high Milestone: 7.10.1
Component: Runtime System Version: 7.6.3
Keywords: Cc: simonmar
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:


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).

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.).

Change History (0)

Note: See TracTickets for help on using tickets.