[GHC] #11045: Loading temp shared object failed - undefined symbol

GHC ghc-devs at haskell.org
Sun Nov 1 16:36:03 UTC 2015


#11045: Loading temp shared object failed - undefined symbol
-------------------------------------+-------------------------------------
           Reporter:  sjakobi        |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  7.10.2
           Keywords:                 |  Operating System:  Linux
       Architecture:  x86_64         |   Type of failure:  Compile-time
  (amd64)                            |  crash
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 While re-compiling [https://github.com/commercialhaskell/stack stack]:

 {{{
 $ stack install --ghc-options -O2
 stack-0.1.7.0: configure
 Configuring stack-0.1.7.0...
 stack-0.1.7.0: build
 Preprocessing library stack-0.1.7.0...
 [30 of 74] Compiling Stack.Types.Docker ( src/Stack/Types/Docker.hs,
 .stack-work/dist/x86_64-linux/Cabal-1.22.4.0/build/Stack/Types/Docker.o )
 [31 of 74] Compiling Options.Applicative.Complicated (
 src/Options/Applicative/Complicated.hs, .stack-
 work/dist/x86_64-linux/Cabal-1.22.4.0/build/Options/Applicative/Complicated.o
 )
 [32 of 74] Compiling Stack.Types.Config ( src/Stack/Types/Config.hs,
 .stack-work/dist/x86_64-linux/Cabal-1.22.4.0/build/Stack/Types/Config.o )
 [33 of 74] Compiling Stack.Constants  ( src/Stack/Constants.hs, .stack-
 work/dist/x86_64-linux/Cabal-1.22.4.0/build/Stack/Constants.o )
 [Stack.Types.Config changed]
 [34 of 74] Compiling Stack.Types.Internal ( src/Stack/Types/Internal.hs,
 .stack-work/dist/x86_64-linux/Cabal-1.22.4.0/build/Stack/Types/Internal.o
 ) [Stack.Types.Config changed]
 [35 of 74] Compiling Stack.Types.StackT ( src/Stack/Types/StackT.hs,
 .stack-work/dist/x86_64-linux/Cabal-1.22.4.0/build/Stack/Types/StackT.o )
 [36 of 74] Compiling Stack.Docker.GlobalDB ( src/Stack/Docker/GlobalDB.hs,
 .stack-work/dist/x86_64-linux/Cabal-1.22.4.0/build/Stack/Docker/GlobalDB.o
 ) [Stack.Types.Config changed]
 [37 of 74] Compiling Stack.Types.Package ( src/Stack/Types/Package.hs,
 .stack-work/dist/x86_64-linux/Cabal-1.22.4.0/build/Stack/Types/Package.o )
 [Stack.Types.Config changed]
 [38 of 74] Compiling Stack.Types.Build ( src/Stack/Types/Build.hs, .stack-
 work/dist/x86_64-linux/Cabal-1.22.4.0/build/Stack/Types/Build.o )
 [39 of 74] Compiling Stack.Types      ( src/Stack/Types.hs, .stack-
 work/dist/x86_64-linux/Cabal-1.22.4.0/build/Stack/Types.o )
 [Stack.Types.Build changed]
 [40 of 74] Compiling Stack.GhcPkg     ( src/Stack/GhcPkg.hs, .stack-
 work/dist/x86_64-linux/Cabal-1.22.4.0/build/Stack/GhcPkg.o )
 [Stack.Constants changed]
 [41 of 74] Compiling Stack.PackageIndex ( src/Stack/PackageIndex.hs,
 .stack-work/dist/x86_64-linux/Cabal-1.22.4.0/build/Stack/PackageIndex.o )
 [Data.Binary.VersionTagged changed]
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.10.2 for x86_64-unknown-linux):
         Loading temp shared object failed: /tmp/ghc22553_0/libghc_96.so:
 undefined symbol:
 stackzuFHzzONQT9HI3ATX2xQH198L_StackziTypesziCompiler_zdfBinaryCompilerVersionzuzdszdfGSumM2_closure

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


 --  While building package stack-0.1.7.0 using:
       /home/simon/.stack/setup-exe-cache/setup-Simple-
 Cabal-1.22.4.0-x86_64-linux-ghc-7.10.2 --builddir=.stack-
 work/dist/x86_64-linux/Cabal-1.22.4.0/ build lib:stack exe:stack --ghc-
 options " -ddump-hi -ddump-to-file"
     Process exited with code: ExitFailure 1

 $ git show
 commit 2fb2d11fffddde3c44920f7ea93e34b9d3195dad
 Author: Emanuel Borsboom <manny at fpcomplete.com>
 Date:   Sun Nov 1 05:21:16 2015 -0800

 <snip>

 }}}

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


More information about the ghc-tickets mailing list