Using 'git bisect' on the GHC tree

Erik de Castro Lopo mle+hs at
Mon Feb 27 00:37:25 CET 2012

Hi all,

I am trying to track down a build failure on PowerPC that was
introduced some time this year.

Usually, the easiest way to do this is by using 'git bisect'.
Unfortunately, this doesn't work with the GHC tree since its easy to
go to a GHC revision which is incompatible with one of the many GHC
sub-modules (eg Cabal).

Given a GHC git commit hash, is there a way to get the various
libraries into a state where I can build the GHC version specified
by the hash?

Erik de Castro Lopo

More information about the Glasgow-haskell-users mailing list