vtables by different compilers

Jessica Han jessica at cup.hp.com
Fri Jul 26 23:33:00 UTC 2002


I am working on the interoperability issues on IA64 HPUX between g++ and
aCC.
I noticed that g++ put vtables into different sections with names like
gnu.linkonce.d.VTABLENAME, but aCC puts all the vtables into .data sections.
Is this going to cause any problems while mixing g++ objects and aCC
objects? What if a vtable entry belongs to a COMDAT group and needs to be
deleted?
I am having a problem where g++ compiled code can't access aCC built vtable
properly, any suggestions on what's might be different between the two
compiler?
I am using 32 bit mode, and my g++ vtable has 64-bit alignment as aCC does.
Thanks.
----
Jessica Han
Open Source Tools
Hewlett-Packard
(408) 447-6154




More information about the cxx-abi-dev mailing list