#3720: unknown symbol `_GLOBAL_OFFSET_TABLE_' when loading module
---------------------------------+------------------------------------------
    Reporter:  fasta             |       Owner:       
        Type:  bug               |      Status:  new  
    Priority:  normal            |   Component:  GHCi 
     Version:  6.10.4            |    Keywords:       
          Os:  Unknown/Multiple  |    Testcase:       
Architecture:  Unknown/Multiple  |     Failure:  Other
---------------------------------+------------------------------------------
 I get the following, which is caused by a bug in ghci, which probably
 results from ghci reusing .o files when it should not.

 Util.hs is a user-defined file on which the module which is currently
 being loaded (Main.hs) depends.

 {{{<interactive>: ./Util.o: unknown symbol `_GLOBAL_OFFSET_TABLE_'}}}

 If I remove all the .o files, the module happily loads in ghci.

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