unknown symbol `_GLOBAL_OFFSET_TABLE_' when loading module
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.
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.4 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |