Binary.readBinMem: decompression failed What’s going on? This is a clean validate on Linux. I have done git pull, git submodule update –recursive –init Simon cd libraries && sh gen_contents_index --intree grep: ../bin-package-db/bin-package-db.cabal: No such file or directory grep: ../integer-gmp2/integer-gmp.cabal: No such file or directory haddock: internal error: Binary.readBinMem: decompression failed CallStack (from HasCallStack): error, called at compiler/utils/Binary.hs:192:16 in ghc:Binary make[1]: *** [libraries/dist-haddock/index.html] Error 1 make: *** [all] Error 2
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? S From: ghc-devs [mailto:ghc-devs-bounces@haskell.org] On Behalf Of Simon Peyton Jones Sent: 23 May 2016 12:20 To: ghc-devs <ghc-devs@haskell.org> Subject: Build fails Binary.readBinMem: decompression failed What’s going on? This is a clean validate on Linux. I have done git pull, git submodule update –recursive –init Simon cd libraries && sh gen_contents_index --intree grep: ../bin-package-db/bin-package-db.cabal: No such file or directory grep: ../integer-gmp2/integer-gmp.cabal: No such file or directory haddock: internal error: Binary.readBinMem: decompression failed CallStack (from HasCallStack): error, called at compiler/utils/Binary.hs:192:16 in ghc:Binary make[1]: *** [libraries/dist-haddock/index.html] Error 1 make: *** [all] Error 2
Simon Peyton Jones <simonpj@microsoft.com> 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 help, 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. Cheers, - Ben
Ben Gamari <ben@smart-cactus.org> writes:
[ Unknown signature status ] Simon Peyton Jones <simonpj@microsoft.com> 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).
Indeed I'm also seeing this. I will revert the compression patch. Cheers, - Ben
| Indeed I'm also seeing this. I will revert the compression patch. OK. When do you plan to do that? Simon | -----Original Message----- | From: Ben Gamari [mailto:ben@smart-cactus.org] | Sent: 23 May 2016 14:34 | To: Simon Peyton Jones <simonpj@microsoft.com>; Simon Peyton Jones | <simonpj@microsoft.com>; ghc-devs <ghc-devs@haskell.org> | Subject: RE: Build fails | | Ben Gamari <ben@smart-cactus.org> writes: | | > [ Unknown signature status ] | > Simon Peyton Jones <simonpj@microsoft.com> 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). | | Indeed I'm also seeing this. I will revert the compression patch. | | Cheers, | | - Ben
participants (2)
-
Ben Gamari -
Simon Peyton Jones