Right, as it says in title "<font size="2"><span style="background-color:rgba(255,255,255,0)">error in ghci calling main after loading<br>compiled code"<span></span></span></font><br><br>On Thursday, October 22, 2015, GHC <<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">#10053: Regression on MacOS platform, error in ghci calling main after loading<br>
compiled code: "Too late for parseStaticFlags..."<br>
-------------------------------------+-------------------------------------<br>
    Reporter: George      |        Owner:<br>
      Type: bug        |        Status: new<br>
    Priority: normal      |      Milestone: 8.0.1<br>
    Component: GHCi       |       Version: 7.10.1-rc2<br>
   Resolution:          |       Keywords:<br>
Operating System:Â MacOS XÂ Â Â Â Â Â |Â Â Â Â Â Architecture:Â x86_64<br>
 Type of failure: Incorrect result | (amd64)<br>
 at runtime             |      Test Case:<br>
   Blocked By:          |       Blocking:<br>
 Related Tickets:          | Differential Rev(s):<br>
    Wiki Page:          |<br>
-------------------------------------+-------------------------------------<br>
Changes (by bgamari):<br>
<br>
 * milestone: 7.10.3 => 8.0.1<br>
<br>
<br>
Old description:<br>
<br>
> ghci<br>
> GHCi, version 7.10.0.20150123: <a href="http://www.haskell.org/ghc/" target="_blank">http://www.haskell.org/ghc/</a>Â :? for help<br>
> Prelude> :load rsa<br>
> Ok, modules loaded: Main.<br>
> Prelude Main> :show modules<br>
> Main       ( rsa.hs, rsa.o )<br>
> Prelude Main> main<br>
> Too late for parseStaticFlags: call it before runGhc or runGhcT<br>
>Â Exception: ExitFailure 1<br>
> Prelude Main><br>
><br>
> note, there is no failure if I load interpreted code<br>
<br>
New description:<br>
<br>
 {{{<br>
 $ ghci<br>
 GHCi, version 7.10.0.20150123: <a href="http://www.haskell.org/ghc/" target="_blank">http://www.haskell.org/ghc/</a> :? for help<br>
 Prelude> :load rsa<br>
 Ok, modules loaded: Main.<br>
 Prelude Main> :show modules<br>
 Main       ( rsa.hs, rsa.o )<br>
 Prelude Main> main<br>
 Too late for parseStaticFlags: call it before runGhc or runGhcT<br>
 Exception: ExitFailure 1<br>
 Prelude Main><br>
 }}}<br>
<br>
 note, there is no failure if I load interpreted code<br>
<br>
--<br>
<br>
Comment:<br>
<br>
 This isn't going to be fixed for 7.10.3.<br>
<br>
--<br>
Ticket URL: <<a href="http://ghc.haskell.org/trac/ghc/ticket/10053#comment:14" target="_blank">http://ghc.haskell.org/trac/ghc/ticket/10053#comment:14</a>><br>
GHC <<a href="http://www.haskell.org/ghc/" target="_blank">http://www.haskell.org/ghc/</a>><br>
The Glasgow Haskell Compiler<br>
</blockquote>