[GHC] #13312: GHC fatal error building Stack

#13312: GHC fatal error building Stack -------------------------------------+------------------------------------- Reporter: Saish | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- stack upgrade --install-ghc Fetching package index ...remote: Counting objects: 11, done. remote: Compressing objects: 100% (9/9), done. remote: Total 11 (delta 3), reused 9 (delta 2), pack-reused 0 Unpacking objects: 100% (11/11), done. From https://github.com/commercialhaskell/all-cabal-hashes + 3568d98...c0c0122 hackage -> origin/hackage (forced update) t [tag update] current-hackage -> current-hackage Fetched package index. Populated index cache. aeson-1.0.2.1: configure aeson-1.0.2.1: build http-client-0.5.3.3: configure http-client-0.5.3.3: build pid1-0.1.0.0: configure pid1-0.1.0.0: build optparse-applicative-0.13.0.0: configure optparse-applicative-0.13.0.0: build pid1-0.1.0.0: copy/register store-core-0.3: configure store-core-0.3: build store-core-0.3: copy/register text-metrics-0.1.0: configure text-metrics-0.1.0: build text-metrics-0.1.0: copy/register th-orphans-0.13.1: configure th-orphans-0.13.1: build optparse-applicative-0.13.0.0: copy/register optparse-simple-0.0.3: configure optparse-simple-0.0.3: build th-orphans-0.13.1: copy/register th-utilities-0.2.0.1: configure th-utilities-0.2.0.1: build optparse-simple-0.0.3: copy/register http-client-0.5.3.3: copy/register http-client-tls-0.3.3: configure http-client-tls-0.3.3: build http-client-tls-0.3.3: copy/register th-utilities-0.2.0.1: copy/register store-0.3: configure store-0.3: build store-0.3: copy/register aeson-1.0.2.1: copy/register aeson-compat-0.3.6: configure aeson-compat-0.3.6: build binary-tagged-0.1.4.1: configure binary-tagged-0.1.4.1: build path-0.5.9: configure path-0.5.9: build http-conduit-2.2.3: configure aeson-compat-0.3.6: copy/register http-conduit-2.2.3: build persistent-2.6: configure persistent-2.6: build path-0.5.9: copy/register path-io-1.1.0: configure http-conduit-2.2.3: copy/register path-io-1.1.0: build yaml-0.8.20: configure yaml-0.8.20: build binary-tagged-0.1.4.1: copy/register path-io-1.1.0: copy/register yaml-0.8.20: copy/register hpack-0.15.0: configure hpack-0.15.0: build persistent-2.6: copy/register persistent-template-2.5.1.6: configure persistent-template-2.5.1.6: build persistent-sqlite-2.6: configure persistent-sqlite-2.6: build hpack-0.15.0: copy/register persistent-template-2.5.1.6: copy/register persistent-sqlite-2.6: copy/register stack-1.3.2: configure [1 of 1] Compiling Main ( /private/var/folders/g8/2ssh5dld40s209dhvk17hxlsx0b760/T/stack- upgrade32684/stack-1.3.2/Setup.hs, /private/var/folders/g8/2ssh5dld40s209dhvk17hxlsx0b760/T/stack- upgrade32684/stack-1.3.2/.stack- work/dist/x86_64-osx/Cabal-1.22.5.0/setup/Main.o ) Linking /private/var/folders/g8/2ssh5dld40s209dhvk17hxlsx0b760/T/stack- upgrade32684/stack-1.3.2/.stack- work/dist/x86_64-osx/Cabal-1.22.5.0/setup/setup ... Configuring stack-1.3.2... stack-1.3.2: build Preprocessing library stack-1.3.2... [ 1 of 121] Compiling Text.PrettyPrint.Leijen.Extended ( src/Text/PrettyPrint/Leijen/Extended.hs, .stack- work/dist/x86_64-osx/Cabal-1.22.5.0/build/Text/PrettyPrint/Leijen/Extended.o ) [ 2 of 121] Compiling Stack.Ghci.Script ( src/Stack/Ghci/Script.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Stack/Ghci/Script.o ) [ 3 of 121] Compiling Stack.FileWatch ( src/Stack/FileWatch.hs, .stack- work/dist/x86_64-osx/Cabal-1.22.5.0/build/Stack/FileWatch.o ) [ 4 of 121] Compiling System.Process.PagerEditor ( src/System/Process/PagerEditor.hs, .stack- work/dist/x86_64-osx/Cabal-1.22.5.0/build/System/Process/PagerEditor.o ) [ 5 of 121] Compiling System.Process.Log ( src/System/Process/Log.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/System/Process/Log.o ) [ 6 of 121] Compiling Paths_stack ( .stack- work/dist/x86_64-osx/Cabal-1.22.5.0/build/autogen/Paths_stack.hs, .stack- work/dist/x86_64-osx/Cabal-1.22.5.0/build/Paths_stack.o ) [ 7 of 121] Compiling Path.Find ( src/Path/Find.hs, .stack- work/dist/x86_64-osx/Cabal-1.22.5.0/build/Path/Find.o ) [ 8 of 121] Compiling Path.Extra ( src/Path/Extra.hs, .stack- work/dist/x86_64-osx/Cabal-1.22.5.0/build/Path/Extra.o ) [ 9 of 121] Compiling System.Process.Read ( src/System/Process/Read.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/System/Process/Read.o ) ghc: panic! (the 'impossible' happened) (GHC version 7.10.3 for x86_64-apple-darwin): Loading temp shared object failed: dlopen(/var/folders/g8/2ssh5dld40s209dhvk17hxlsx0b760/T/ghc34708_0/libghc_57.dylib, 5): no suitable image found. Did find: /var/folders/g8/2ssh5dld40s209dhvk17hxlsx0b760/T/ghc34708_0/libghc_57.dylib: malformed mach-o: load commands size (48264) > 32768 Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug Completed 22 action(s). -- While building package stack-1.3.2 using: /private/var/folders/g8/2ssh5dld40s209dhvk17hxlsx0b760/T/stack- upgrade32684/stack-1.3.2/.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/13312 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13312: GHC fatal error building Stack -------------------------------------+------------------------------------- Reporter: Saish | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by mpickering): * status: new => closed * resolution: => duplicate Comment: See #12479 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13312#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13312: GHC fatal error building Stack -------------------------------------+------------------------------------- Reporter: Saish | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Saish): So, it sounds like there is no way yet to use GHC 8.0.1 with Stack? The discussion in the linked ticket was a bit over my head. Thanks. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13312#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13312: GHC fatal error building Stack -------------------------------------+------------------------------------- Reporter: Saish | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by rwbarton): No, but you can use 8.0.2! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13312#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13312: GHC fatal error building Stack -------------------------------------+------------------------------------- Reporter: Saish | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Saish): Ok, thank you for clarifying! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13312#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC