Qt-4.7.3: unknown mnemonic `swpb' -- `swpb x0,x19,[x1]'



  • Hello!
    I try build Qt-4.7.3 for Odriod-C2 board with Linaro toolchain (gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux).
    I create qmake.conf in mkspecs/qws/linux-amlogic-g++ directory and configure.
    Unfortunately make exit with error, follow make output:

     Entering directory '/tmp/qt/src/corelib'
    aarch64-linux-gnu-g++ -c -pipe -mcpu=cortex-a53 -I/amlogic/include -I/amlogic/include/directfb -fno-exceptions -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_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DELF_INTERPRETER=\"/lib64/ld-linux-x86-64.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-amlogic-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -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}:80: Error: unknown mnemonic `swpb' -- `swpb x0,x19,[x1]'
    {standard input}:91: Error: unknown mnemonic `swpb' -- `swpb x1,x19,[x2]'
    {standard input}:105: Error: unknown mnemonic `swpb' -- `swpb x0,x1,[x20]'
    .............
    {standard input}:3435: Error: unknown mnemonic `swpb' -- `swpb x2,x21,[x3]'
    {standard input}:3448: Error: unknown mnemonic `swpb' -- `swpb x2,x1,[x20]'
    Makefile:6478: recipe for target '.obj/release-shared-emb-arm/qabstractanimation.o' failed
    make[1]: *** [.obj/release-shared-emb-arm/qabstractanimation.o] Error 1
    make[1]: Leaving directory '/tmp/qt/src/corelib'
    Makefile:199: recipe for target 'sub-corelib-make_default-ordered' failed
    make: *** [sub-corelib-make_default-ordered] Error 2
    

    How can I solve this problem?
    Thank you and excuse my bad english.


  • Moderators

    swpb seems to be legacy (see http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dht0008a/CJHBGBBJ.html).
    Maybe you should try with a more recent Qt 4 version (4.8.6 was the latest I think)?



  • @jsulm thank you, unfortunately on qt-4.8.6 same result

    aarch64-linux-gnu-g++ -c -pipe -mcpu=cortex-a53 -I/amlogic/include -fno-exceptions -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=\"/lib64/ld-linux-x86-64.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-amlogic-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-arm -o .obj/release-shared-emb-arm/qtconcurrentiteratekernel.o concurrent/qtconcurrentiteratekernel.cpp
    {standard input}: Assembler messages:
    {standard input}:110: Error: unknown mnemonic `swpb' -- `swpb x1,x19,[x2]'
    {standard input}:123: Error: unknown mnemonic `swpb' -- `swpb x2,x24,[x1]'
    ..........
    

  • Lifetime Qt Champion

    Hi,

    The last one is 4.8.7




Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.