Compiling haskell-stack crashes the compiler
When upgrading haskell-stack using brew, I get:
==> Upgrading haskell-stack
==> Downloading https://github.com/commercialhaskell/stack/releases/download/v1.1.2/stack-1.1.2-sdist-2.tar.gz
Already downloaded: /Users/hudon/Library/Caches/Homebrew/haskell-stack-1.1.2.tar.gz
==> cabal sandbox init
==> cabal update
==> cabal install --jobs=8 --max-backjumps=100000
Last 15 lines from /Users/hudon/Library/Logs/Homebrew/haskell-stack/03.cabal:
[ 1 of 87] Compiling Stack.FileWatch ( src/Stack/FileWatch.hs, dist/dist-sandbox-7d57129e/build/Stack/FileWatch.o )
[ 2 of 87] Compiling System.Process.PagerEditor ( src/System/Process/PagerEditor.hs, dist/dist-sandbox-7d57129e/build/System/Process/PagerEditor.o )
[ 3 of 87] Compiling System.Process.Log ( src/System/Process/Log.hs, dist/dist-sandbox-7d57129e/build/System/Process/Log.o )
[ 4 of 87] Compiling System.Process.Read ( src/System/Process/Read.hs, dist/dist-sandbox-7d57129e/build/System/Process/Read.o )
ghc: panic! (the 'impossible' happened)
(GHC version 8.0.1 for x86_64-apple-darwin):
Loading temp shared object failed: dlopen(/var/folders/lc/jm4g8s190gl8977h7tz9j6tc0000gn/T/ghc18925_0/libghc_44.dylib, 5): no suitable image found. Did find:
/var/folders/lc/jm4g8s190gl8977h7tz9j6tc0000gn/T/ghc18925_0/libghc_44.dylib: malformed mach-o: load commands size (40304) > 32768
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.0.1
Trac metadata
Trac field | Value |
---|---|
Version | 8.0.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |