I use gcc 4.9.3. In the file /usr/share/apps/cmake/modules/FindKDE4Internal.cmake the test on visisibility adds a CXXFLAG=-fvisibility=hidden. This in turn hides to many symbols causing a quite large amount of KDE4 based packages to fail with symbol errors. I haven't the time and mood to dig too much into the KDE sources, but changing check_cxx_compiler_flag(-fvisibility=hidden __KDE_HAVE_GCC_VISIBILITY) set( __KDE_HAVE_GCC_VISIBILITY ${__KDE_HAVE_GCC_VISIBILITY} CACHE BOOL "GCC support for hidden visibility") to #check_cxx_compiler_flag(-fvisibility=hidden __KDE_HAVE_GCC_VISIBILITY) set( __KDE_HAVE_GCC_VISIBILITY FALSE CACHE BOOL "GCC support for hidden visibility") is a workaround at the expense of larger binaries and surely not suitablke for KDE developers Reproducible: Sometimes
My workaround is far from perfect: https://bugs.kde.org/show_bug.cgi?id=313763 I now encounter this bug with lightdm-kde (using classic theme) I would be VERY happy to have a working KDE4 again, at least so far I can use * konsole * kdevelop * lightdm-kde I hardly can believe I'm the only one who has so much problems building KDE with -fvisibility=hidden Note: I use Qt 4.8.7
What about current stable version =kde-base/kdelibs-4.14.16?
(In reply to Johannes Huber from comment #2) > What about current stable version =kde-base/kdelibs-4.14.16?