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

Building from git source with latest MSVC/Win 10 SDK failing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.11.2
    • Build System, Other
    • None
    • Windows 7
      Visual Studio Build Tools 2017 15.8.2
      Windows 10 SDK (10.0.17134.0)
    • Windows

    Description

      (Not sure what component to use here.)

      Using:

      • latest 5.11.2 from git (f70c304 of 30 August)
      • Visual Studio Build Tools 2017 15.8.2
      • Windows 10 SDK (10.0.17134.0)
      • env vars set with
        CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" amd64
        

      When I run jom at the top level I get this:

      C:\dev\qt5>CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" amd64
      **********************************************************************
      ** Visual Studio 2017 Developer Command Prompt v15.0
      ** Copyright (c) 2017 Microsoft Corporation
      **********************************************************************
      [vcvarsall.bat] Environment initialized for: 'x64'
      
      jom 1.1.2 - empower your cores
      
              cd qtbase\ && ( if not exist Makefile C:\dev\qt5\qtbase\bin\qmake.exe -o Makefile C:\dev\qt5\qtbase\qtbase.pro ) && C:\dev\jom\jom.exe -f Makefile
              cd src\ && ( if not exist Makefile C:\dev\qt5\qtbase\bin\qmake.exe -o Makefile C:\dev\qt5\qtbase\src\src.pro ) && C:\dev\jom\jom.exe -f Makefile
              cd corelib\ && ( if not exist Makefile.qtzlib C:\dev\qt5\qtbase\bin\qmake.exe -o Makefile.qtzlib C:\dev\qt5\qtbase\src\corelib\qtzlib.pro ) && C:\dev\jom\jom.exe -f Makefil
      e.qtzlib
              C:\dev\jom\jom.exe -f Makefile.qtzlib.Debug all
              cd qmake\ && ( if not exist Makefile.qmake-aux C:\dev\qt5\qtbase\bin\qmake.exe -o Makefile.qmake-aux C:\dev\qt5\qtbase\qmake\qmake-aux.pro ) && C:\dev\jom\jom.exe -f Makefi
      le.qmake-aux
              C:\dev\jom\jom.exe -f Makefile.qmake-aux.Debug
              C:\dev\jom\jom.exe binary
              cd doc\ && ( if not exist Makefile C:\dev\qt5\qtbase\bin\qmake.exe -o Makefile C:\dev\qt5\qtbase\doc\doc.pro ) && C:\dev\jom\jom.exe -f Makefile
              C:\dev\jom\jom.exe -f Makefile.Debug
              C:\dev\jom\jom.exe -f Makefile.qtzlib.Release all
              cd tools\bootstrap\ && ( if not exist Makefile C:\dev\qt5\qtbase\bin\qmake.exe -o Makefile C:\dev\qt5\qtbase\src\tools\bootstrap\bootstrap.pro ) && C:\dev\jom\jom.exe -f Ma
      kefile
              C:\dev\jom\jom.exe -f Makefile.Release
              cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -O2 -MD -std:c++17 -utf-8 /wd4530 /wd4577 -MP
       -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_VERSION_STR="\"5.11.2\"" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=11 -
      DQT_VERSION_PATCH=2 -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 -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -
      DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DNDEBUG -I. -I..\..\3rdparty\zlib\src -I..\..\..\include -I..\..\..\include\QtCore -I..\..\..\include\QtCore\5.11.2 -I..\..\..\include\QtCore\5.11.
      2\QtCore -I..\..\..\include\QtXml -I..\..\..\include\QtXml\5.11.2 -I..\..\..\include\QtXml\5.11.2\QtXml -Itmp -I..\..\..\mkspecs\win32-msvc -Fo.obj\release\ @C:\Users\ADMINI~1\AppD
      ata\Local\Temp\qrandom.obj.8740.93.jom
      qrandom.cpp
      C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.15.26726\include\type_traits(1271): error C2338: You've instantiated std::aligned_storage<Len, Align
      > with an extended alignment (in other words, Align > alignof(max_align_t)). Before VS 2017 15.8, the member type would non-conformingly have an alignment of only alignof(max_align
      _t). VS 2017 15.8 was fixed to handle this correctly, but the fix inherently changes layout and breaks binary compatibility (*only* for uses of aligned_storage with extended alignm
      ents). Please define either (1) _ENABLE_EXTENDED_ALIGNED_STORAGE to acknowledge that you understand this message and that you actually want a type with an extended alignment, or (2
      ) _DISABLE_EXTENDED_ALIGNED_STORAGE to silence this message and get the old non-conformant behavior.
      C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.15.26726\include\type_traits(1291): note: see reference to class template instantiation 'std::_Align
      ed<5004,64,double,false>' being compiled
      C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.15.26726\include\type_traits(1298): note: see reference to class template instantiation 'std::_Align
      ed<5004,64,int,false>' being compiled
      C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.15.26726\include\type_traits(1305): note: see reference to class template instantiation 'std::_Align
      ed<5004,64,short,false>' being compiled
      C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.15.26726\include\type_traits(1312): note: see reference to class template instantiation 'std::_Align
      ed<5004,64,char,false>' being compiled
      ..\..\corelib\global\qrandom.cpp(402): note: see reference to class template instantiation 'std::aligned_storage<5004,64>' being compiled
      jom: C:\dev\qt5\qtbase\src\tools\bootstrap\Makefile.Release [.obj\release\qrandom.obj] Error 2
              cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -O2 -MD -std:c++17 -utf-8 /wd4530 /wd4577 -MP
       -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_VERSION_STR="\"5.11.2\"" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=11 -
      DQT_VERSION_PATCH=2 -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 -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -
      DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DNDEBUG -I. -I..\..\3rdparty\zlib\src -I..\..\..\include -I..\..\..\include\QtCore -I..\..\..\include\QtCore\5.11.2 -I..\..\..\include\QtCore\5.11.
      2\QtCore -I..\..\..\include\QtXml -I..\..\..\include\QtXml\5.11.2 -I..\..\..\include\QtXml\5.11.2\QtXml -Itmp -I..\..\..\mkspecs\win32-msvc -Fo.obj\release\ @C:\Users\ADMINI~1\AppD
      ata\Local\Temp\qloggingcategory.obj.8740.171.jom
      qloggingcategory.cpp
      qloggingregistry.cpp
      qfilesystemengine_win.cpp
              cd 3rdparty\pcre2\ && ( if not exist Makefile C:\dev\qt5\qtbase\bin\qmake.exe -o Makefile C:\dev\qt5\qtbase\src\3rdparty\pcre2\pcre2.pro ) && C:\dev\jom\jom.exe -f Makefile
      
              C:\dev\jom\jom.exe -f Makefile.Debug all
              C:\dev\jom\jom.exe -f Makefile.Release all
      jom: C:\dev\qt5\qtbase\src\tools\bootstrap\Makefile [release] Error 2
      jom: C:\dev\qt5\qtbase\src\Makefile [sub-bootstrap-make_first] Error 2
      jom: C:\dev\qt5\qtbase\Makefile [sub-src-make_first] Error 2
      jom: C:\dev\qt5\Makefile [module-qtbase-make_first] Error 2
      Press any key to continue . . .
      

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            asm Andy M
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes