#1779: unknown symbol `hs_hpc_module'
---------------------------------+------------------------------------------
    Reporter:  guest             |        Owner:  AndyGill        
        Type:  bug               |       Status:  reopened        
    Priority:  low               |    Milestone:  6.10.2          
   Component:  GHCi              |      Version:  6.9             
    Severity:  minor             |   Resolution:                  
    Keywords:  hpc               |   Difficulty:  Unknown         
    Testcase:  hpc_ghc_ghci      |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Changes (by igloo):

  * testcase:  => hpc_ghc_ghci

Comment:

 I've made a minimal testcase, `hpc_ghc_ghci`.

 In `libraries/hpc/tests/ghc_ghci`:
 {{{
 $ ../../../../ghc/stage2-inplace/ghc -v0 --interactive B.hs
 *B> b
 <interactive>: ./A.o: unknown symbol `hs_hpc_module'

 $ ../../../../ghc/stage2-inplace/ghc -v0 --interactive B.hs
 ../../../../rts/Hpc.o


 GHCi runtime linker: fatal error: I found a duplicate definition for
 symbol
    hs_hpc_rootModule
 whilst processing object file
    ../../../../rts/Hpc.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.
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1779#comment:12>
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