[GHC] #4012: Compilation results are not deterministic

GHC cvs-ghc at haskell.org
Sat Oct 27 21:57:00 CEST 2012


#4012: Compilation results are not deterministic
-------------------------------+--------------------------------------------
  Reporter:  kili              |          Owner:                      
      Type:  bug               |         Status:  new                 
  Priority:  high              |      Milestone:  7.6.2               
 Component:  Compiler          |        Version:  6.12.2              
Resolution:                    |       Keywords:                      
        Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple    
   Failure:  Other             |     Difficulty:  Difficult (2-5 days)
  Testcase:                    |      Blockedby:                      
  Blocking:                    |        Related:                      
-------------------------------+--------------------------------------------

Comment(by nomeata):

 Again this is biting me. We are trying to backport a fix in warp to Debian
 testing, without having to rebuild everything based on it. And indeed the
 patch does not really change any of the exported information (e.g. no
 function eligible for inlining). But nevertheless the ABI hash changes.
 Judging from the diff of ```ghc --show-iface``` (attached), this is only
 due to renaming of internal variables.

 Maybe the ABI hashing should first alpha-normalize the expression?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4012#comment:19>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list