|
求助:最近移至QT5.4.2到335X出现以下问题
[root@localhost qt-everywhere-opensource-src-5.4.2]# ./qt_make.sh
+ cd qtbase
+ /home/qt-everywhere-opensource-src-5.4.2/qtbase/configure -top-level -prefix /usr/toolschain/Qt-5.4.2 -release -opensource -confirm-license -no-c++11 -shared -no-pkg-config -no-iconv -no-use-gold-linker -device linux-am335x-sgx-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf- -eglfs -sysroot /home/rootfs -qreal float -opengl es2 -nomake examples -nomake tests -v
This is the Qt Open Source Edition.
You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.
You are also licensed to use this software under the terms of
the GNU Lesser General Public License (LGPL) versions 3.
You have already accepted the terms of the Open Source license.
Precompiled-headers support enabled.
arm-linux-gnueabihf-g++ -c -fvisibility=hidden fvisibility.c
Symbol visibility control enabled.
arm-linux-gnueabihf-g++ --sysroot=/home/rootfs -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c
bsymbolic_functions.c:2:2: error: #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)."
Symbolic function binding disabled.
DEFAULT_INCDIRS="/usr/toolschain/gcc-linaro-arm-linux-gnueabihf-4.7/arm-linux-gnueabihf/include/c++/4.7.3
/usr/toolschain/gcc-linaro-arm-linux-gnueabihf-4.7/arm-linux-gnueabihf/include/c++/4.7.3/arm-linux-gnueabihf
/usr/toolschain/gcc-linaro-arm-linux-gnueabihf-4.7/arm-linux-gnueabihf/include/c++/4.7.3/backward
/usr/toolschain/gcc-linaro-arm-linux-gnueabihf-4.7/lib/gcc/arm-linux-gnueabihf/4.7.3/include
/usr/toolschain/gcc-linaro-arm-linux-gnueabihf-4.7/lib/gcc/arm-linux-gnueabihf/4.7.3/include-fixed
/usr/toolschain/gcc-linaro-arm-linux-gnueabihf-4.7/arm-linux-gnueabihf/include
/home/rootfs/usr/include
"
DEFAULT_LIBDIRS="/usr/toolschain/gcc-linaro-arm-linux-gnueabihf-4.7/arm-linux-gnueabihf/lib
/home/rootfs/lib
/home/rootfs/usr/lib
/usr/toolschain/gcc-linaro-arm-linux-gnueabihf-4.7/lib/gcc/arm-linux-gnueabihf/4.7.3
/usr/toolschain/gcc-linaro-arm-linux-gnueabihf-4.7/lib/gcc
/usr/toolschain/gcc-linaro-arm-linux-gnueabihf-4.7/lib/gcc/arm-linux-gnueabihf
"
Creating qmake...
arm-linux-gnueabihf-g++ -c -o qlibraryinfo.o -pipe -ffunction-sections -g -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/qmake -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/qmake/library -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/qmake/generators -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/qmake/generators/unix -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/qmake/generators/win32 -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/qmake/generators/mac -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/qmake/generators/integrity -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/include -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/include/QtCore -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/include/QtCore/5.4.2 -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/include/QtCore/5.4.2/QtCore -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/src/corelib/global -DHAVE_QCONFIG_CPP -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/mkspecs/devices/linux-am335x-sgx-g++ -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/tools/shared -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_JSON_READONLY -DQT_NO_STANDARDPATHS /home/qt-everywhere-opensource-src-5.4.2/qtbase/src/corelib/global/qlibraryinfo.cpp
In file included from /home/qt-everywhere-opensource-src-5.4.2/qtbase/include/QtCore/qstring.h:1:0,
from /home/qt-everywhere-opensource-src-5.4.2/qtbase/include/QtCore/../../src/corelib/io/qdir.h:37,
from /home/qt-everywhere-opensource-src-5.4.2/qtbase/include/QtCore/qdir.h:1,
from /home/qt-everywhere-opensource-src-5.4.2/qtbase/src/corelib/global/qlibraryinfo.cpp:35:
/home/qt-everywhere-opensource-src-5.4.2/qtbase/include/QtCore/../../src/corelib/tools/qstring.h:297:14: note: the mangling of ‘va_list’ has changed in GCC 4.4
arm-linux-gnueabihf-g++ -o "/home/qt-everywhere-opensource-src-5.4.2/qtbase/bin/qmake" project.o option.o property.o main.o ioutils.o proitems.o qmakevfs.o qmakeglobals.o qmakeparser.o qmakeevaluator.o qmakebuiltins.o makefile.o unixmake2.o unixmake.o mingw_make.o winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o msvc_vcproj.o msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o gbuild.o cesdkhandler.o qtextcodec.o qutfcodec.o qstring.o qstring_compat.o qstringbuilder.o qtextstream.o qiodevice.o qdebug.o qmalloc.o qglobal.o qarraydata.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfiledevice.o qfile.o qfilesystementry.o qfilesystemengine.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o qsettings.o qsystemerror.o qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o qlocale_tools.o qlinkedlist.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o qlogging.o qjson.o qjsondocument.o qjsonparser.o qjsonarray.o qjsonobject.o qjsonvalue.o qfilesystemengine_unix.o qfilesystemiterator_unix.o qfsfileengine_unix.o qlocale_unix.o -Wl,--gc-sections
Running configuration tests...
Failed to process makespec for platform 'devices/linux-am335x-sgx-g++'
/home/qt-everywhere-opensource-src-5.4.2/qtbase/configure: line 3874: /home/qt-everywhere-opensource-src-5.4.2/qtbase/bin/qmake: cannot execute binary file
我的qt_make.sh文件中的内容为:
./configure \
-prefix /usr/toolschain/Qt-5.4.2 \
-release \
-opensource \
-confirm-license \
-no-c++11 \
-shared \
-no-pkg-config \
-optimized-qmake \
-no-iconv \
-no-use-gold-linker \
-device linux-am335x-sgx-g++ \
-device-option CROSS_COMPILE=arm-linux-gnueabihf- \
-no-xcb \
-eglfs \
-sysroot /home/rootfs \
-qreal float \
-opengl es2 \
-nomake examples \
-nomake tests \
-v
请遇到过QTBUG-36129这个问题的高手们,慷慨赐教!!谢谢 |
阿莫论坛20周年了!感谢大家的支持与爱护!!
月入3000的是反美的。收入3万是亲美的。收入30万是移民美国的。收入300万是取得绿卡后回国,教唆那些3000来反美的!
|