Details
-
Bug
-
Resolution: Won't Do
-
P2: Important
-
None
-
5.14.0
-
None
-
linux gcc v4.8.2
Description
We normally do a static build of Qt on an old platform that uses gcc v4.8.2.
Up until Qt v5.13.2 this was no problem, but Qt v5.14.0 fails on:
Prior to reconfiguration, make sure you remove any leftovers from the previous build.+ make cd qtbase/ && ( test -e Makefile || /<...qt-static>/qtbase/bin/qmake -o Makefile /home/development/qt-everywhere-src-5.14.0/qtbase/qtbase.pro ) && make -f Makefile Info: creating cache file /<...qt-static>/qtbase/.qmake.cache make[1]: Entering directory `/<...qt-static>/qtbase' cd src/ && ( test -e Makefile || /<...qt-static>/qtbase/bin/qmake -o Makefile /home/development/qt-everywhere-src-5.14.0/qtbase/src/src.pro ) && make -f Makefile make[2]: Entering directory `/<...qt-static>/qtbase/src' cd tools/bootstrap/ && ( test -e Makefile || /<...qt-static>/qtbase/bin/qmake -o Makefile /home/development/qt-everywhere-src-5.14.0/qtbase/src/tools/bootstrap/bootstrap.pro ) && make -f Makefile make[3]: Entering directory `/<...qt-static>/qtbase/src/tools/bootstrap' g++ -c -pipe -O2 -fPIC -std=c++11 -fvisibility=hidden -fvisibility-inlines-hidden -ffunction-sections -fdata-sections -fno-exceptions -Wall -Wextra -Wvla -Wno-missing-field-initializers -D_REENTRANT -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_VERSION_STR='"5.14.0"' -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=14 -DQT_VERSION_PATCH=0 -DQT_BOOTSTRAPPED -DQT_NO_CAST_TO_ASCII -DQT_NO_FOREACH -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_BOOTSTRAP_LIB -DQT_BUILDING_QT -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I/home/development/qt-everywhere-src-5.14.0/qtbase/src/tools/bootstrap -I. -I/home/development/qt-everywhere-src-5.14.0/qtbase/include -I/home/development/qt-everywhere-src-5.14.0/qtbase/include/QtCore -I/home/development/qt-everywhere-src-5.14.0/qtbase/include/QtCore/5.14.0 -I/home/development/qt-everywhere-src-5.14.0/qtbase/include/QtCore/5.14.0/QtCore -I/home/development/qt-everywhere-src-5.14.0/qtbase/include/QtXml -I/home/development/qt-everywhere-src-5.14.0/qtbase/include/QtXml/5.14.0 -I/home/development/qt-everywhere-src-5.14.0/qtbase/include/QtXml/5.14.0/QtXml -I/<...qt-static>/qtbase/include -I/<...qt-static>/qtbase/include/QtCore -I/<...qt-static>/qtbase/include/QtXml -I/home/development/qt-everywhere-src-5.14.0/qtbase/mkspecs/linux-g++ -o .obj/qlatincodec.o /home/development/qt-everywhere-src-5.14.0/qtbase/src/corelib/codecs/qlatincodec.cpp g++ -c -pipe -O2 -fPIC -std=c++11 -fvisibility=hidden -fvisibility-inlines-hidden -ffunction-sections -fdata-sections -fno-exceptions -Wall -Wextra -Wvla -Wno-missing-field-initializers -D_REENTRANT -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_VERSION_STR='"5.14.0"' -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=14 -DQT_VERSION_PATCH=0 -DQT_BOOTSTRAPPED -DQT_NO_CAST_TO_ASCII -DQT_NO_FOREACH -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_BOOTSTRAP_LIB -DQT_BUILDING_QT -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I/home/development/qt-everywhere-src-5.14.0/qtbase/src/tools/bootstrap -I. -I/home/development/qt-everywhere-src-5.14.0/qtbase/include -I/home/development/qt-everywhere-src-5.14.0/qtbase/include/QtCore -I/home/development/qt-everywhere-src-5.14.0/qtbase/include/QtCore/5.14.0 -I/home/development/qt-everywhere-src-5.14.0/qtbase/include/QtCore/5.14.0/QtCore -I/home/development/qt-everywhere-src-5.14.0/qtbase/include/QtXml -I/home/development/qt-everywhere-src-5.14.0/qtbase/include/QtXml/5.14.0 -I/home/development/qt-everywhere-src-5.14.0/qtbase/include/QtXml/5.14.0/QtXml -I/<...qt-static>/qtbase/include -I/<...qt-static>/qtbase/include/QtCore -I/<...qt-static>/qtbase/include/QtXml -I/home/development/qt-everywhere-src-5.14.0/qtbase/mkspecs/linux-g++ -o .obj/qtextcodec.o /home/development/qt-everywhere-src-5.14.0/qtbase/src/corelib/codecs/qtextcodec.cpp /home/development/qt-everywhere-src-5.14.0/qtbase/src/corelib/codecs/qtextcodec.cpp: In constructor 'TextCodecsMutexLocker::TextCodecsMutexLocker()': /home/development/qt-everywhere-src-5.14.0/qtbase/src/corelib/codecs/qtextcodec.cpp:112:29: error: use of deleted function 'std::unique_lock<_Mutex>::unique_lock(const std::unique_lock<_Mutex>&) [with _Mutex = QRecursiveMutex]' TextCodecsMutexLocker() {} // required d/t an ICC 19 bug ^ In file included from /home/development/qt-everywhere-src-5.14.0/qtbase/include/QtCore/5.14.0/QtCore/private/../../../../../src/corelib/thread/qlocking_p.h:57:0, from /home/development/qt-everywhere-src-5.14.0/qtbase/include/QtCore/5.14.0/QtCore/private/qlocking_p.h:1, from /home/development/qt-everywhere-src-5.14.0/qtbase/src/corelib/codecs/qtextcodec.cpp:50: /usr/include/c++/4.8.2/mutex:479:7: error: declared here unique_lock(const unique_lock&) = delete; ^ make[3]: *** [.obj/qtextcodec.o] Error 1 make[3]: Leaving directory `/<...qt-static>/qtbase/src/tools/bootstrap' make[2]: *** [sub-bootstrap-make_first] Error 2 make[2]: Leaving directory `/<...qt-static>/qtbase/src' make[1]: *** [sub-src-make_first] Error 2 make[1]: Leaving directory `/<...qt-static>/qtbase' make: *** [module-qtbase-make_first] Error 2 + exit 1
this line was introduced here:
commit a6ffdbe30c49fa1ede0d147531b89d121d00fa94 Author: Marc Mutz <marc.mutz@kdab.com> Date: Mon Oct 7 05:30:54 2019 +0200 QTextCodec: try to work around an ICC 19 bug
Given the minimum requirements I'd expect v4.8.2 to still work
Attachments
Issue Links
- relates to
-
QTBUG-81242 shadowing errors (function arguments shadow other functions' names) on gcc 4.9
-
- Closed
-