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

Austin Seipp aseipp at pobox.com
Thu Aug 29 18:03:15 CEST 2013


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.

On Thursday, August 29, 2013, David Luposchainsky wrote:

> On 2013-08-29 12:20, Dan Rosén wrote:
> > I'm getting this build error when compiling GHC
>
> Just as a remark, I'm getting the same error, presumably because Dan and
> me were working on the same modules. To put the error in perspective,
> here's how I got it: After editing a few lines in PrelNames.lhs and
> TcRnDriver.lhs, I felt like it was time to rebuild GHC again from
> scratch, so I did the usual clean-and-make-again. However, it seems like
> Base simply isn't built, all the packages are skipped for some reason
> (search for "Configuring array-0.4.0.2..." in Dan's log for example).
>
> I've had this issue in the past, and none of
> clean/distclean/maintainer-clean helped solve it. In the end I just
> deleted the folder and cloned a new version, but that's hardly a
> solution I'd like to use every time, especially when I've done code
> changes (generate and then reapply patch manually).
>
> David
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org <javascript:;>
> http://www.haskell.org/mailman/listinfo/ghc-devs
>


-- 
Sent from my portable turning machine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130829/1354742a/attachment.htm>


More information about the ghc-devs mailing list