Sigbjorn Finne writes:
 > 
 > my guess is that the Makefile dependencies aren't generated properly,
 > try doing 'make depend' in ghc/compiler and see if that fails to
 > complete properly for some reason.
 > 
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

...the circle closes :-( 

 > BTW, mailing glasgow-haskell-bugs is probably a good idea with
 > problems like these; I'm happy to help out, but I'm reading
 > my e-mail infrequently at the moment.
 > 
 > Marcin Benke writes:
 > > Thanks for this hint. I have downloaded binary version of 2.07 and
 > > tried again to recompile 2.07 with itself. However, after
 > > 
 > > configure
 > > make boot
 > > 
 > > make all fails like this:
 > >  
 > > make[2]: Circular utils/Argv.o <- utils/FastString.hi dependency dropped.
 > > ghc-2.07 -cpp -fglasgow-exts -Rghc-timing -I. -IcodeGen -InativeGen -Iparser 
 >-iutils:basicTypes:types:hsSyn:prelude:rename:typecheck:deSugar:coreSyn:specialise:simplCore:stranal:stgSyn:simplStg:codeGen:absCSyn:main:reader:profiling:parser:nativeGen
 > -recomp -DOMIT_DEFORESTER   -fvia-C  -c utils/Argv.lhs -o utils/Argv.o -osuf o
 > >  
 > > utils/Argv.lhs:15: Could not find valid interface file `FastString'
 > >  
 > > Compilation had errors
 > > make[2]: *** [utils/Argv.o] Error 1
 > > make[1]: *** [all] Error 2
 > > make: *** [all] Error 2
 > > 

Regards,
                Marcin Benke
----------------------------------------------------------------------------
"Calm down, it's only ones and zeros!" -  DJ Delorie

Reply via email to