[GHC] #13907: stack upgrade fails on Mac OS

GHC ghc-devs at haskell.org
Fri Jun 30 20:07:49 UTC 2017


#13907: stack upgrade fails on Mac OS
-------------------------------------+-------------------------------------
           Reporter:  gukoff         |             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:
-------------------------------------+-------------------------------------
 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/tj/sfwy4my94nvdn8qx3l2cd97n_75vlr/T/ghc78750_0/libghc_68.dylib,
 5): no suitable image found.  Did find:
 /var/folders/tj/sfwy4my94nvdn8qx3l2cd97n_75vlr/T/ghc78750_0/libghc_68.dylib:
 malformed mach-o: load commands size (49568) > 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/tj/sfwy4my94nvdn8qx3l2cd97n_75vlr/T/stack-
 upgrade75916/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/13907>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list