<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I am trying to build accelerate-llvm but getting the ghc panics below. Here’s my config<br class=""><br class=""><blockquote type="cite" class="">bash-3.2$ ghc-pkg list | grep llvm<br class="">ghc-pkg list | grep llvm<br class="">   llvm-general-3.8.0.0<br class="">   llvm-general-pure-3.5.0.0<br class="">   llvm-general-pure-3.5.1.0<br class="">   llvm-general-pure-3.8.0.0<br class="">bash-3.2$ ghc-pkg list | grep acc<br class="">ghc-pkg list | grep acc<br class="">   accelerate-1.0.0.0<br class="">bash-3.2$ ghc --version<br class="">ghc --version<br class="">The Glorious Glasgow Haskell Compilation System, version 7.10.2<br class=""></blockquote><br class="">If anyone has any ideas, I’d be very grateful.<br class=""><br class=""><blockquote type="cite" class="">bash-3.2$ ~/Library/Haskell/bin/cabal build<br class="">~/Library/Haskell/bin/cabal build<br class="">Building accelerate-llvm-1.0.0.0...<br class="">Preprocessing library accelerate-llvm-1.0.0.0...<br class="">ghc: <br class="">lookupSymbol failed in relocateSection (RELOC_GOT)<br class="">/usr/local/Cellar/llvm@3.8/3.8.1/lib/llvm-3.8/lib/libLLVMSupport.a: unknown symbol `___dso_handle'<br class="">[24 of 52] Compiling Data.Range.Range ( Data/Range/Range.hs, dist/build/Data/Range/Range.o )<br class=""><br class=""><no location info>:<br class="">   ghc: panic! (the 'impossible' happened)<br class=""> (GHC version 7.10.2 for x86_64-apple-darwin):<br class=""><span class="Apple-tab-span" style="white-space: pre;">    </span>Dynamic linker not initialised<br class=""><br class="">Please report this as a GHC bug:  <a href="http://www.haskell.org/ghc/reportabug" class="">http://www.haskell.org/ghc/reportabug</a><br class=""><br class="">[31 of 52] Compiling Data.Array.Accelerate.LLVM.Util ( Data/Array/Accelerate/LLVM/Util.hs, dist/build/Data/Array/Accelerate/LLVM/Util.o )<br class=""><br class=""><no location info>:<br class="">   ghc: unable to load package `llvm-general-3.8.0.0'<br class="">[32 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 )<br class=""><br class=""><no location info>:<br class="">   ghc: panic! (the 'impossible' happened)<br class=""> (GHC version 7.10.2 for x86_64-apple-darwin):<br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>Dynamic linker not initialised<br class=""><br class="">Please report this as a GHC bug:  <a href="http://www.haskell.org/ghc/reportabug" class="">http://www.haskell.org/ghc/reportabug</a><br class=""><br class="">[33 of 52] Compiling Data.Array.Accelerate.LLVM.CodeGen.Monad[boot] ( Data/Array/Accelerate/LLVM/CodeGen/Monad.hs-boot, dist/build/Data/Array/Accelerate/LLVM/CodeGen/Monad.o-boot )<br class="">[34 of 52] Compiling Data.Array.Accelerate.LLVM.CodeGen.IR ( Data/Array/Accelerate/LLVM/CodeGen/IR.hs, dist/build/Data/Array/Accelerate/LLVM/CodeGen/IR.o )<br class=""><br class=""><no location info>:<br class="">   ghc: panic! (the 'impossible' happened)<br class=""> (GHC version 7.10.2 for x86_64-apple-darwin):<br class=""><span class="Apple-tab-span" style="white-space: pre;">     </span>Dynamic linker not initialised<br class=""><br class="">Please report this as a GHC bug:  <a href="http://www.haskell.org/ghc/reportabug" class="">http://www.haskell.org/ghc/reportabug</a><br class=""><br class="">[44 of 52] Compiling Data.Array.Accelerate.LLVM.Execute.Environment ( Data/Array/Accelerate/LLVM/Execute/Environment.hs, dist/build/Data/Array/Accelerate/LLVM/Execute/Environment.o )<br class=""><br class=""><no location info>:<br class="">   ghc: panic! (the 'impossible' happened)<br class=""> (GHC version 7.10.2 for x86_64-apple-darwin):<br class=""><span class="Apple-tab-span" style="white-space: pre;">   </span>Dynamic linker not initialised<br class=""><br class="">Please report this as a GHC bug:  <a href="http://www.haskell.org/ghc/reportabug" class="">http://www.haskell.org/ghc/reportabug</a></blockquote></body></html>