Building Qt 4.8.7 for LS1043ARDB

cancel
Showing results for 
Search instead for 
Did you mean: 

Building Qt 4.8.7 for LS1043ARDB

759 Views
olegkholupov
Contributor I

Is it possible to compile Qt 4.8.7?

I have passed the following steps:

1. build all images for LS1043ARDB, including toolchains.

2. create device spec for LS1043ARDB "linux-ls1043a-arm-g++" for building Qt

qmake.conf

#
# qmake configuration for building with arm-linux-gnueabi-g++
#
include(../../common/linux.conf)
include(../../common/gcc-base-unix.conf)
include(../../common/g++-unix.conf)
include(../../common/qws.conf)
# modifications to g++.conf
QMAKE_CC = /opt/fsl-networking/QorIQ-SDK-V1.7/sysroots/i686-fslsdk-linux/usr/bin/aarch64-fsl-linux/aarch64-fsl-linux-gcc 
QMAKE_CXX = /opt/fsl-networking/QorIQ-SDK-V1.7/sysroots/i686-fslsdk-linux/usr/bin/aarch64-fsl-linux/aarch64-fsl-linux-g++
QMAKE_LINK = /opt/fsl-networking/QorIQ-SDK-V1.7/sysroots/i686-fslsdk-linux/usr/bin/aarch64-fsl-linux/aarch64-fsl-linux-g++
QMAKE_LINK_SHLIB = /opt/fsl-networking/QorIQ-SDK-V1.7/sysroots/i686-fslsdk-linux/usr/bin/aarch64-fsl-linux/aarch64-fsl-linux-g++
# modifications to linux.conf
QMAKE_AR = /opt/fsl-networking/QorIQ-SDK-V1.7/sysroots/i686-fslsdk-linux/usr/bin/aarch64-fsl-linux/aarch64-fsl-linux-ar cqs
QMAKE_OBJCOPY = /opt/fsl-networking/QorIQ-SDK-V1.7/sysroots/i686-fslsdk-linux/usr/bin/aarch64-fsl-linux/aarch64-fsl-linux-bjcopy
QMAKE_NM = /opt/fsl-networking/QorIQ-SDK-V1.7/sysroots/i686-fslsdk-linux/usr/bin/aarch64-fsl-linux/aarch64-fsl-linux-nm
QMAKE_STRIP = /opt/fsl-networking/QorIQ-SDK-V1.7/sysroots/i686-fslsdk-linux/usr/bin/aarch64-fsl-linux/aarch64-fsl-linux-strip
QMAKE_CFLAGS = -O2 -pipe -g -feliminate-unused-debug-types
QMAKE_CXXFLAGS = -O2 -pipe -g -feliminate-unused-debug-types
QMAKE_LFLAGS = -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
load(qt_config)


3. configure qt (configuration is OK)

# ./configure -v -embedded arm \ -platform qws/linux-x86-g++ \ -xplatform qws/linux-ls1043a-arm-g++ -little-endian \ -prefix /opt/ls1043a/qt-v4.8.7 \ -qt-gfx-linuxfb -qt-gfx-vnc -qt-gfx-qvfb -qt-gfx-transformed -qt-gfx-multiscreen \ -no-largefile -exceptions -no-accessibility -no-qt3support -no-3dnow -no-sse2 -no-cups -no-largefile \ -qt-zlib -svg -webkit -qt-libtiff -qt-libpng -qt-libmng -qt-libjpeg -no-openssl -script \ -multimedia -xmlpatterns -no-nis -no-cups \ -depths all -qt-freetype \ -qt-kbd-linuxinput -qt-mouse-linuxinput \ -nomake "examples docs" \ -qt-mouse-linuxinput \ -confirm-license -opensource -release

4. on make phase, I have got the following errors

g++ -Wl,-rpath-link,/home/ls1043a/projects/qt/qt-everywhere-opensource-src-4.8.7/lib -Wl,-O1 -Wl,-rpath,/opt/ls1043a/qt-v4.8.7/lib -Wl,-rpath,/opt/ls1043a/qt-v4.8.7/lib -o ../../../bin/uic .obj/release-shared-emb-arm/customwidgetsinfo.o .obj/release-shared-emb-arm/databaseinfo.o .obj/release-shared-emb-arm/driver.o .obj/release-shared-emb-arm/treewalker.o .obj/release-shared-emb-arm/ui4.o .obj/release-shared-emb-arm/validator.o .obj/release-shared-emb-arm/cppextractimages.o .obj/release-shared-emb-arm/cppwritedeclaration.o .obj/release-shared-emb-arm/cppwriteicondata.o .obj/release-shared-emb-arm/cppwriteicondeclaration.o .obj/release-shared-emb-arm/cppwriteiconinitialization.o .obj/release-shared-emb-arm/cppwriteincludes.o .obj/release-shared-emb-arm/cppwriteinitialization.o .obj/release-shared-emb-arm/main.o .obj/release-shared-emb-arm/uic.o -L/home/ls1043a/projects/qt/qt-everywhere-opensource-src-4.8.7/src/tools/bootstrap -lbootstrap
make[1]: Leaving directory `/home/ls1043a/projects/qt/qt-everywhere-opensource-src-4.8.7/src/tools/uic'
cd src/corelib/ && make -f Makefile
make[1]: Entering directory `/home/ls1043a/projects/qt/qt-everywhere-opensource-src-4.8.7/src/corelib'
/home/ls1043a/projects/qt/qt-everywhere-opensource-src-4.8.7/bin/moc -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -I../../mkspecs/qws/linux-ls1043a-arm-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-arm animation/qabstractanimation.h -o .moc/release-shared-emb-arm/moc_qabstractanimation.cpp
/opt/fsl-networking/QorIQ-SDK-V1.7/sysroots/i686-fslsdk-linux/usr/bin/aarch64-fsl-linux/aarch64-fsl-linux-g++ -O2 -pipe -g -feliminate-unused-debug-types -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -I../../mkspecs/qws/linux-ls1043a-arm-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-arm -x c++-header -c global/qt_pch.h -o .pch/release-shared-emb-arm/QtCore.gch/c++
/opt/fsl-networking/QorIQ-SDK-V1.7/sysroots/i686-fslsdk-linux/usr/bin/aarch64-fsl-linux/aarch64-fsl-linux-g++ -c -include .pch/release-shared-emb-arm/QtCore -O2 -pipe -g -feliminate-unused-debug-types -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -I../../mkspecs/qws/linux-ls1043a-arm-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-arm -o .obj/release-shared-emb-arm/qabstractanimation.o animation/qabstractanimation.cpp
{standard input}: Assembler messages:
{standard input}:691: Error: unknown mnemonic `swpb' -- `swpb x3,x2,[x1]'
{standard input}:714: Error: unknown mnemonic `swpb' -- `swpb x2,x19,[x1]'
{standard input}:740: Error: unknown mnemonic `swpb' -- `swpb x0,x1,[x20]'
{standard input}:1377: Error: unknown mnemonic `swpb' -- `swpb x0,x2,[x1]'
{standard input}:1400: Error: unknown mnemonic `swpb' -- `swpb x2,x19,[x1]'
{standard input}:1429: Error: unknown mnemonic `swpb' -- `swpb x0,x2,[x20]'
{standard input}:2910: Error: unknown mnemonic `swpb' -- `swpb x0,x2,[x1]'
{standard input}:2933: Error: unknown mnemonic `swpb' -- `swpb x2,x19,[x1]'
{standard input}:2962: Error: unknown mnemonic `swpb' -- `swpb x0,x2,[x20]'
{standard input}:3165: Error: unknown mnemonic `swpb' -- `swpb x2,x20,[x1]'
{standard input}:3193: Error: unknown mnemonic `swpb' -- `swpb x2,x1,[x0]'
{standard input}:3244: Error: unknown mnemonic `swpb' -- `swpb x2,x20,[x1]'
{standard input}:3272: Error: unknown mnemonic `swpb' -- `swpb x2,x1,[x0]'
{standard input}:3330: Error: unknown mnemonic `swpb' -- `swpb x2,x20,[x1]'
{standard input}:3357: Error: unknown mnemonic `swpb' -- `swpb x0,x1,[x19]'
{standard input}:4560: Error: unknown mnemonic `swpb' -- `swpb x2,x0,[x1]'
{standard input}:4583: Error: unknown mnemonic `swpb' -- `swpb x2,x19,[x1]'
{standard input}:4606: Error: unknown mnemonic `swpb' -- `swpb x2,x1,[x20]'
{standard input}:5165: Error: unknown mnemonic `swpb' -- `swpb x2,x0,[x1]'
{standard input}:5188: Error: unknown mnemonic `swpb' -- `swpb x2,x19,[x1]'
{standard input}:5211: Error: unknown mnemonic `swpb' -- `swpb x2,x1,[x20]'
{standard input}:5503: Error: unknown mnemonic `swpb' -- `swpb x2,x1,[x0]'
{standard input}:5525: Error: unknown mnemonic `swpb' -- `swpb x0,x23,[x1]'
{standard input}:5549: Error: unknown mnemonic `swpb' -- `swpb x1,x0,[x21]'
{standard input}:5588: Error: unknown mnemonic `swpb' -- `swpb x2,x1,[x0]'
{standard input}:5610: Error: unknown mnemonic `swpb' -- `swpb x0,x23,[x1]'
{standard input}:5633: Error: unknown mnemonic `swpb' -- `swpb x2,x1,[x21]'
{standard input}:6380: Error: unknown mnemonic `swpb' -- `swpb x2,x1,[x0]'
{standard input}:6404: Error: unknown mnemonic `swpb' -- `swpb x2,x19,[x1]'
{standard input}:6427: Error: unknown mnemonic `swpb' -- `swpb x2,x1,[x21]'
{standard input}:6544: Error: unknown mnemonic `swpb' -- `swpb x2,x1,[x0]'
{standard input}:6569: Error: unknown mnemonic `swpb' -- `swpb x0,x19,[x1]'
{standard input}:6768: Error: unknown mnemonic `swpb' -- `swpb x1,x22,[x2]'
{standard input}:6811: Error: unknown mnemonic `swpb' -- `swpb x2,x1,[x21]'
{standard input}:8105: Error: unknown mnemonic `swpb' -- `swpb x2,x19,[x1]'
{standard input}:8126: Error: unknown mnemonic `swpb' -- `swpb x2,x1,[x20]'
{standard input}:8258: Error: unknown mnemonic `swpb' -- `swpb x2,x19,[x1]'
{standard input}:8279: Error: unknown mnemonic `swpb' -- `swpb x2,x1,[x20]'
{standard input}:8766: Error: unknown mnemonic `swpb' -- `swpb x2,x20,[x1]'
{standard input}:8795: Error: unknown mnemonic `swpb' -- `swpb x2,x1,[x0]'
{standard input}:9109: Error: unknown mnemonic `swpb' -- `swpb x0,x20,[x3]'
{standard input}:9130: Error: unknown mnemonic `swpb' -- `swpb x2,x3,[x0]'
{standard input}:9221: Error: unknown mnemonic `swpb' -- `swpb x0,x20,[x3]'
{standard input}:9242: Error: unknown mnemonic `swpb' -- `swpb x2,x3,[x0]'
{standard input}:9355: Error: unknown mnemonic `swpb' -- `swpb x0,x20,[x3]'
{standard input}:9377: Error: unknown mnemonic `swpb' -- `swpb x3,x0,[x1]'
{standard input}:9533: Error: unknown mnemonic `swpb' -- `swpb x1,x20,[x0]'
{standard input}:9554: Error: unknown mnemonic `swpb' -- `swpb x3,x0,[x1]'
{standard input}:9669: Error: unknown mnemonic `swpb' -- `swpb x0,x20,[x1]'
{standard input}:9690: Error: unknown mnemonic `swpb' -- `swpb x3,x1,[x0]'
{standard input}:9835: Error: unknown mnemonic `swpb' -- `swpb x2,x20,[x1]'
{standard input}:9856: Error: unknown mnemonic `swpb' -- `swpb x3,x1,[x0]'
{standard input}:9951: Error: unknown mnemonic `swpb' -- `swpb x2,x20,[x1]'
{standard input}:9972: Error: unknown mnemonic `swpb' -- `swpb x3,x1,[x0]'
{standard input}:10094: Error: unknown mnemonic `swpb' -- `swpb x2,x20,[x1]'
{standard input}:10123: Error: unknown mnemonic `swpb' -- `swpb x2,x1,[x0]'
{standard input}:10238: Error: unknown mnemonic `swpb' -- `swpb x2,x20,[x1]'
{standard input}:10259: Error: unknown mnemonic `swpb' -- `swpb x2,x1,[x19]'
{standard input}:10635: Error: unknown mnemonic `swpb' -- `swpb x2,x20,[x1]'
{standard input}:10656: Error: unknown mnemonic `swpb' -- `swpb x3,x1,[x0]'
{standard input}:10769: Error: unknown mnemonic `swpb' -- `swpb x2,x20,[x1]'
{standard input}:10790: Error: unknown mnemonic `swpb' -- `swpb x3,x1,[x0]'
{standard input}:10903: Error: unknown mnemonic `swpb' -- `swpb x2,x20,[x1]'
{standard input}:10924: Error: unknown mnemonic `swpb' -- `swpb x3,x1,[x0]'
{standard input}:11130: Error: unknown mnemonic `swpb' -- `swpb x0,x3,[x2]'
{standard input}:11152: Error: unknown mnemonic `swpb' -- `swpb x0,x21,[x2]'
{standard input}:11181: Error: unknown mnemonic `swpb' -- `swpb x0,x4,[x2]'
{standard input}:11554: Error: unknown mnemonic `swpb' -- `swpb x0,x2,[x1]'
{standard input}:11576: Error: unknown mnemonic `swpb' -- `swpb x0,x21,[x1]'
{standard input}:11605: Error: unknown mnemonic `swpb' -- `swpb x0,x3,[x1]'
{standard input}:12635: Error: unknown mnemonic `swpb' -- `swpb x2,x1,[x0]'
{standard input}:12658: Error: unknown mnemonic `swpb' -- `swpb x3,x21,[x2]'
{standard input}:12689: Error: unknown mnemonic `swpb' -- `swpb x2,x1,[x0]'
{standard input}:12738: Error: unknown mnemonic `swpb' -- `swpb x3,x21,[x2]'
{standard input}:12759: Error: unknown mnemonic `swpb' -- `swpb x1,x2,[x0]'
{standard input}:12803: Error: unknown mnemonic `swpb' -- `swpb x3,x21,[x2]'
{standard input}:12823: Error: unknown mnemonic `swpb' -- `swpb x1,x2,[x19]'
make[1]: *** [.obj/release-shared-emb-arm/qabstractanimation.o] Error 1
make[1]: Leaving directory `/home/ls1043a/projects/qt/qt-everywhere-opensource-src-4.8.7/src/corelib'
make: *** [sub-corelib-make_default-ordered] Error 2

Tags (1)
0 Kudos
1 Reply

99 Views
Pavel
NXP TechSupport
NXP TechSupport

We do not have recommendation and experience for QT compiling for the LS1043.

SDK for the i.MX processors supports QT.

Look at information on the following page:

https://lists.yoctoproject.org/listinfo/meta-freescale


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos