Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/d80e66f9e838c0641fbe5a4757e9d69b1e85ff67 >--------------------------------------------------------------- commit d80e66f9e838c0641fbe5a4757e9d69b1e85ff67 Author: Simon Marlow <[email protected]> Date: Tue Jul 19 15:55:40 2011 +0100 Factor the GHC version into the hash generated by --abi-hash (#5328) >--------------------------------------------------------------- ghc/Main.hs | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ghc/Main.hs b/ghc/Main.hs index 4a91acd..8b7597c 100644 --- a/ghc/Main.hs +++ b/ghc/Main.hs @@ -762,6 +762,9 @@ abiHash strs = do ifaces <- initIfaceCheck hsc_env $ mapM get_iface mods bh <- openBinMem (3*1024) -- just less than a block + put_ bh opt_HiVersion + -- package hashes change when the compiler version changes (for now) + -- see #5328 mapM_ (put_ bh . mi_mod_hash) ifaces f <- fingerprintBinMem bh _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
