#7030: GHCi tries to load the text package twice, leading to linking failure
------------------------+---------------------------------------------------
    Reporter:  tibbe    |       Owner:  simonmar  
        Type:  bug      |      Status:  new       
    Priority:  high     |   Milestone:  7.6.1     
   Component:  GHCi     |     Version:  7.4.1     
    Keywords:           |          Os:  MacOS X   
Architecture:  x86      |     Failure:  GHCi crash
  Difficulty:  Unknown  |    Testcase:            
   Blockedby:           |    Blocking:            
     Related:           |  
------------------------+---------------------------------------------------

Comment(by marlowsd@…):

 commit 62164cf56bd91ddd9449d345f8d710fbbdbf4827
 {{{
 Author: Simon Marlow <[email protected]>
 Date:   Mon Jul 2 15:04:05 2012 +0100

     -package P was loading all versions of P in GHCi (#7030)

     -package P means "the latest version of P" if multiple versions are
     installed.  It was working as advertised, but we were
     eagerly *linking* all versions of P, which might cause an error if the
     package has some C code, because we can't link multiple instances of
     the same symbol.

  compiler/main/Packages.lhs |    4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7030#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to