>
> I tried, but it seems to complete successfully. Nevertheless, later
> make all fails with the same message.
> Probably the dependencies generated by make boot (or make depend, for
> that matter) _are_ circular (citing from ghc/compiler/.depend):
>
> utils/FastString.o : basicTypes/Unique.hi
>
> basicTypes/Unique.o : utils/Pretty.hi
>
> utils/Pretty.o : utils/FastString.hi
My guess is that you have not got the line
Ghc2_0 = YES
in your build.mk file. GHC 2.x uses a different way of dealing with
mutual recursion (via M.hi-boot files) than GHC 0.29 (which used M.lhi files).
When you make that change to build.mk you'll need to do a make depend again.
Yes, this should be documented.
Remember, don't bother to use 2.06 or earlier for self-booting. Only
2.07 is up to it.
Simon
Re: Compiler bug pops up when compiling ghc-2.07 with 2.02
Simon L Peyton Jones Thu, 9 Oct 1997 18:20:27 +0200 (MET DST)
- Compiler bug pops up when compiling ghc-2.07 with 2.0... Marcin Benke
- Re: Compiler bug pops up when compiling ghc-2.07... Sigbjorn Finne
- Re: Compiler bug pops up when compiling ghc-... Marcin Benke
- Re: Compiler bug pops up when compiling ... Simon L Peyton Jones
- Re: Compiler bug pops up when compiling ... Marcin Benke
