IOEnv failure with -fbyte-code-and-object-code
To reproduce: create Main.hs
:
module Main where
main = return ()
and invoke ./stage1/bin/ghc -fbyte-code-and-object-code Main
two times. The first time it succeeds, the second time I get
typecheckWholeCoreBindings:
main Failed to load interface for ‘:Main’
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
<no location info>: error: IOEnv failure
cc @mpickering