no vtable thunks

Alexandre Oliva oliva@dcc.unicamp.br
Sat Oct 31 14:18:00 GMT 1998


On Oct 20, 1998, "Glenn W. Bach" <glenn@dodgson.wonderland.caltech.edu> wrote:

> I recompiled everything (libstdc++ and all of our libraries and
> code) with the -fno-vtable-thunks and now I'm getting some strange
> errors.

> code/CBStylerTable.cc:77: undefined reference to `JXStringTable::JTable virtual table'
> code/CBStylerTable.o: In function `CBStylerTable::~CBStylerTable(void)':
> code/CBStylerTable.cc:150: undefined reference to `JXStringTable::JTable virtual table'
> code/CBStylerTableInput.o: In function `JXKeyModifiers::meta(void) const':

Make sure you have really recompiled all your code with
-fno-vtable-thunks.  Use `nm' to look for the mangled names of the
virtual tables (they usually contain `vt') and see if they are the
same.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:oliva@gnu.org mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc-bugs mailing list