[commit: ghc] master: Revert "compiler/iface: compress .hi files" (9bb2772)

git at git.haskell.org git at git.haskell.org
Mon May 23 15:20:26 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/9bb277269ec020f138fe70a65f5972466113ab61/ghc

>---------------------------------------------------------------

commit 9bb277269ec020f138fe70a65f5972466113ab61
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Mon May 23 15:32:12 2016 +0200

    Revert "compiler/iface: compress .hi files"
    
    This appears to cause validation issues on,
    
        TEST="T11108 T9071 T11076 T7600 T7672 T8329 T10420 T10322 T8308 T4114a
        T4114c T10602 T10110 T9204 T2435 T9838 T4114d T10233 T8696 T1735 T5281
        T6056 T10134 T9580 T6018 T9762 T8103"
    
    With compiler panics of the form,
    
        Compile failed (status 256) errors were:
        ghc: panic! (the 'impossible' happened)
          (GHC version 8.1.20160523 for x86_64-unknown-linux):
                Binary.readBinMem: decompression failed
        CallStack (from HasCallStack):
          error, called at compiler/utils/Binary.hs:192:16 in ghc:Binary
    
        Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
    
    This reverts commit d9cb7a8a94daa4d20aa042cd053e20b491315633.


>---------------------------------------------------------------

9bb277269ec020f138fe70a65f5972466113ab61
 compiler/cbits/lz4.c             | 1520 --------------------------------------
 compiler/cbits/lz4.h             |  364 ---------
 compiler/ghc.cabal.in            |    2 -
 compiler/ghc.mk                  |    1 -
 compiler/utils/Binary.hs         |   37 +-
 compiler/utils/LZ4.hs            |  126 ----
 docs/users_guide/8.2.1-notes.rst |    3 +-
 7 files changed, 20 insertions(+), 2033 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 9bb277269ec020f138fe70a65f5972466113ab61


More information about the ghc-commits mailing list