[GHC] #13137: Dynamic linker not initialised.

GHC ghc-devs at haskell.org
Mon Jan 16 16:05:45 UTC 2017


#13137: Dynamic linker not initialised.
----------------------------------------+---------------------------------
           Reporter:  djduke            |             Owner:
               Type:  bug               |            Status:  new
           Priority:  normal            |         Milestone:
          Component:  Compiler          |           Version:  8.0.2
           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:
----------------------------------------+---------------------------------
 Attempting to build accelerate-llvm-1.0.0.0 cloned from the repo at
 https://github.com/AccelerateHS/accelerate-llvm, using:

 OSX 10.12.2 (Sierra)
 GHC 8.0.2
 Command line tools for Xcode 8.2.1

 [25 of 52] Compiling Data.Range.Range ( Data/Range/Range.hs,
 dist/build/Data/Range/Range.o )

   (GHC version 8.0.2 for x86_64-apple-darwin):
         Dynamic linker not initialised

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

 [26 of 52] Compiling Data.Array.Accelerate.LLVM.Util (
 Data/Array/Accelerate/LLVM/Util.hs,
 dist/build/Data/Array/Accelerate/LLVM/Util.o )

 <no location info>: error:
     <command line>: can't load .so/.DLL for:
 /Users/scsdjd/Library/Haskell/ghc-8.0.2-x86_64/lib/x86_64-osx-ghc-8.0.2
 /libHSllvm-general-3.8.0.0-KHGbcTTSuxFL0az0gf3S53-ghc8.0.2.dylib
 (dlopen(/Users/scsdjd/Library/Haskell/ghc-8.0.2-x86_64/lib/x86_64-osx-
 ghc-8.0.2/libHSllvm-general-3.8.0.0-KHGbcTTSuxFL0az0gf3S53-ghc8.0.2.dylib,
 5): Symbol not found: __ZTIN4llvm11InstructionE
   Referenced from:
 /Users/scsdjd/Library/Haskell/ghc-8.0.2-x86_64/lib/x86_64-osx-ghc-8.0.2
 /libHSllvm-general-3.8.0.0-KHGbcTTSuxFL0az0gf3S53-ghc8.0.2.dylib
   Expected in: flat namespace
  in /Users/scsdjd/Library/Haskell/ghc-8.0.2-x86_64/lib/x86_64-osx-
 ghc-8.0.2/libHSllvm-general-3.8.0.0-KHGbcTTSuxFL0az0gf3S53-ghc8.0.2.dylib)
 [27 of 52] Compiling Data.Array.Accelerate.LLVM.CodeGen.Ptr (
 Data/Array/Accelerate/LLVM/CodeGen/Ptr.hs,
 dist/build/Data/Array/Accelerate/LLVM/CodeGen/Ptr.o )

 <no location info>: error:
     ghc: panic! (the 'impossible' happened)
   (GHC version 8.0.2 for x86_64-apple-darwin):
         Dynamic linker not initialised

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

 ... so I have.

 I note previous tickets for "Dynamic linker not initialised", but not
 clear they are relevant due to different OS etc.

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


More information about the ghc-tickets mailing list