[haskell-llvm] GHCi with LLVM-2.8

Henning Thielemann lemming at henning-thielemann.de
Mon Apr 25 10:15:00 BST 2011

Bryan O'Sullivan schrieb:
> On Sun, Oct 10, 2010 at 8:00 AM, Henning Thielemann
> <lemming at henning-thielemann.de <mailto:lemming at henning-thielemann.de>>
> wrote:
>     unknown symbol `LLVMInitializeMSILTargetInfo'
>     ghc: unable to load package `llvm-'
> Probably a dependency on a symbol that was in 2.7 but has vanished in
> 2.8. The dynamic linker usually resolves all symbols when a shared
> object is loaded.

Yes, MSIL target was removed and thus I removed it from llvm package.

For the other problem concerning doubled '-preverify' pass I found an
explanation in an LLVM mailing list: The error is due to linking twice
with the LLVM library, what caused to add some passes twice to the LLVM
I looked into

and found the dubious line:
ld-options: /usr/local/lib/libLLVM-2.8rc.so

I cleared that to

and then ran

$ ghc-pkg recache --user

in order to register that change. Then everything works. Now we have to
find out, how this Ld-Option went into the .conf-file.

More information about the Haskell-llvm mailing list