fatal error with ghci and llvm

José Romildo Malaquias j.romildo at gmail.com
Fri Nov 23 21:03:54 CET 2012


When experimenting with the module LLVM.Core in GHCi on my gentoo linux
system, I have got a fatal error:

$ ghci
GHCi, version 7.6.1: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.

Prelude> :m + LLVM.Core

Prelude LLVM.Core> IntEQ
Loading package llvm-base- ... 

GHCi runtime linker: fatal error: I found a duplicate definition for symbol
whilst processing object file
This could be caused by:
   * Loading two different object files which export the same symbol
   * Specifying the same object file twice on the GHCi command line
   * An incorrect `package.conf' entry, causing some object to be
     loaded twice.
GHCi cannot safely continue in this situation.  Exiting now.  Sorry.

Any clues?

More information about the Glasgow-haskell-users mailing list