On Montag, 22. Oktober 2012, 12:03:24, Ben Lippmeier wrote:
>
> I went to find out what got broken and I'm getting a validate failure
> somewhere else:
>
> compiler/stage1/build/Parser.hs:38:27:
> Module `StaticFlags' does not export `opt_Hpc'
> make[1]: *** [compiler/stage1/build/Parser.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [all] Error 2
>
>
> One of the productions is still trying to use that flag, too:
>
> Parser.y:1411
>
> | hpc_annot exp { sL (comb2 $1 $>)
> | $ if opt_Hpc
> then HsTickPragma
> (unLoc $1) $2 else HsPar $2 }
>
> Ben.
That one is fixed by deleting `Parser.y`. That is apparently not removed by
make maintainer-clean.
If you remove it, the next build makes a new one from `Parser.y.pp` that
works.
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc