Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-15911

qt failed to build locally on ARM platform

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • 4.7.4
    • 4.7.1
    • Build System
    • None
    • Ubuntu10.10
      GenisiEfikaSmartBook(imx51 ARM Cortex A8)
      toolchain: gcc-4.5_4.5.1-7ubuntu2_armel.deb, g++-4.5_4.5.1-7ubuntu2_armel.deb
    • Linux/X11

    Description

      download the qt source code from gitorious by (git clone git://gitorious.org/qt/qt.git)
      run ./configure
      run make

      The build failed with following error message:
      g++ -c -include .pch/release-shared/QtCore -pipe -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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 -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DELF_INTERPRETER=\"/lib/ld-linux.so.3\" -DQLIBRARYINFO_EPOCROOT -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-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 -o .obj/release-shared/qobject.o kernel/qobject.cpp

      {standard input}: Assembler messages:{standard input}

      :1714: Error: selected processor does not support Thumb mode `swp r6,r4,[r3]'

      It seems that the function below needs to check if Thumb mode 'swp' instruction is supported.
      template <typename T>
      Q_INLINE_TEMPLATE T *QBasicAtomicPointer<T>::fetchAndStoreOrdered(T *newValue) //corelib/arch/qatomic_arm.h

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              earthdomain Earth Domain (Inactive)
              jammy.zhou Jammy Zhou
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes