Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.15.2
-
None
-
Windows10
VS2019
LLVM 11.0.0
Description
Compiler Environment
Operating System: WIndows10 Enterprise Edition Compilation tool: VS2019 Compile and link: Llvm 11.0.0 Compile command: REM Set up Microsoft Visual Studio 2017, where <arch> is amd64, x86, etc. SET _ROOT=F:\common\qt\source ::SET LLVM_INSTALL_DIR=C:\LLVM ::SET QDOC_USE_STATIC_LIBCLANG=1 SET PATH=%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;%PATH% REM Uncomment the below line when using a git checkout of the source repository REM SET PATH=%_ROOT%\qtrepotools\bin;%PATH% CALL %comspec% /k "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86 10.0.19041.0 -vcvars_ver=14.28.29333 SET _ROOT= configure -silent -static -static-runtime -no-pch -ltcg -optimize-size -debug-and-release -platform win32-clang-msvc -prefix "F:\common\qt\kernel\x86" -qtnamespace "Cry" -confirm-license -opensource -qt-sqlite -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -qt-harfbuzz -nomake examples -nomake tests -no-compile-examples -skip qtwebengine -skip qtdoc -opengl desktop -mp
VS2019 Msvc-Llvm("Llvm & Clang") When compiling QT, the compiler will report an error.
Error at line 382 of JITStubs.cpp
Reason: Clang is not compatible with Msvc assembly, and the compiler judged it as Clang.
Error prompt:
JITStubs.cpp(382,9): error: unexpected token!
call dword ptr [offset @cti_vm_throw@4]
Temporary repair plan:
original:
#if COMPILER(GCC) && CPU(X86)
modify:
#if COMPILER(CLANG) && CPU(X86)
Compile passed!
In addition, please note: the software compiled by Llvm10.0.0 will flash back when open.
X64Dgb debugging is abnormal, and there is an abnormal error with memory address 0 in the rendering part.
The specific reason is unknown