This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: hppa2.0w-hp-hpux11.00: linkage problems with explicit instantiation
- To: Markus Werle <markus at lufmech dot rwth-aachen dot de>
- Subject: Re: hppa2.0w-hp-hpux11.00: linkage problems with explicit instantiation
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 21 Jun 2001 15:27:56 -0300
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <3B32001C.CEBAA482@lufmech.rwth-aachen.de>
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