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

Qt Creator cannot be built on 32-bit platforms

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • Qt Creator 4.8.2
    • Building Qt Creator
    • None
    • Adélie Linux 1.0-BETA3 (experimental build)
      GCC 8.3.0
      Binutils 2.32
      LLVM 7.0.1
    • Linux/X11

    Description

      On both 32-bit Intel (x86) and 32-bit PowerPC (ppc), the following error occurs while attempting to build the "clangformat" plugin for Qt Creator 4.8.2:

      g++ -c -pipe -O2 -ggdb -mcpu=G3 -fno-omit-frame-pointer -mfpu=dp_full -g -Wno-noexcept-type -Wno-class-memaccess -fno -fvisibility-inlines-hidden -std=c+1y -ffunction-sections -fdata-sections -DNDEBUG -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_STDC_CONSTANT_MACROS -DSTDC_FORMAT_MACROS -D_STDC_LIMIT_MACROS -g -std=gnu1y -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wno-long-long -Wno-maybe-uninitialized -Wno-class-memaccess -Wdelete-non-virtual-dtor -Wno-comment -D_REENTRANT -fPIC -DWITH_TESTS -D'RELATIVE_PLUGIN_PATH="../lib/qtcreator/plugins"' -D'RELATIVE_LIBEXEC_PATH="../libexec/qtcreator"' -D'RELATIVE_DATA_PATH="../share/qtcreator"' -D'RELATIVE_DOC_PATH="../share/doc/qtcreator"' -DIDE_LIBRARY_BASENAME=\"lib\" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_DISABLE_DEPRECATED_BEFORE=0x050900 -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DCLANG_VERSION=\"7.0.1\" -D"CLANG_RESOURCE_DIR=\"/usr/lib/llvm7/lib/clang/7.0.1/include\"" -D"CLANG_BINDIR=\"/usr/lib/llvm7/bin\"" -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CONCURRENT_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/usr/src/packages/user/qt-creator/src/qt-creator-opensource-src-4.8.2/src/plugins/clangformat"' -I../../../src -I../../../src -I../../libs -I/usr/src/packages/user/qt-creator/src/qt-creator-opensource-src-4.8.2/tools -I../../plugins -I../../libs -I../../libs/3rdparty -I. -I/usr/lib/llvm7/include -isystem /usr/include/QtWidgets -isystem /usr/include/QtGui -isystem /usr/include/QtTest -isystem /usr/include/QtConcurrent -isystem /usr/include/QtNetwork -isystem /usr/include/QtCore -I.moc/debug-shared -isystem /usr/include/libdrm -I.uic -I/usr/lib/qt5/mkspecs/linux-g+ -o .obj/debug-shared/clangformatconfigwidget.o clangformatconfigwidget.cpp
      g++: error: unrecognized command line option ‘-fno’
      make: *** [Makefile:529: .obj/debug-shared/clangformatconfigwidget.o] Error 1

      The phrase "fno" does not appear in any other build file other than the Makefile in the clangformat directory. Both architectures use "-fno-omit-frame-pointer" to aide in producing usable backtraces for debug builds.

      PPC:

      1. Command: /usr/bin/qmake o Makefile clangformat.pro 'QMAKE_CFLAGS += -O2 -ggdb -mcpu=G3 -fno-omit-frame-pointer -mfpu=dp_full -g' 'QMAKE_CXXFLAGS += -O2 -ggdb -mcpu=G3 -fno-omit-frame-pointer -mfpu=dp_full -g' 'QMAKE_LFLAGS += -Wl,-as-needed' 'QMAKE_LIBS += -lexecinfo'

      x86:

      1. Command: /usr/bin/qmake o Makefile clangformat.pro 'QMAKE_CFLAGS += -O2 -ggdb -march=pentium-mmx -mtune=pentium-m -fno-omit-frame-pointer -g' 'QMAKE_CXXFLAGS += -O2 -ggdb -march=pentium-mmx -mtune=pentium-m -fno-omit-frame-pointer -g' 'QMAKE_LFLAGS += -Wl,-as-needed' 'QMAKE_LIBS += -lexecinfo'

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            awilfox A. Wilcox
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes