hushanxue / android-lighthouse

Automatically exported from code.google.com/p/android-lighthouse
0 stars 0 forks source link

Compilation error: selected processor does not support `swp r4,r0,[r3] #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. clone latest BogDan's qt/android-lighthouse master branch
2. compile for target android 2.2 with ndk-5

What is the expected output? What do you see instead?

Expect compiled libraries. Instead compilation ends with assembler error in 
src/corelib/kernel/qobject.cpp

/home/jet/android-ndk-r5/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x
86/bin/arm-linux-androideabi-g++ -c -include .pch/release-shared/QtCore 
-Wno-psabi -march=armv5te -mtune=xscale -msoft-float -fpic -mthumb 
-ffunction-sections -funwind-tables -fstack-protector -fno-short-enums 
-DANDROID -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ 
-D__ARM_ARCH_5TE__ -DQT_NO_QWS_TRANSFORMED -Os -g -fomit-frame-pointer 
-fno-strict-aliasing -finline-limit=64 -fvisibility=hidden 
-fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED 
-DQT_NO_CORESERVICES -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE 
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT 
-DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQLIBRARYINFO_EPOCROOT 
-DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -I../../mkspecs/android-g++ -I. 
-I../../include -I../../include/QtCore -I.rcc/release-shared -Iglobal 
-I../../tools/shared -I../3rdparty/harfbuzz/src -I../3rdparty/md5 
-I../3rdparty/md4 -I.moc/release-shared 
-I/home/jet/android-ndk-r5/platforms/android-4/arch-arm/usr/include 
-I/home/jet/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include 
-I/home/jet/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include 
-o .obj/release-shared/qprocess_unix.o io/qprocess_unix.cpp
/home/jet/android-ndk-r5/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x
86/bin/arm-linux-androideabi-g++ -c -include .pch/release-shared/QtCore 
-Wno-psabi -march=armv5te -mtune=xscale -msoft-float -fpic -mthumb 
-ffunction-sections -funwind-tables -fstack-protector -fno-short-enums 
-DANDROID -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ 
-D__ARM_ARCH_5TE__ -DQT_NO_QWS_TRANSFORMED -Os -g -fomit-frame-pointer 
-fno-strict-aliasing -finline-limit=64 -fvisibility=hidden 
-fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED 
-DQT_NO_CORESERVICES -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE 
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT 
-DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQLIBRARYINFO_EPOCROOT 
-DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -I../../mkspecs/android-g++ -I. 
-I../../include -I../../include/QtCore -I.rcc/release-shared -Iglobal 
-I../../tools/shared -I../3rdparty/harfbuzz/src -I../3rdparty/md5 
-I../3rdparty/md4 -I.moc/release-shared 
-I/home/jet/android-ndk-r5/platforms/android-4/arch-arm/usr/include 
-I/home/jet/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include 
-I/home/jet/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include 
-o .obj/release-shared/qobject.o kernel/qobject.cpp
/tmp/ccQOHtKL.s: Assembler messages:
/tmp/ccQOHtKL.s:5465: Error: selected processor does not support `swp 
r4,r0,[r3]'
make[1]: *** [.obj/release-shared/qobject.o] Error 1

What version of the product are you using? On what operating system?

Latest master branch of BogDan's qt/android-lighthouse master branch.
Compiling on Ubuntu 10.04.1 LTS 32-bit.

Original issue reported on code.google.com by jan.vac...@gmail.com on 3 Jan 2011 at 10:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
The same error compiling on Ubuntu 10.10 64-bit

Original comment by paolo.vo...@gmail.com on 3 Jan 2011 at 3:44

GoogleCodeExporter commented 9 years ago
It's an issue on the last commit, please try with a previous version. I'll fix 
it very soon.

Original comment by taipanro...@gmail.com on 3 Jan 2011 at 5:06

GoogleCodeExporter commented 9 years ago
Fixed. Please check latest version

Original comment by taipanro...@gmail.com on 4 Jan 2011 at 5:18