
Do you have any .ghc-environment files in your working directory?
Matt
On Thu, Apr 4, 2019 at 12:21 PM Simon Peyton Jones via ghc-devs
How can I run the inplace binary built by Hadrian. I tried this
~/code/HEAD/_build/stage0/bin/ghc -c Foo.hs
but I got this
~/code/HEAD/_build/stage0/bin/ghc -c Foo.hs
Foo.hs:1:8: error:
Bad interface file: /opt/ghc/8.6.4/lib/ghc-8.6.4/base-4.12.0.0/Prelude.hi
mismatched interface file versions (wanted "80920190403", got "8064")
|
1 | module Foo where
| ^^^
simonpj@MSRC-3645512:~/tmp$
Somehow the inplace binary built by Hadrian is looking for library files in completely the wrong place.
What should I do?
Simon
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs