FTR: I have mention this issue to Stephen on #kde-devel, and he fixed instantly. Forgot to mention here due to my filters...
Laszlo On Tue, Sep 11, 2012 at 8:12 AM, Laszlo Papp <lp...@kde.org> wrote: > Hi, > > Trying to build the kde-frameworks branch on ARM, but I am facing the > issue below. I had the impression the reduce_relocations changes in Qt5 is > managed by cmake from the version 2.8.9 which I have been using in this > environment. I have been using the Qt Beta 1 packages. > > Any help welcome. Thank you in advance. :) > > Laszlo > > make > [ 0%] Automoc for target kdeqt5staging > [ 0%] Built target kdeqt5staging_automoc > [ 0%] Built target kdeqt5staging > [ 0%] Automoc for target tst_qsavefile > [ 0%] Built target tst_qsavefile_automoc > [ 0%] Building CXX object > libkdeqt5staging/autotests/CMakeFiles/tst_qsavefile.dir/tst_qsavefile.cpp.o > In file included from > /scratchbox/users/lpapp/home/lpapp/git/kdelibs/libkdeqt5staging/autotests/../../kde_qt5_compat.h:23, > from > /scratchbox/users/lpapp/home/lpapp/git/kdelibs/libkdeqt5staging/autotests/tst_qsavefile.cpp:43: > /opt/qt5/include/QtCore/qglobal.h:1084: error: #error "You must build your > code with position independent code if Qt was built with > -reduce-relocations. " "Compile your code with -fPIC or -fPIE." > In file included from /opt/qt5/include/QtCore/qobject.h:50, > from /opt/qt5/include/QtCore/qabstractanimation.h:45, > from /opt/qt5/include/QtCore/QtCore:4, > from /opt/qt5/include/QtTest/QtTest:4, > from > /scratchbox/users/lpapp/home/lpapp/git/kdelibs/libkdeqt5staging/autotests/tst_qsavefile.cpp:44: > /opt/qt5/include/QtCore/qlist.h: In member function 'void > QList<T>::node_copy(QList<T>::Node*, QList<T>::Node*, QList<T>::Node*) > [with T = QVariant]': > /opt/qt5/include/QtCore/qlist.h:728: instantiated from > 'QList<T>::QList(const QList<T>&) [with T = QVariant]' > /opt/qt5/include/QtCore/qstatemachine.h:80: instantiated from here > /opt/qt5/include/QtCore/qlist.h:402: warning: cast from > 'QList<QVariant>::Node*' to 'QVariant*' increases required alignment of > target type > /opt/qt5/include/QtCore/qlist.h:408: warning: cast from > 'QList<QVariant>::Node*' to 'QVariant*' increases required alignment of > target type > /opt/qt5/include/QtCore/qlist.h: In member function 'void > QList<T>::node_destruct(QList<T>::Node*, QList<T>::Node*) [with T = > QVariant]': > /opt/qt5/include/QtCore/qlist.h:763: instantiated from 'void > QList<T>::dealloc(QListData::Data*) [with T = QVariant]' > /opt/qt5/include/QtCore/qlist.h:739: instantiated from > 'QList<T>::~QList() [with T = QVariant]' > /opt/qt5/include/QtCore/qstatemachine.h:80: instantiated from here > /opt/qt5/include/QtCore/qlist.h:423: warning: cast from > 'QList<QVariant>::Node*' to 'QVariant*' increases required alignment of > target type > /opt/qt5/include/QtCore/qlist.h: In member function 'void > QList<T>::node_destruct(QList<T>::Node*) [with T = QVariant]': > /opt/qt5/include/QtCore/qlist.h:517: instantiated from 'void > QList<T>::append(const T&) [with T = QVariant]' > /opt/qt5/include/QtCore/qlist.h:326: instantiated from 'QList<T>& > QList<T>::operator<<(const T&) [with T = QVariant]' > /opt/qt5/include/QtTest/qsignalspy.h:151: instantiated from here > /opt/qt5/include/QtCore/qlist.h:379: warning: cast from > 'QList<QVariant>::Node*' to 'QVariant*' increases required alignment of > target type > make[2]: *** > [libkdeqt5staging/autotests/CMakeFiles/tst_qsavefile.dir/tst_qsavefile.cpp.o] > Error 1 > make[1]: *** [libkdeqt5staging/autotests/CMakeFiles/tst_qsavefile.dir/all] > Error 2 > make: *** [all] Error 2 > >
_______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel