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

QT5 failed due to error: invalid directive: '%param' on MSVC

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.0
    • Build System
    • None
    • Windows

    Description

      QT5 build failed due to error: invalid directive: '%param' on MSVC. Could you help look at this? Thanks in advance! We use latest source code form QT5 dev branch. Noted that this issue only found when compiles with unreleased vctoolset, that next release of MSVC will have this behavior.

      Repro steps:
      1. open a clean x86_amd64 prompt
      2. git clone git://code.qt.io/qt/qt5.git D:\QT5\src
      3. cd D:\QT5\src
      4. git checkout dev
      5. perl init-repository
      6. cd ..
      7. set CL=/D_ENABLE_EXTENDED_ALIGNED_STORAGE
      8. configure -developer-build -opensource -release -nomake examples -nomake tests -skip qtwebengine -confirm-license
      9. jom

      Acutal result:

      bison --no-lines --skeleton=yacc.c --defines=release\glslang_tab.h --output=release\glslang_tab.cpp ..\..\..\3rdparty\angle\src\compiler\translator\glslang.y
      ..\\..\\..\\3rdparty\\angle\\src\\compiler\\translator
      glslang.y:54.1-6: error: invalid directive: '%param'
      ..\\..\\..\\3rdparty\\angle\\src\\compiler\\translator
      glslang.y:54.10-24: error: syntax error, unexpected {...}

      Generating Code...
       lib /NOLOGO  /OUT:..\..\..\lib\Qt6Bootstrap.lib @C:\Users\vcntwtt\AppData\Local\Temp\Qt6Bootstrap.lib.10640.54625.jom
      jom: D:\QT5\src\qtbase\src\angle\src\compiler\Makefile.translator.Release [release\glslang_tab.h] Error 1
      jom: D:\QT5\src\qtbase\src\angle\src\compiler\Makefile.translator [release] Error 2
      jom: D:\QT5\src\qtbase\src\angle\src\compiler\Makefile [sub-translator-pro-make_first-ordered] Error 2
      jom: D:\QT5\src\qtbase\src\angle\src\Makefile [sub-compiler-make_first-ordered] Error 2
      jom: D:\QT5\src\qtbase\src\angle\Makefile [sub-src-make_first] Error 2
      jom: D:\QT5\src\qtbase\src\Makefile [sub-angle-make_first] Error 2

      jom: D:\QT5\src\qtbase\Makefile [sub-src-make_first] Error 2
      jom: D:\QT5\src\Makefile [module-qtbase-make_first] Error 2

       

       

       

       

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              quellazhang Quella Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes