Opened 2 years ago

Last modified 9 months ago

#12218 new task

Implement -fexternal-interpreter via static linking

Reported by: simonmar Owned by:
Priority: normal Milestone:
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 (3)

comment:1 Changed 2 years ago by bgamari

Description: modified (diff)

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

comment:2 Changed 11 months ago by bgamari


This ticket won't be resolved in 8.4; remilestoning for 8.6. Do holler if you are affected by this or would otherwise like to work on it.

comment:3 Changed 9 months ago by bgamari

Milestone: 8.6.1

Removing milestone as no one is currently actively working on this.

Note: See TracTickets for help on using tickets.