Opened 11 months ago

Last modified 5 months ago

#12218 new task

Implement -fexternal-interpreter via static linking

Reported by: simonmar Owned by:
Priority: normal Milestone: 8.4.1
Component: Compiler Version: 8.0.1
Keywords: Cc: hvr
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description (last modified by bgamari)

An interesting idea from @hvr. When using -fexternal-interpreter, we can statically link the required packages and object files into a new iserv binary, and use that as our external interpreter.

This would mean we could support TH and even limited GHCi without needing a dynamic linker of any kind, which is extremely cool. Apparently this would be useful for AIX where doing dynamic linking is hard.

Change History (1)

comment:1 Changed 5 months ago by bgamari

Description: modified (diff)
Milestone: 8.2.18.4.1

It doesn't look like this will happen for 8.2.

Note: See TracTickets for help on using tickets.