[GHC] #11491: GHC 10.7.3 panic while executing 'stack upgrade' on Mac OSX El Capitan

GHC ghc-devs at haskell.org
Tue Jan 26 04:04:10 UTC 2016


#11491: GHC 10.7.3 panic while executing 'stack upgrade' on Mac OSX El Capitan
----------------------------------------+---------------------------------
           Reporter:  hienqnguyen       |             Owner:
               Type:  bug               |            Status:  new
           Priority:  normal            |         Milestone:
          Component:  Compiler          |           Version:  7.10.3
           Keywords:                    |  Operating System:  MacOS X
       Architecture:  Unknown/Multiple  |   Type of failure:  None/Unknown
          Test Case:                    |        Blocked By:
           Blocking:                    |   Related Tickets:
Differential Rev(s):                    |         Wiki Page:
----------------------------------------+---------------------------------
 {{{
 /Users/tdoan$ stack upgrade
 Fetched package index.
 Populated index cache.
 stack-1.0.2: download
 Warning: /private/var/folders/wl/8jbs0c_w8xj_5z0059bpz1v80000gn/T/stack-
 upgrade8446/stack-1.0.2/stack.yaml: Unrecognized field in ImageOptsMonoid:
 containers
 Cabal-1.22.6.0: copying precompiled package
 SHA-1.6.4.2: copying precompiled package
 ansi-terminal-0.6.2.3: copying precompiled package
 auto-update-0.1.3: copying precompiled package
 base-orphans-0.4.5: copying precompiled package
 base16-bytestring-0.1.1.6: copying precompiled package
 ansi-wl-pprint-0.6.7.3: download
 ansi-wl-pprint-0.6.7.3: configure
 base64-bytestring-1.0.0.1: copying precompiled package
 byteable-0.1.1: copying precompiled package
 bytestring-builder-0.10.6.0.0: copying precompiled package
 cereal-0.4.1.1: copying precompiled package
 cryptohash-0.11.6: copying precompiled package
 data-default-class-0.0.1: copying precompiled package
 ansi-wl-pprint-0.6.7.3: build
 dlist-0.7.1.2: copying precompiled package
 extra-1.4.2: download
 extra-1.4.2: configure
 extra-1.4.2: build
 ansi-wl-pprint-0.6.7.3: copy/register
 file-embed-0.0.9: download
 file-embed-0.0.9: configure
 file-embed-0.0.9: build
 file-embed-0.0.9: copy/register
 extra-1.4.2: copy/register
 filelock-0.1.0.1: download
 filelock-0.1.0.1: configure
 generics-sop-0.2.0.0: download
 filelock-0.1.0.1: build
 generics-sop-0.2.0.0: configure
 generics-sop-0.2.0.0: build
 filelock-0.1.0.1: copy/register
 gitrev-1.2.0: download
 gitrev-1.2.0: configure
 gitrev-1.2.0: build
 gitrev-1.2.0: copy/register
 hourglass-0.2.9: copying precompiled package
 ieee754-0.7.6: download
 ieee754-0.7.6: configure
 ieee754-0.7.6: build
 ieee754-0.7.6: copy/register
 Progress: 21/136
 --  While building package generics-sop-0.2.0.0 using:
       /Users/tdoan/.stack/setup-exe-cache/x86_64-osx/setup-Simple-
 Cabal-1.22.5.0-ghc-7.10.3 --builddir=.stack-
 work/dist/x86_64-osx/Cabal-1.22.5.0 build --ghc-options " -ddump-hi
 -ddump-to-file"
     Process exited with code: ExitFailure 1
     Logs have been written to:
 /private/var/folders/wl/8jbs0c_w8xj_5z0059bpz1v80000gn/T/stack-
 upgrade8446/stack-1.0.2/.stack-work/logs/generics-sop-0.2.0.0.log

     Configuring generics-sop-0.2.0.0...
     Building generics-sop-0.2.0.0...
     Preprocessing library generics-sop-0.2.0.0...
     [ 1 of 13] Compiling Generics.SOP.Sing ( src/Generics/SOP/Sing.hs,
 .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Generics/SOP/Sing.o )
     [ 2 of 13] Compiling Generics.SOP.Constraint (
 src/Generics/SOP/Constraint.hs, .stack-
 work/dist/x86_64-osx/Cabal-1.22.5.0/build/Generics/SOP/Constraint.o )
     [ 3 of 13] Compiling Generics.SOP.BasicFunctors (
 src/Generics/SOP/BasicFunctors.hs, .stack-
 work/dist/x86_64-osx/Cabal-1.22.5.0/build/Generics/SOP/BasicFunctors.o )
     [ 4 of 13] Compiling Generics.SOP.Classes (
 src/Generics/SOP/Classes.hs, .stack-
 work/dist/x86_64-osx/Cabal-1.22.5.0/build/Generics/SOP/Classes.o )
     [ 5 of 13] Compiling Generics.SOP.NP  ( src/Generics/SOP/NP.hs,
 .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Generics/SOP/NP.o )
     [ 6 of 13] Compiling Generics.SOP.Metadata (
 src/Generics/SOP/Metadata.hs, .stack-
 work/dist/x86_64-osx/Cabal-1.22.5.0/build/Generics/SOP/Metadata.o )
     [ 7 of 13] Compiling Generics.SOP.Dict ( src/Generics/SOP/Dict.hs,
 .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Generics/SOP/Dict.o )
     [ 8 of 13] Compiling Generics.SOP.NS  ( src/Generics/SOP/NS.hs,
 .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Generics/SOP/NS.o )
     [ 9 of 13] Compiling Generics.SOP.GGP ( src/Generics/SOP/GGP.hs,
 .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Generics/SOP/GGP.o )
     [10 of 13] Compiling Generics.SOP.Universe (
 src/Generics/SOP/Universe.hs, .stack-
 work/dist/x86_64-osx/Cabal-1.22.5.0/build/Generics/SOP/Universe.o )
     [11 of 13] Compiling Generics.SOP.TH  ( src/Generics/SOP/TH.hs,
 .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Generics/SOP/TH.o )
     [12 of 13] Compiling Generics.SOP.Instances (
 src/Generics/SOP/Instances.hs, .stack-
 work/dist/x86_64-osx/Cabal-1.22.5.0/build/Generics/SOP/Instances.o )
     ghc: panic! (the 'impossible' happened)
       (GHC version 7.10.3 for x86_64-apple-darwin):
         Loading temp shared object failed:
 dlopen(/var/folders/wl/8jbs0c_w8xj_5z0059bpz1v80000gn/T/ghc8794_0/libghc_70.dylib,
 5): Library not loaded:
 /usr/local/opt/ghc/lib/ghc-7.10.3/templ_GJPvtLC64aA4c1Jl10o2qt
 /libHStemplate-haskell-2.10.0.0-GJPvtLC64aA4c1Jl10o2qt-ghc7.10.3.dylib
       Referenced from:
 /var/folders/wl/8jbs0c_w8xj_5z0059bpz1v80000gn/T/ghc8794_0/libghc_70.dylib
       Reason: image not found

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

 /Users/tdoan$ stack --version
 Version 1.0.0 x86_64
 }}}

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


More information about the ghc-tickets mailing list