I've encountered the problem with weak symbols also, and filed a bug report
against ghc (#).
Weak symbols are used by gcc (with elf) to accommodate C++'s compilation model.
In C++, it's permitted to define class methods and template code in header
files. Because header files can be
Thanks for the reply, Max.
If it's not something overly complex, I'll try to hack ghc
to see if I can produce a working patch...
probably that symbol type can be safely ignored by
ghci linker.
Thanks again for your help
Paolo
On Wed, Sep 30, 2009 at 2:29 PM, Max Bolingbroke
(Moving to ghc-users)
I'd never seen V in nm output before:
The symbol is a weak object. When a weak defined symbol is linked
with a normal defined symbol, the normal defined symbol is used with
no error. When a weak undefined symbol is linked and the symbol is
not defined, the value of the