Cannot make ghc: Failed to load interface for GHC.Base

Simon Peyton-Jones simonpj at
Fri Aug 30 16:44:54 CEST 2013

Wait.. are you saying that with HEAD several test suite programs fail as you describe below?  If so, which?


From: ghc-devs [mailto:ghc-devs-bounces at] On Behalf Of Dan Rosén
Sent: 30 August 2013 14:26
To: David Luposchainsky
Cc: ghc-devs at
Subject: Re: Cannot make ghc: Failed to load interface for GHC.Base

Closed, but a note to interested readers:

killy9999 on #ghc realized the reason why the stage1 compiler cannot be built with this patch is related to that several test suite programs exit with erros like this:


    GHC internal error: ‛GHC.Base.Monad’ is not in scope during type checking, but it passed the renamer

    tcl_env of environment: []

So the error is resolved, and now productive debugging can start.

On Fri, Aug 30, 2013 at 2:50 PM, Dan Rosén <danr at<mailto:danr at>> wrote:
Sorry! I thought I got this build error when making HEAD, but I don't. It builds fine.

However, if I just cherry-pick this simple commit onto HEAD,
then I do get this error, which is very puzzling. I did a make maintainer-clean in between.

On Thu, Aug 29, 2013 at 6:05 PM, David Luposchainsky <dluposchainsky at<mailto:dluposchainsky at>> wrote:
On 2013-08-29 18:03, Austin Seipp wrote:
> When was the last time you cleaned your tree? Earlier this week I made a
> breaking change to the interface file format. If you have a build from
> before then, update and incrementally rebuild, it will break.
I tried all of clean, distclean and maintainer-clean, followed by the
usual build process. The issue remains.


ghc-devs mailing list
ghc-devs at<mailto:ghc-devs at>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list