MacOS panic on TH
I recently did a clean build of master (affdea82) and, while everything successfully finished, I'm getting panics every time I try to use this GHC for something that involves TH.
For example:
{-# language TemplateHaskell #-}
pure []
main = pure []
Crashes with
$ ./inplace/bin/ghc-stage2 th.hs
[1 of 1] Compiling Main ( th.hs, th.o )
ghc-stage2: loadArchive: Failed reading header from `/Users/atheriault/Documents/code/ghc/libraries/integer-gmp/dist-install/build/gmp'
ghc-stage2: panic! (the 'impossible' happened)
(GHC version 8.5.20180325 for x86_64-apple-darwin):
loadArchive "/Users/atheriault/Documents/code/ghc/libraries/integer-gmp/dist-install/build/gmp": failed
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Normally I'd assume I haven't correctly configured something, yet I had no problem building and running GHC on this machine a month or so ago...
Trac metadata
Trac field | Value |
---|---|
Version | 8.4.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |