
I proposed something similar as part of the dynamic linker redesign (#11238).
My idea in that ticket was to use the system runtime linker on architectures where we do not have RTS linker support (e.g. powerpc64[le]) even in a statically linked GHCi.
The ticket mentioned above has more information and a link to a Wiki
#11561: Have static ghci link against its own copy of its libraries -------------------------------------+------------------------------------- Reporter: rwbarton | Owner: Type: feature request | Status: new Priority: low | Milestone: Component: Runtime System | Version: 8.1 (Linker) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: #11238 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by rwbarton): Replying to [comment:2 trommler]: page with the design proposal (in progress). Thanks for the link, I'll take a look at the wiki page referenced there. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11561#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler