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

Qt5.6 beta x11 QNX: can not build qtbase with configure option -developer-build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.0 RC
    • 5.6.0 Beta
    • QPA
    • x11 QNX
    • QNX

    Description

      qt-enterprise-linux-x64-qnx-5.6.0-beta_300.run or beta src package.

      Install sources (or extract src package), run configure with -developer-build -option (./configure -xplatform qnx-armle-v7-qcc -confirm-license -nomake examples -nomake tests -developer-build -qpa qnx -no-use-gold-linker -opengl es2), build qtbase -> build fails with:
      ...
      qcc -Vgcc_ntoarmv7le -c -mfpu=neon -Wno-psabi -lang-c++ -g -Wc,-std=gnu+0x -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -shared -DQT_NO_CLIPBOARD -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_USING_NAMESPACE -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_USE_SLOG2 -DQT_USE_ICU -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Wall -Wextra -Werror -Woverloaded-virtual -Wshadow -Wundef -Wnon-virtual-dtor -Wpointer-arith -Wformat-security -Wno-long-long -Wno-variadic-macros -pedantic-errors -Wchar-subscripts -I. -I../../include -I../../include/QtCore -I../../include/QtCore/5.6.0 -I../../include/QtCore/5.6.0/QtCore -Iglobal -I../3rdparty/pcre -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I../3rdparty/forkfd -I.moc -I/opt/qnx660/target/qnx6/usr/include -I/opt/qnx660/target/qnx6/usr/include/freetype2 -I../../mkspecs/qnx-armle-v7-qcc -DQT_NO_CAST_TO_ASCII=1 -DQT_NO_CAST_FROM_ASCII=1 -DQT_STRICT_ITERATORS -DQT_NO_URL_CAST_FROM_STRING=1 -DQT_NO_CAST_FROM_BYTEARRAY=1 -DQT_NO_KEYWORDS=1 -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -Dsignals=int -Dslots=int -Demit=public: -Dforeach=public: -Dforever=public: -xc+ animation/qabstractanimation.h -o .obj/header_qabstractanimation.o
      In file included from ../../include/QtCore/qcompilerdetection.h:1:0,
      from ../../include/QtCore/../../src/corelib/global/qglobal.h:74,
      from ../../include/QtCore/qglobal.h:1,
      from ../../include/QtCore/../../src/corelib/global/qnamespace.h:37,
      from ../../include/QtCore/qnamespace.h:1,
      from ../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:41,
      from ../../include/QtCore/qobjectdefs.h:1,
      from ../../include/QtCore/../../src/corelib/kernel/qobject.h:40,
      from ../../include/QtCore/qobject.h:1,
      from animation/qabstractanimation.h:37:
      ../../include/QtCore/../../src/corelib/global/qcompilerdetection.h:934:8: error: "_GLIBCXX_" is not defined [-Werror=undef]
      ../../include/QtCore/../../src/corelib/global/qcompilerdetection.h:946:9: error: "_HAS_CONSTEXPR" is not defined [-Werror=undef]
      cc1plus: all warnings being treated as errors
      cc: /opt/qnx660/host/linux/x86/usr/lib/gcc/arm-unknown-nto-qnx6.6.0eabi/4.7.3/cc1plus error 1
      make[3]: *** [.obj/header_qabstractanimation.o] Error 1
      make[3]: Leaving directory `/home/qt/Downloads/qt-everywhere-enterprise-src-5.6.0-beta_2/qtbase/src/corelib'
      make[2]: *** [sub-corelib-make_first] Error 2
      make[2]: Leaving directory `/home/qt/Downloads/qt-everywhere-enterprise-src-5.6.0-beta_2/qtbase/src'
      make[1]: *** [sub-src-make_first] Error 2
      make[1]: Leaving directory `/home/qt/Downloads/qt-everywhere-enterprise-src-5.6.0-beta_2/qtbase'
      make: *** [module-qtbase] Error 2

      Removing -developer-build from configure options (and adding -release) makes configure & build succeed.

      EDIT:
      Regression: Qt5.5.1 sources can be configured and qtbase build with -developer-build.

      Attachments

        Issue Links

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

          Activity

            People

              rafaelroquetto Rafael Roquetto
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes