[GHC] #13462: stack upgrade failed, version 1.0.4 at macosx

#13462: stack upgrade failed, version 1.0.4 at macosx -------------------------------------+------------------------------------- Reporter: chinaxing | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Keywords: panic | Operating System: MacOS X Architecture: x86_64 | Type of failure: Compile-time (amd64) | crash or panic Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- 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 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13462 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13462: stack upgrade failed, version 1.0.4 at macosx -------------------------------------+------------------------------------- Reporter: chinaxing | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: duplicate | Keywords: panic Operating System: MacOS X | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: #12479 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: new => closed * resolution: => duplicate * related: => #12479 Comment: This is a duplicate of #12479. **tl;dr** This is fixed in GHC 8.0.2. Simply download a `stack` binary that was built with 8.0.2. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13462#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC