On terça-feira, 24 de julho de 2012 09.57.48, shane.kea...@accenture.com
wrote:
> > > Thanks, are such undefined symbols normal ? And is there a way to fix
> >
> > it ?
> >
> > Missing only the _ZTI ones is highly irregular. The typeinfo objects
> > are always emitted together with the virtual table and other objects.
> > Since the virtual tables are not missing, the only explanation I can
> > give is the same one that Rohan had: you're mixing -fno-rtti with code
> > that requires the RTTI.
>
> Could this also be due to mixing no-exception and exceptions enabled code?
> I know that enabling exceptions enables some vtable & rtti exports in a dll
> too.

It could, but not for *those* symbols. Exceptions require the typeinfo for the
type being thrown (which is why cross-library exceptions sometimes fails with
-fvisibility=hidden), but none of these types should be thrown:

QFocusHelper
QAbstractUndoItem
QStaticTextUserData
QItemEditorCreatorBase
QNetworkConfiguration

(some of those classes look like they came straight from classnamer.com)

To the OP: find out which .o requires those TI symbols.

Also, since I guess you're not using GCC, I can't rule out a compiler bug
either.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to