hppa2.0w-hp-hpux11.00: linkage problems with explicit instantiation
Alexandre Oliva
aoliva@redhat.com
Thu Jun 21 11:27:00 GMT 2001
On Jun 21, 2001, Markus Werle <markus@lufmech.rwth-aachen.de> wrote:
> I have a little problem with templates which are explicitly
> instantiated.
You mean *implicitly* instantiated, I suppose.
> Any idea where this goes wrong (gcc, binutils, hp-ld)?
It's actually the binary format: without weak symbols, GCC must not
emit implicit template instantiations, so you have to explicitly
instantiate data members. Hmm.... But this doesn't appear to be the
case: you're getting undefined data symbols... Do you have a testcase?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc-bugs
mailing list