Skip to content

stack upgrade failed, version 1.0.4 at macosx

os: Darwin lambda-cat.local 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64

macOS sierra, 10.12.3

stack version:

Version 1.0.4, Git revision cf18703b1392a96a5a4896a560309e501af63260 (3220 commits) x86_64

ghc: panic! (the 'impossible' happened)

(GHC version 7.10.3 for x86_64-apple-darwin):

Loading temp shared object failed: dlopen(/var/folders/79/l2kk9s8572gdvzc8r5jq2pf40000gn/T/ghc39735_0/libghc_68.dylib, 5): no suitable image found. Did find:

/var/folders/79/l2kk9s8572gdvzc8r5jq2pf40000gn/T/ghc39735_0/libghc_68.dylib: malformed mach-o: load commands size (50048) > 32768

Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug

Completed 28 action(s).

-- While building package stack-1.4.0 using:

/private/var/folders/79/l2kk9s8572gdvzc8r5jq2pf40000gn/T/stack-upgrade36593/stack-1.4.0/.stack-work/dist/x86_64-osx/Cabal-1.22.5.0/setup/setup --builddir=.stack-work/dist/x86_64-osx/Cabal-1.22.5.0 build lib:stack exe:stack --ghc-options " -ddump-hi -ddump-to-file"

Process exited with code: ExitFailure 1

Trac metadata
Trac field Value
Version 7.10.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information