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

Dan Rosén danr at
Fri Aug 30 15:26:01 CEST 2013

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> 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> 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.
>> David
>> _______________________________________________
>> ghc-devs mailing list
>> ghc-devs at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list