[GHC] #14518: GHC panic when trying to install Stack-1.5.1 with Cabal.

GHC ghc-devs at haskell.org
Thu Nov 23 22:53:19 UTC 2017


#14518: GHC panic when trying to install Stack-1.5.1 with Cabal.
-------------------------------------+-------------------------------------
           Reporter:  adgalad        |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  7.10.4
          Component:  Compiler       |           Version:  7.10.3
           Keywords:                 |  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:
-------------------------------------+-------------------------------------
 cabal: Entering directory
 '/var/folders/6v/r_hy_wrs5bbfnb4qc4ycxfpw0000gn/T/cabal-
 tmp-2256/stack-1.5.1'

 [1 of 1] Compiling Main             (
 /var/folders/6v/r_hy_wrs5bbfnb4qc4ycxfpw0000gn/T/cabal-
 tmp-2256/stack-1.5.1/dist/setup/setup.hs,
 /var/folders/6v/r_hy_wrs5bbfnb4qc4ycxfpw0000gn/T/cabal-
 tmp-2256/stack-1.5.1/dist/setup/Main.o )

 Linking /var/folders/6v/r_hy_wrs5bbfnb4qc4ycxfpw0000gn/T/cabal-
 tmp-2256/stack-1.5.1/dist/setup/setup ...

 Configuring stack-1.5.1...

 Building stack-1.5.1...

 Preprocessing library stack-1.5.1...

 [  1 of 128] Compiling Text.PrettyPrint.Leijen.Extended (
 src/Text/PrettyPrint/Leijen/Extended.hs,
 dist/build/Text/PrettyPrint/Leijen/Extended.o )

 [  2 of 128] Compiling
 Hackage.Security.Client.Repository.HttpLib.HttpClient (
 src/Hackage/Security/Client/Repository/HttpLib/HttpClient.hs,
 dist/build/Hackage/Security/Client/Repository/HttpLib/HttpClient.o )

 [  3 of 128] Compiling Stack.Ghci.Script ( src/Stack/Ghci/Script.hs,
 dist/build/Stack/Ghci/Script.o )

 [  4 of 128] Compiling Stack.FileWatch  ( src/Stack/FileWatch.hs,
 dist/build/Stack/FileWatch.o )

 [  5 of 128] Compiling System.Process.PagerEditor (
 src/System/Process/PagerEditor.hs, dist/build/System/Process/PagerEditor.o
 )

 [  6 of 128] Compiling System.Process.Log ( src/System/Process/Log.hs,
 dist/build/System/Process/Log.o )

 [  7 of 128] Compiling Stack.Types.StringError (
 src/Stack/Types/StringError.hs, dist/build/Stack/Types/StringError.o )

 [  8 of 128] Compiling Paths_stack      (
 dist/build/autogen/Paths_stack.hs, dist/build/Paths_stack.o )

 [  9 of 128] Compiling Path.Find        ( src/Path/Find.hs,
 dist/build/Path/Find.o )

 [ 10 of 128] Compiling Path.Extra       ( src/Path/Extra.hs,
 dist/build/Path/Extra.o )

 [ 11 of 128] Compiling System.Process.Read ( src/System/Process/Read.hs,
 dist/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/6v/r_hy_wrs5bbfnb4qc4ycxfpw0000gn/T/ghc2807_0/libghc_69.dylib,
 5): no suitable image found.  Did find:
 /var/folders/6v/r_hy_wrs5bbfnb4qc4ycxfpw0000gn/T/ghc2807_0/libghc_69.dylib:
 malformed mach-o: load commands size (41168) > 32768
 /var/folders/6v/r_hy_wrs5bbfnb4qc4ycxfpw0000gn/T/ghc2807_0/libghc_69.dylib:
 stat() failed with errno=25


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


 cabal: Leaving directory '/var/folders/6v/r_hy_wrs5bbfnb4qc4ycxfpw0000gn/T
 /cabal-tmp-2256/stack-1.5.1'

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14518>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list