Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt-4.7.3: unknown mnemonic `swpb' -- `swpb x0,x19,[x1]'
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 3.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    debian
    wrote on last edited by
    #1

    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.

    D 1 Reply Last reply
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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)?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      D 1 Reply Last reply
      1
      • jsulmJ jsulm

        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)?

        D Offline
        D Offline
        debian
        wrote on last edited by
        #3

        @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]'
        ..........
        
        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          The last one is 4.8.7

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • D debian

            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.

            D Offline
            D Offline
            debian
            wrote on last edited by
            #5

            https://anonscm.debian.org/cgit/pkg-kde/qt/qt4-x11.git/tree/debian/patches/aarch64_arm64_qatomic_support.patch

            1 Reply Last reply
            1

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved