id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
7030,"GHCi tries to load the text package twice, leading to linking failure",tibbe,simonmar,"For some reason GHC tries to load the text package twice:

{{{
$ ghci -package text
GHCi, version 7.4.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.
Loading package array-0.4.0.0 ... linking ... done.
Loading package bytestring-0.9.2.1 ... linking ... done.
Loading package deepseq-1.3.0.0 ... linking ... done.
Loading package text-0.11.2.0 ... linking ... done.
Loading package text-0.11.2.1 ... 

GHCi runtime linker: fatal error: I found a duplicate definition for symbol
   __hs_text_decode_utf8
whilst processing object file
   /Users/tibbe/.cabal/lib/text-0.11.2.1/ghc-7.4.1/HStext-0.11.2.1.o
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.
}}}

`__hs_text_decode_utf8` is a C function defined in the text package.",bug,closed,high,7.4.3,GHCi,7.4.1,fixed,,johan.tibell@…,MacOS X,x86,GHCi crash,Unknown,,,,
