This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
AIX vtable issues
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: AIX vtable issues
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Mon, 05 Feb 2001 22:57:18 -0800
- Cc: gcc at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
David --
There's still a problem with templates and vtables on AIX.
I'm confused, though, by what happens.
We emit definitions for the vtables, but somehow they don't count.
For example:
.toc
LC..0:
.tc _ZTT4MostIiE[TC],_ZTT4MostIiE[RW]
...
.csect _test.rw_C[RW],3
.align 2
_ZTT4MostIiE:
.long _ZTV4MostIiE[RW]+12
.long _ZTC4MostIiE0_2D1IiE[RW]+12
.long _ZTC4MostIiE4_2D2IiE[RW]+12
.long _ZTV4MostIiE[RW]+24
This reults in _ZTT4MostIiE being undefined at link time.
What's going on here? (I have the feeling you might have explained
this before, but I can't quite piece it together.)
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com