Build fails

Ben Gamari ben at
Mon May 23 12:59:06 UTC 2016

Simon Peyton Jones <simonpj at> writes:

> Also lots of tests give
> ghc-stage2: 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
> Should I revert some hi-file compression patch?

I currently have a local build running to confirm the issue. That being
said, Harbormaster doesn't seem to be seeing this particular issue
(although it fails for other reasons).

I wonder if you have some some old interface files hanging around. Does this

    git clean -fxd
    git submodule foreach git clean -fxd

If that helps it would be nice if you could take note of which interface
files it removes so we can update the build system to clean them.


- Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <>

More information about the ghc-devs mailing list