[GHC] #13794: Stack update failed

GHC ghc-devs at haskell.org
Tue Jun 6 22:16:00 UTC 2017


#13794: Stack update failed
--------------------------------------+---------------------------------
           Reporter:  stevenspasbo    |             Owner:  (none)
               Type:  bug             |            Status:  new
           Priority:  normal          |         Milestone:
          Component:  Build System    |           Version:  8.0.1
           Keywords:                  |  Operating System:  MacOS X
       Architecture:  x86_64 (amd64)  |   Type of failure:  None/Unknown
          Test Case:                  |        Blocked By:
           Blocking:                  |   Related Tickets:
Differential Rev(s):                  |         Wiki Page:
--------------------------------------+---------------------------------
 Stacktrace asked me to report this as a bug:

 {{{#!shell
 [1 of 1] Compiling Main             (
 /private/var/folders/yx/scmdmrjx25vf6y18kgl_sqvjvq5kjp/T/stack-
 upgrade71650/stack-1.4.0/Setup.hs,
 /private/var/folders/yx/scmdmrjx25vf6y18kgl_sqvjvq5kjp/T/stack-
 upgrade71650/stack-1.4.0/.stack-
 work/dist/x86_64-osx/Cabal-1.22.5.0/setup/Main.o )
 Linking /private/var/folders/yx/scmdmrjx25vf6y18kgl_sqvjvq5kjp/T/stack-
 upgrade71650/stack-1.4.0/.stack-
 work/dist/x86_64-osx/Cabal-1.22.5.0/setup/setup ...
 Configuring stack-1.4.0...
 stack-1.4.0: build
 Preprocessing library stack-1.4.0...
 [  1 of 124] 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 124] Compiling
 Hackage.Security.Client.Repository.HttpLib.HttpClient (
 src/Hackage/Security/Client/Repository/HttpLib/HttpClient.hs, .stack-
 work/dist/x86_64-osx/Cabal-1.22.5.0/build/Hackage/Security/Client/Repository/HttpLib/HttpClient.o
 )
 [  3 of 124] Compiling Stack.Options.ScriptParser (
 src/Stack/Options/ScriptParser.hs, .stack-
 work/dist/x86_64-osx/Cabal-1.22.5.0/build/Stack/Options/ScriptParser.o )
 [  4 of 124] 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 )
 [  5 of 124] Compiling Stack.FileWatch  ( src/Stack/FileWatch.hs, .stack-
 work/dist/x86_64-osx/Cabal-1.22.5.0/build/Stack/FileWatch.o )
 [  6 of 124] 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 )
 [  7 of 124] 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 )
 [  8 of 124] 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 )
 [  9 of 124] Compiling Path.Find        ( src/Path/Find.hs, .stack-
 work/dist/x86_64-osx/Cabal-1.22.5.0/build/Path/Find.o )
 [ 10 of 124] Compiling Path.Extra       ( src/Path/Extra.hs, .stack-
 work/dist/x86_64-osx/Cabal-1.22.5.0/build/Path/Extra.o )
 [ 11 of 124] 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/yx/scmdmrjx25vf6y18kgl_sqvjvq5kjp/T/ghc74455_0/libghc_68.dylib,
 5): no suitable image found.  Did find:
 /var/folders/yx/scmdmrjx25vf6y18kgl_sqvjvq5kjp/T/ghc74455_0/libghc_68.dylib:
 malformed mach-o: load commands size (50752) > 32768

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

 Completed 26 action(s).

 --  While building package stack-1.4.0 using:
       /private/var/folders/yx/scmdmrjx25vf6y18kgl_sqvjvq5kjp/T/stack-
 upgrade71650/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/13794>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list