kdesdk cmake-bustage, kde4_add_plugin

Rex Dieter rdieter at math.unl.edu
Sun Jun 10 17:41:16 UTC 2012


Seems some odd cmake borkage is going on trying to build kdesdk-4.8.90 
(4.8.80 suffered the same, but I hadn't noticed then), in that any 
modules using kde4_add_plugin seem to not get compiled with -fPIC 
properly, and fail linking, for example,

dolphin-plugins:
/usr/bin/ld: 
CMakeFiles/fileviewsvnplugin.dir/fileviewsvnplugin_automoc.o: relocation 
R_X86_64_32 against `_ZN17FileViewSvnPlugin16staticMetaObjectE' can not 
be used when making a shared object; recompile with -fPIC

kstartperf:
/usr/bin/ld: CMakeFiles/kstartperf.dir/libkstartperf.o: relocation 
R_X86_64_32 against `.rodata.str1.1' can not be used when making a 
shared object; recompile with -fPIC

blindly replacing kdesdk toplevel CMakeLists.txt with that from 4.8.4 
makes things happy again.  Still trying to track down exactly what's 
going wrong...

-- rex


More information about the release-team mailing list