Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-8107

QtCreator build fails on ARM (missing cpuid.h)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.7.1
    • Qt Creator 2.6.0-rc, Qt Creator 2.8.0
    • None
    • Mer, Qt5 beta1,
    • a44fe2e4f03fc18ce9c3d050f71fe369916259b8

    Description

      While building QtCreator 2.6.0 rc on ARM I get the following compilation error.

      botan seems to be assuming it only gets built on x86 so fails on arm

      /usr/bin/moc -DQSSH_LIBRARY -DWITH_TESTS -DIDE_LIBRARY_BASENAME=\"lib\" -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DBOTAN_DLL= -DBOTAN_TARGET_OS_HAS_GETTIMEOFDAY -DBOTAN_HAS_ALLOC_MMAP -DBOTAN_HAS_ENTROPY_SRC_DEV_RANDOM -DBOTAN_HAS_ENTROPY_SRC_EGD -DBOTAN_HAS_ENTROPY_SRC_FTW -DBOTAN_HAS_ENTROPY_SRC_UNIX -DBOTAN_HAS_MUTEX_PTHREAD -DBOTAN_HAS_PIPE_UNIXFD_IO -DBOTAN_TARGET_OS_IS_LINUX -DBOTAN_TARGET_OS_HAS_CLOCK_GETTIME -DBOTAN_TARGET_OS_HAS_DLOPEN -DBOTAN_TARGET_OS_HAS_GMTIME_R -DBOTAN_TARGET_OS_HAS_POSIX_MLOCK -DBOTAN_HAS_DYNAMICALLY_LOADED_ENGINE -DBOTAN_HAS_DYNAMIC_LOADER -DBOTAN_BUILD_COMPILER_IS_GCC -DQT_WIDGETS_LIB -DQT_CONCURRENT_LIB -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR=\"/home/abuild/rpmbuild/BUILD/qt-creator-2.6.0-rc-src/src/libs/ssh\" -I/usr/share/qt5/mkspecs/linux-g++ -I. -I../../../src -I../../libs -I/home/abuild/rpmbuild/BUILD/qt-creator-2.6.0-rc-src/tools -I../../plugins -I../3rdparty -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtTest -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I.moc/debug-shared -I.uic sshremoteprocess.h -o .moc/debug-shared/moc_sshremoteprocess.cpp
      ../3rdparty/botan/botan.cpp:46220:21: fatal error: cpuid.h: No such file or directory
      compilation terminated.
      make[3]: *** [.obj/debug-shared/botan.o] Error 1

      botan.h has #define BOTAN_TARGET_CPU_IS_X86_FAMILY

      http://www.ohloh.net/p/qt-creator/commits/200866032

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            vgrade martin brook
            Votes:
            1 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes