KDE CMake files cannot support mutiple ABI
Miguel Marte
miguelmarte at gmail.com
Mon Feb 1 16:40:36 CET 2010
I need help with CMake on a multiabi system. Using multilib-portage,
multiple kde packages fail to compile when building for x86 ABI. This
is because cmake is passing 64bit libraries to link with for the 32bit
binary. Check the following compile line created by cmake.
/usr/bin/x86_64-pc-linux-gnu-g++ -march=core2 -O2 -pipe -m32
-Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align
-Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security
-fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual
-fno-threadsafe-statics -fvisibility=hidden
-fvisibility-inlines-hidden -Wl,--enable-new-dtags -Wl,-O1
CMakeFiles/knotificationitemtest.dir/knotificationitemtest_automoc.o
CMakeFiles/knotificationitemtest.dir/test/knotificationitemtest.o -o
knotificationitemtest -rdynamic
-L/var/tmp/portage/kde-base/libknotificationitem-4.3.4/work/libknotificationitem-4.3.4_build/lib
-L/usr/lib64/qt4 /usr/lib64/libkdeui.so.5.3.0
../lib/libknotificationitem-1.so.1.0.0 /usr/lib64/libkdeui.so.5.3.0
/usr/lib64/libkdecore.so.5.3.0 /usr/lib64/qt4/libQtDBus.so
/usr/lib64/qt4/libQtCore.so -lpthread /usr/lib64/qt4/libQtSvg.so
/usr/lib64/qt4/libQtGui.so
-Wl,-rpath,/var/tmp/portage/kde-base/libknotificationitem-4.3.4/work/libknotificationitem-4.3.4_build/lib:/usr/lib64/qt4
I also filed a bug on this. https://bugs.kde.org/show_bug.cgi?id=224843
More information about the Kde-buildsystem
mailing list