Re: Validate failures in DPH

Daniel Fischer <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.