[Bug ld/2478] undefined reference vtable if symbol is in archive

2006-03-27 Thread binutils dot scyt at spamgourmet dot com
--- Additional Comments From binutils dot scyt at spamgourmet dot com 2006-03-23 15:10 --- I get the same results with the latest mingw tools and on a debian box. Debian: GNU ld version 2.16.91 20060118 Debian GNU/Linux gcc version 4.0.3 20060212 (prerelease) (Debian 4.0.2-9) host, targ

[Bug ld/2478] undefined reference vtable if symbol is in archive

2006-03-24 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2006-03-24 13:26 --- It doesn't make any difference whether an archive is specified as -lfoo or libfoo.a on the command line. You can force inclusion of the archive using --whole-archive. -- http://sourceware.org/bugzilla

[Bug ld/2478] undefined reference vtable if symbol is in archive

2006-03-24 Thread binutils dot scyt at spamgourmet dot com
--- Additional Comments From binutils dot scyt at spamgourmet dot com 2006-03-24 09:25 --- You are aware of the fact that I didn't use the -l option? From the documentation you pointed to I would expect that archives specified as input files without -l are either handled like objects or

[Bug ld/2478] undefined reference vtable if symbol is in archive

2006-03-23 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2006-03-23 21:37 --- See ld info, node "Options" for info on when ld extracts objects from archives. -- What|Removed |Added -