http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58678
--- Comment #10 from David Kredba <nheghathivhistha at gmail dot com> --- I reported this as Calligra error but it is not. Gcc-4.8.2 can compile the same source code. Trunk can't: CMakeFiles/calligrasheetscommon.dir/commands/ConditionCommand.cpp.o: In function `Calligra::Sheets::Conditions::operator<(Calligra::Sheets::Conditions const&) const': /var/tmp/portage/app-office/calligra-2.7.5/work/calligra-2.7.5/sheets/Condition.h:170: undefined reference to `Calligra::Sheets::qHash(Calligra::Sheets::Conditions const&)' /var/tmp/portage/app-office/calligra-2.7.5/work/calligra-2.7.5/sheets/Condition.h:170: undefined reference to `Calligra::Sheets::qHash(Calligra::Sheets::Conditions const&)' /var/tmp/portage/app-office/calligra-2.7.5/work/calligra-2.7.5/sheets/Condition.h:170: undefined reference to `Calligra::Sheets::qHash(Calligra::Sheets::Conditions const&)' /var/tmp/portage/app-office/calligra-2.7.5/work/calligra-2.7.5/sheets/Condition.h:170: undefined reference to `Calligra::Sheets::qHash(Calligra::Sheets::Conditions const&)' /var/tmp/portage/app-office/calligra-2.7.5/work/calligra-2.7.5/sheets/Condition.h:170: undefined reference to `Calligra::Sheets::qHash(Calligra::Sheets::Conditions const&)' CMakeFiles/calligrasheetscommon.dir/commands/ConditionCommand.cpp.o:/var/tmp/portage/app-office/calligra-2.7.5/work/calligra-2.7.5/sheets/Condition.h:170: more undefined references to `Calligra::Sheets::qHash(Calligra::Sheets::Conditions const&)' follow collect2: error: ld returned 1 exit status sheets/CMakeFiles/calligrasheetscommon.dir/build.make:3108: recipe for target 'lib/libcalligrasheetscommon.so.12.0.0' failed make[2]: *** [lib/libcalligrasheetscommon.so.12.0.0] Error 1 I think this is the same type of error.