[GHC] #12667: Compiling haskell-stack crashes the compiler
GHC
ghc-devs at haskell.org
Wed Oct 5 19:43:55 UTC 2016
#12667: Compiling haskell-stack crashes the compiler
-------------------------------------+-------------------------------------
Reporter: hudon | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: Compile-time
Unknown/Multiple | crash
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
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
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12667>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list