[GHC] #12588: GHC bug, compiling Stack master on macOS Sierra

GHC ghc-devs at haskell.org
Sun Sep 11 03:09:38 UTC 2016


#12588: GHC bug, compiling Stack master on macOS Sierra
-------------------------------------+-------------------------------------
           Reporter:  bitemyapp      |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  7.10.3
           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 --git
 }}}

 {{{
 $ uname -a
 Darwin cumae.local 16.0.0 Darwin Kernel Version 16.0.0: Tue Aug 23
 17:02:44 PDT 2016; root:xnu-3789.1.31~2/RELEASE_X86_64 x86_64
 }}}

 Xcode 8.0 GM, macOS Sierra

 {{{
 Preprocessing library stack-1.2.1...
 [ 1 of 96] 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 96] 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 96] Compiling Stack.FileWatch  ( src/Stack/FileWatch.hs, .stack-
 work/dist/x86_64-osx/Cabal-1.22.5.0/build/Stack/FileWatch.o )
 [ 4 of 96] 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 96] 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 96] 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 96] Compiling Path.Find        ( src/Path/Find.hs, .stack-
 work/dist/x86_64-osx/Cabal-1.22.5.0/build/Path/Find.o )
 [ 8 of 96] Compiling Path.Extra       ( src/Path/Extra.hs, .stack-
 work/dist/x86_64-osx/Cabal-1.22.5.0/build/Path/Extra.o )
 [ 9 of 96] 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/79/6lft40kj3cqb9f08_8yfg3vr0000gn/T/ghc29687_0/libghc_55.dylib,
 5): no suitable image found.  Did find:
 /var/folders/79/6lft40kj3cqb9f08_8yfg3vr0000gn/T/ghc29687_0/libghc_55.dylib:
 malformed mach-o: load commands size (46680) > 32768

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

 Completed 178 action(s).

 --  While building package stack-1.2.1 using:
       /private/var/folders/79/6lft40kj3cqb9f08_8yfg3vr0000gn/T/stack-
 upgrade18342/stack/.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/12588>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list