#2169: Compilation fails first time without giving an error, later succeeds
without changing code
----------------------+-----------------------------------------------------
 Reporter:  nccb      |          Owner:                
     Type:  bug       |         Status:  new           
 Priority:  normal    |      Milestone:  6.8.3         
Component:  Compiler  |        Version:  6.8.2         
 Severity:  normal    |     Resolution:                
 Keywords:            |     Difficulty:  Unknown       
 Testcase:            |   Architecture:  x86_64 (amd64)
       Os:  Linux     |  
----------------------+-----------------------------------------------------
Changes (by igloo):

  * difficulty:  => Unknown
  * milestone:  => 6.8.3

Comment:

 Thanks for the report!

 You are actually using `-Werror` in the generated `data/OrdAST.hs`. This
 shouldn't cause compilation of FlowGraph to fail, but I suspect it is the
 culprit nevertheless. You should be able to confirm that by removing the
 -Werror and seeing if it fixes it.

 Can you please make a tarball of just Haskell source files, so that we
 only need to run a `ghc --make ...` command to reproduce the problem?

 It would also make our lives a lot easier if you could remove dependencies
 on non-boot-libraries, and make the example as small as possible. The
 easiest way to do both of these is to replace function definitions with
 `undefined` and then remove unused functions, checking that the problem
 hasn't fixed itself as you go.


 Thanks

 Ian

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2169#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to