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

QtBase doesn't build with ICC 19

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.14.0 Beta2
    • 5.14
    • None
    • openSUSE 15.0 with ICC 19

    Description

      Building with ICC 19 causes build failures as follows:

      agent:2019/09/27 08:31:44 build.go:215: icc -c -O0 -g -fPIC -fvisibility=hidden -w -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DPCRE2_CODE_UNIT_WIDTH=16 -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DHAVE_CONFIG_H -DQT_NO_DYNAMIC_CAST -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I. -Isrc -I/home/qt/openssl-1.1.1b/include -I../../../mkspecs/linux-icc-64 -o .obj/pcre2_xclass.o src/pcre2_xclass.c
      agent:2019/09/27 08:31:44 build.go:215: ../../corelib/codecs/qtextcodec.cpp(171): error #854: const variable "locker" requires an initializer -- class "TextCodecsMutexLocker" has no user-provided default constructor
      agent:2019/09/27 08:31:44 build.go:215:           const TextCodecsMutexLocker locker;
      agent:2019/09/27 08:31:44 build.go:215:                                       ^
      agent:2019/09/27 08:31:44 build.go:215: 
      agent:2019/09/27 08:31:44 build.go:215: ../../corelib/codecs/qtextcodec.cpp(486): error #854: const variable "locker" requires an initializer -- class "TextCodecsMutexLocker" has no user-provided default constructor
      agent:2019/09/27 08:31:44 build.go:215:       const TextCodecsMutexLocker locker;
      agent:2019/09/27 08:31:44 build.go:215:                                   ^
      agent:2019/09/27 08:31:44 build.go:215: 
      agent:2019/09/27 08:31:44 build.go:215: ../../corelib/codecs/qtextcodec.cpp(510): error #854: const variable "locker" requires an initializer -- class "TextCodecsMutexLocker" has no user-provided default constructor
      agent:2019/09/27 08:31:44 build.go:215:       const TextCodecsMutexLocker locker;
      agent:2019/09/27 08:31:44 build.go:215:                                   ^
      agent:2019/09/27 08:31:44 build.go:215: 
      agent:2019/09/27 08:31:44 build.go:215: ../../corelib/codecs/qtextcodec.cpp(543): error #854: const variable "locker" requires an initializer -- class "TextCodecsMutexLocker" has no user-provided default constructor
      agent:2019/09/27 08:31:44 build.go:215:       const TextCodecsMutexLocker locker;
      agent:2019/09/27 08:31:44 build.go:215:                                   ^
      agent:2019/09/27 08:31:44 build.go:215: 
      agent:2019/09/27 08:31:44 build.go:215: ../../corelib/codecs/qtextcodec.cpp(587): error #854: const variable "locker" requires an initializer -- class "TextCodecsMutexLocker" has no user-provided default constructor
      agent:2019/09/27 08:31:44 build.go:215:       const TextCodecsMutexLocker locker;
      agent:2019/09/27 08:31:44 build.go:215:                                   ^
      agent:2019/09/27 08:31:44 build.go:215: 
      agent:2019/09/27 08:31:44 build.go:215: ../../corelib/codecs/qtextcodec.cpp(633): error #854: const variable "locker" requires an initializer -- class "TextCodecsMutexLocker" has no user-provided default constructor
      agent:2019/09/27 08:31:44 build.go:215:       const TextCodecsMutexLocker locker;
      agent:2019/09/27 08:31:44 build.go:215:                                   ^
      agent:2019/09/27 08:31:44 build.go:215: 
      agent:2019/09/27 08:31:44 build.go:215: ../../corelib/codecs/qtextcodec.cpp(665): error #854: const variable "locker" requires an initializer -- class "TextCodecsMutexLocker" has no user-provided default constructor
      agent:2019/09/27 08:31:44 build.go:215:       const TextCodecsMutexLocker locker;
      agent:2019/09/27 08:31:44 build.go:215:                                   ^
      agent:2019/09/27 08:31:44 build.go:215: 
      agent:2019/09/27 08:31:44 build.go:215: make[2]: Leaving directory '/home/qt/work/qt/qtbase/qmake'
      agent:2019/09/27 08:31:44 build.go:215: make[1]: Leaving directory '/home/qt/work/qt/qtbase/qmake'
      

      ICC 19 can't be built yet in production, so this log is only from my personal instance of Coin.

      Attachments

        Issue Links

          Activity

            People

              mmutz Marc Mutz
              tosaraja Tony Sarajärvi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: