[GHC] #10919: ghc: panic! (the 'impossible' happened) ... Dynamic linker not initialised

GHC ghc-devs at haskell.org
Tue Sep 29 13:50:00 UTC 2015


#10919: ghc: panic! (the 'impossible' happened) ... Dynamic linker not initialised
-------------------------------------+-------------------------------------
           Reporter:  recursion-     |             Owner:
  ninja                              |
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  7.10.2
           Keywords:  panic          |  Operating System:  Linux
  impossible linker initialized      |
       Architecture:                 |   Type of failure:  Compile-time
  Unknown/Multiple                   |  crash
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |
-------------------------------------+-------------------------------------
 When trying to build the CUDA accelerate backend I get the following
 "complier panic":

 {{{
 me at box:~/accelerate-cuda-0.15.0.0$ cabal build
 Building accelerate-cuda-0.15.0.0...
 Preprocessing library accelerate-cuda-0.15.0.0...

 Data/Array/Accelerate/CUDA/CodeGen/Base.hs:5:14: Warning:
     -XOverlappingInstances is deprecated: instead use per-instance pragmas
 OVERLAPPING/OVERLAPPABLE/OVERLAPS
 [ 7 of 33] Compiling Data.Array.Accelerate.CUDA.CodeGen.Type (
 Data/Array/Accelerate/CUDA/CodeGen/Type.hs,
 dist/build/Data/Array/Accelerate/CUDA/CodeGen/Type.o )

 <no location info>:
     ghc: panic! (the 'impossible' happened)
   (GHC version 7.10.2 for x86_64-unknown-linux):
         Dynamic linker not initialised

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

 [ 9 of 33] Compiling Data.Array.Accelerate.CUDA.Debug (
 Data/Array/Accelerate/CUDA/Debug.hs,
 dist/build/Data/Array/Accelerate/CUDA/Debug.o )

 <no location info>:
     ghc: panic! (the 'impossible' happened)
   (GHC version 7.10.2 for x86_64-unknown-linux):
         Dynamic linker not initialised

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

 [10 of 33] Compiling Data.Array.Accelerate.CUDA.Analysis.Launch (
 Data/Array/Accelerate/CUDA/Analysis/Launch.hs,
 dist/build/Data/Array/Accelerate/CUDA/Analysis/Launch.o )

 <no location info>:
     <command line>: can't load .so/.DLL for: /home/me/.cabal/lib/x86_64
 -linux-ghc-7.10.2/cuda-0.6.7.0-EMlxEWvymgZGXnLSaVKypt/libHScuda-0.6.7.0
 -EMlxEWvymgZGXnLSaVKypt-ghc7.10.2.so (libcudart.so.7.5: cannot open shared
 object file: No such file or directory)
 }}}

 This is the accelerate cuda package version 0.15.0.0:
 https://hackage.haskell.org/package/accelerate-cuda

 I changed the constraints from base==4.7.* to base==4.8.* to allow for
 compilation with GHC 7.10.2. After installing the dependencies through
 cabal and attempting to manually build the package manuall with cabal
 build I get the above mentioned compiler panics. GHC instructed me to
 report the issue as a bug (defect) so I did.

 I'd like to get this library to build with the newest version of GHC so
 please let me know how to proceed.

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


More information about the ghc-tickets mailing list