http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58678
--- Comment #22 from David Kredba <nheghathivhistha at gmail dot com> --- I got this now with rev. 208241: /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -ggdb -pipe -march=native -mtune=native -mno-3dnow -mno-sse4.2 -mno-avx -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -fexceptions -UQT_NO_EXCEPTIONS -Wl,--enable-new-dtags -Wl,--no-undefined -lc -Wl,--as-needed -Wl,-O2 -O2 -ggdb -pipe -march=native -mtune=native -shared -Wl,-soname,libkorganizer_core.so.4 -o ../lib/libkorganizer_core.so.4.12.3 CMakeFiles/korganizer_core.dir/korganizer_core_automoc.o CMakeFiles/korganizer_core.dir/koprefs.o CMakeFiles/korganizer_core.dir/kocore.o CMakeFiles/korganizer_core.dir/koprefs_base.o -L/var/tmp/portage/kde-base/korganizer-4.12.3/work/korganizer-4.12.3_build/lib -L/usr/lib64/qt4 ../lib/libcalendarsupport.so.4.12.3 -leventviews ../lib/libincidenceeditorsng.so.4.12.3 -lkdepim ../lib/libkorganizer_interfaces.so.4.12.3 /usr/lib64/libakonadi-kde.so.4.12.3 /usr/lib64/libkcalcore.so.4.12.3 /usr/lib64/libkcalutils.so.4.12.3 /usr/lib64/libkmime.so.4.12.3 /usr/lib64/libkpimidentities.so.4.12.3 /usr/lib64/libkdecore.so.5.12.3 /usr/lib64/libkio.so.5.12.3 /usr/lib64/qt4/libQtUiTools.a -lz -lkdepim /usr/lib64/libkldap.so.4.12.3 /usr/lib64/libkcmutils.so.4.12.3 -lkdgantt2 -lakonadi_next -lakonadi-calendar ../lib/libcalendarsupport.so.4.12.3 /usr/lib64/libkcalutils.so.4.12.3 /usr/lib64/libkpimidentities.so.4.12.3 /usr/lib64/libkpimtextedit.so.4.12.3 /usr/lib64/libkholidays.so.4.12.3 /usr/lib64/libakonadi-contact.so.4.12.3 /usr/lib64/libkcalcore.so.4.12.3 /usr/lib64/libkabc.so.4.12.3 /usr/lib64/libkresources.so.4.12.3 /usr/lib64/libkpimutils.so.4.12.3 /usr/lib64/libnepomukcore.so.4.12.3 -lphonon /usr/lib64/libkmime.so.4.12.3 /usr/lib64/libakonadi-kde.so.4.12.3 /usr/lib64/libakonadiprotocolinternals.so.1.11.0 /usr/lib64/libkio.so.5.12.3 /usr/lib64/libsolid.so.4.12.3 /usr/lib64/qt4/libQtNetwork.so /usr/lib64/qt4/libQtXml.so /usr/lib64/libkdeui.so.5.12.3 /usr/lib64/libkdecore.so.5.12.3 /usr/lib64/qt4/libQtCore.so -lpthread /usr/lib64/qt4/libQtDBus.so /usr/lib64/qt4/libQtGui.so /usr/lib64/qt4/libQtSvg.so -lsoprano -Wl,-rpath,/var/tmp/portage/kde-base/korganizer-4.12.3/work/korganizer-4.12.3_build/lib:/usr/lib64/qt4: CMakeFiles/korganizer_core.dir/kocore.o: In function `~Part': /var/tmp/portage/kde-base/korganizer-4.12.3/work/korganizer-4.12.3/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.3/work/korganizer-4.12.3/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.3/work/korganizer-4.12.3/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&)' collect2: error: ld returned 1 exit status korganizer/CMakeFiles/korganizer_core.dir/build.make:211: recipe for target 'lib/libkorganizer_core.so.4.12.3' failed make[2]: *** [lib/libkorganizer_core.so.4.12.3] Error 1 make[2]: Leaving directory '/var/tmp/portage/kde-base/korganizer-4.12.3/work/korganizer-4.12.3_build' CMakeFiles/Makefile2:965: recipe for target 'korganizer/CMakeFiles/korganizer_core.dir/all' failed make[1]: *** [korganizer/CMakeFiles/korganizer_core.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/kde-base/korganizer-4.12.3/work/korganizer-4.12.3_build' Makefile:126: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: kde-base/korganizer-4.12.3::gentoo failed (compile phase): * emake failed Is this a new re-occurence?