[GHC] #13597: ghc: panic! (the 'impossible' happened)

GHC ghc-devs at haskell.org
Thu Apr 20 13:26:09 UTC 2017


#13597: ghc: panic! (the 'impossible' happened)
-------------------------------------+-------------------------------------
           Reporter:  rzil           |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.0.1
           Keywords:                 |  Operating System:  MacOS X
       Architecture:                 |   Type of failure:  Compile-time
  Unknown/Multiple                   |  crash or panic
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 {{{
 Downloading stack-1.4.0...
 Configuring stack-1.4.0...
 Building stack-1.4.0...
 Failed to install stack-1.4.0
 Build log ( /Users/ruben/.cabal/logs/stack-1.4.0.log ):
 cabal: Entering directory
 '/var/folders/sr/jktws8p56m58qw9h6k53dbfr0000gn/T/cabal-
 tmp-4956/stack-1.4.0'
 [1 of 1] Compiling Main             (
 /var/folders/sr/jktws8p56m58qw9h6k53dbfr0000gn/T/cabal-
 tmp-4956/stack-1.4.0/dist/setup/setup.hs,
 /var/folders/sr/jktws8p56m58qw9h6k53dbfr0000gn/T/cabal-
 tmp-4956/stack-1.4.0/dist/setup/Main.o )
 Linking /var/folders/sr/jktws8p56m58qw9h6k53dbfr0000gn/T/cabal-
 tmp-4956/stack-1.4.0/dist/setup/setup ...
 Configuring stack-1.4.0...
 Building stack-1.4.0...
 Preprocessing library stack-1.4.0...
 [  1 of 124] Compiling Text.PrettyPrint.Leijen.Extended (
 src/Text/PrettyPrint/Leijen/Extended.hs,
 dist/build/Text/PrettyPrint/Leijen/Extended.o )
 [  2 of 124] 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 124] Compiling Stack.Options.ScriptParser (
 src/Stack/Options/ScriptParser.hs, dist/build/Stack/Options/ScriptParser.o
 )
 [  4 of 124] Compiling Stack.Ghci.Script ( src/Stack/Ghci/Script.hs,
 dist/build/Stack/Ghci/Script.o )
 [  5 of 124] Compiling Stack.FileWatch  ( src/Stack/FileWatch.hs,
 dist/build/Stack/FileWatch.o )
 [  6 of 124] Compiling System.Process.PagerEditor (
 src/System/Process/PagerEditor.hs, dist/build/System/Process/PagerEditor.o
 )
 [  7 of 124] Compiling System.Process.Log ( src/System/Process/Log.hs,
 dist/build/System/Process/Log.o )
 [  8 of 124] Compiling Paths_stack      (
 dist/build/autogen/Paths_stack.hs, dist/build/Paths_stack.o )
 [  9 of 124] Compiling Path.Find        ( src/Path/Find.hs,
 dist/build/Path/Find.o )
 [ 10 of 124] Compiling Path.Extra       ( src/Path/Extra.hs,
 dist/build/Path/Extra.o )
 [ 11 of 124] Compiling System.Process.Read ( src/System/Process/Read.hs,
 dist/build/System/Process/Read.o )
 ghc: panic! (the 'impossible' happened)
   (GHC version 8.0.1 for x86_64-apple-darwin):
         Loading temp shared object failed:
 dlopen(/var/folders/sr/jktws8p56m58qw9h6k53dbfr0000gn/T/ghc17927_0/libghc_85.dylib,
 5): no suitable image found.  Did find:
 /var/folders/sr/jktws8p56m58qw9h6k53dbfr0000gn/T/ghc17927_0/libghc_85.dylib:
 malformed mach-o: load commands size (39456) > 32768

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

 cabal: Leaving directory '/var/folders/sr/jktws8p56m58qw9h6k53dbfr0000gn/T
 /cabal-tmp-4956/stack-1.4.0'
 cabal: Error: some packages failed to install:
 stack-1.4.0 failed during the building phase. The exception was:
 ExitFailure 1

 }}}

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


More information about the ghc-tickets mailing list