http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58678
--- Comment #9 from David Kredba <nheghathivhistha at gmail dot com> --- Maybe this is a same type of problem (kde-base/korganizer-4.12.1): CMakeFiles/korganizer_core.dir/kocore.o: In function `~Part': /var/tmp/portage/kde-base/korganizer-4.12.1/work/korganizer-4.12.1/korganizer/interfaces/korganizer/part.h:55: undefined reference to `KParts::Part::~Part()' CMakeFiles/korganizer_core.dir/kocore.o: In function `KOrg::Part::~Part()': /var/tmp/portage/kde-base/korganizer-4.12.1/work/korganizer-4.12.1/korganizer/interfaces/korganizer/part.h:55: undefined reference to `KParts::Part::~Part()' CMakeFiles/korganizer_core.dir/kocore.o: In function `~Part': /var/tmp/portage/kde-base/korganizer-4.12.1/work/korganizer-4.12.1/korganizer/interfaces/korganizer/part.h:55: undefined reference to `KParts::Part::~Part()' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTIN4KOrg4PartE[_ZTIN4KOrg4PartE]+0x10): undefined reference to `typeinfo for KParts::Part' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE16_N6KParts8PartBaseE[_ZTVN4KOrg4PartE]+0x10): undefined reference to `typeinfo for KParts::PartBase' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE16_N6KParts8PartBaseE[_ZTVN4KOrg4PartE]+0x18): undefined reference to `KParts::PartBase::~PartBase()' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE16_N6KParts8PartBaseE[_ZTVN4KOrg4PartE]+0x20): undefined reference to `KParts::PartBase::~PartBase()' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE16_N6KParts8PartBaseE[_ZTVN4KOrg4PartE]+0x28): undefined reference to `KParts::PartBase::setComponentData(KComponentData const&)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE16_N6KParts8PartBaseE[_ZTVN4KOrg4PartE]+0x30): undefined reference to `KParts::PartBase::setComponentData(KComponentData const&, bool)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE16_N6KParts8PartBaseE[_ZTVN4KOrg4PartE]+0xb0): undefined reference to `typeinfo for KParts::PartBase' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE16_N6KParts8PartBaseE[_ZTVN4KOrg4PartE]+0xb8): undefined reference to `virtual thunk to KParts::PartBase::~PartBase()' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE16_N6KParts8PartBaseE[_ZTVN4KOrg4PartE]+0xc0): undefined reference to `virtual thunk to KParts::PartBase::~PartBase()' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE16_N6KParts8PartBaseE[_ZTVN4KOrg4PartE]+0xf8): undefined reference to `virtual thunk to KParts::PartBase::setComponentData(KComponentData const&)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0x10): undefined reference to `typeinfo for KParts::Part' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0x18): undefined reference to `KParts::Part::metaObject() const' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0x20): undefined reference to `KParts::Part::qt_metacast(char const*)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0x28): undefined reference to `KParts::Part::qt_metacall(QMetaObject::Call, int, void**)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0x30): undefined reference to `KParts::Part::~Part()' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0x38): undefined reference to `KParts::Part::~Part()' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0x60): undefined reference to `KParts::Part::customEvent(QEvent*)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0x78): undefined reference to `KParts::Part::embed(QWidget*)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0x80): undefined reference to `KParts::Part::widget()' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0x88): undefined reference to `KParts::Part::setManager(KParts::PartManager*)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0x90): undefined reference to `KParts::Part::hitTest(QWidget*, QPoint const&)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0x98): undefined reference to `KParts::Part::setSelectable(bool)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0xa0): undefined reference to `KParts::Part::setWidget(QWidget*)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0xa8): undefined reference to `KParts::Part::partActivateEvent(KParts::PartActivateEvent*)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0xb0): undefined reference to `KParts::Part::partSelectEvent(KParts::PartSelectEvent*)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0xb8): undefined reference to `KParts::Part::guiActivateEvent(KParts::GUIActivateEvent*)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0xd0): undefined reference to `typeinfo for KParts::Part' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0xd8): undefined reference to `non-virtual thunk to KParts::Part::~Part()' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0xe0): undefined reference to `non-virtual thunk to KParts::Part::~Part()' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0xe8): undefined reference to `KParts::PartBase::setComponentData(KComponentData const&)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0xf0): undefined reference to `KParts::PartBase::setComponentData(KComponentData const&, bool)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0x170): undefined reference to `typeinfo for KParts::Part' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0x178): undefined reference to `virtual thunk to KParts::Part::~Part()' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0x180): undefined reference to `virtual thunk to KParts::Part::~Part()' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTCN4KOrg4PartE0_N6KParts4PartE[_ZTVN4KOrg4PartE]+0x1b8): undefined reference to `virtual thunk to KParts::PartBase::setComponentData(KComponentData const&)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTVN4KOrg4PartE[_ZTVN4KOrg4PartE]+0x18): undefined reference to `KParts::Part::metaObject() const' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTVN4KOrg4PartE[_ZTVN4KOrg4PartE]+0x20): undefined reference to `KParts::Part::qt_metacast(char const*)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTVN4KOrg4PartE[_ZTVN4KOrg4PartE]+0x28): undefined reference to `KParts::Part::qt_metacall(QMetaObject::Call, int, void**)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTVN4KOrg4PartE[_ZTVN4KOrg4PartE]+0x60): undefined reference to `KParts::Part::customEvent(QEvent*)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTVN4KOrg4PartE[_ZTVN4KOrg4PartE]+0x78): undefined reference to `KParts::Part::embed(QWidget*)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTVN4KOrg4PartE[_ZTVN4KOrg4PartE]+0x80): undefined reference to `KParts::Part::widget()' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTVN4KOrg4PartE[_ZTVN4KOrg4PartE]+0x88): undefined reference to `KParts::Part::setManager(KParts::PartManager*)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTVN4KOrg4PartE[_ZTVN4KOrg4PartE]+0x90): undefined reference to `KParts::Part::hitTest(QWidget*, QPoint const&)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTVN4KOrg4PartE[_ZTVN4KOrg4PartE]+0x98): undefined reference to `KParts::Part::setSelectable(bool)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTVN4KOrg4PartE[_ZTVN4KOrg4PartE]+0xa0): undefined reference to `KParts::Part::setWidget(QWidget*)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTVN4KOrg4PartE[_ZTVN4KOrg4PartE]+0xa8): undefined reference to `KParts::Part::partActivateEvent(KParts::PartActivateEvent*)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTVN4KOrg4PartE[_ZTVN4KOrg4PartE]+0xb0): undefined reference to `KParts::Part::partSelectEvent(KParts::PartSelectEvent*)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTVN4KOrg4PartE[_ZTVN4KOrg4PartE]+0xb8): undefined reference to `KParts::Part::guiActivateEvent(KParts::GUIActivateEvent*)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTVN4KOrg4PartE[_ZTVN4KOrg4PartE]+0xf8): undefined reference to `KParts::PartBase::setComponentData(KComponentData const&)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTVN4KOrg4PartE[_ZTVN4KOrg4PartE]+0x100): undefined reference to `KParts::PartBase::setComponentData(KComponentData const&, bool)' CMakeFiles/korganizer_core.dir/kocore.o:(.data.rel.ro._ZTVN4KOrg4PartE[_ZTVN4KOrg4PartE]+0x1c8): undefined reference to `virtual thunk to KParts::PartBase::setComponentData(KComponentData const&)'