http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58678
--- Comment #50 from Jason Merrill <jason at gcc dot gnu.org> --- (In reply to David Kredba from comment #39) > MakeFiles/kritametadataeditor.dir/kis_meta_data_editor.cc.o: In function > `KisMetaDataEditor::KisMetaDataEditor(QWidget*, KisMetaData::Store*)': > /var/tmp/portage/app-office/calligra-2.8.0/work/calligra-2.8.0/krita/plugins/ > extensions/metadataeditor/kis_meta_data_editor.cc:79: undefined reference to > `QUiLoader::QUiLoader(QObject*)' > /var/tmp/portage/app-office/calligra-2.8.0/work/calligra-2.8.0/krita/plugins/ > extensions/metadataeditor/kis_meta_data_editor.cc:82: undefined reference to > `QUiLoader::load(QIODevice*, QWidget*)' I don't see how devirt could be causing this; the KisMetDataEditor constructor does indeed create a QUiLoader and call load on it, and neither of those calls are virtual. I think this is a problem with the link command.