New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fatal error C1900: IL mismatch between "P1" version #738
Comments
After updating the compiler, PH got together, I check the rest - I'm afraid that there may be problems with linking in SumatraPDF and Rufus - assembly scripts are also used there ... |
You can recompile \tools\thirdparty\thirdparty.sln or upgrade visual studio. |
I upgrade MSVS up to v16.8.1, but have slow compile speed - v16.7.7 compile time ~ 1 min 39 sec, v16.8.1 compile time ~ 3 min 21 sec in some system: In to MS TechNet have question Visual Studio 2019 version 16.8.0 very slow to build. VBCSCompiler stuck? Previous version fine with same solution. and according to the description of the Migrations Overview, it turns out that the new compiler checks the probability of data loss each time before performing the operation. Maybe you should think about how to eliminate these delays, for example, by writing CustomBuildTools not in .NET, but in C/C++ or use simple scripts build system exluded .NET? |
We don't use the VB and C# compilers since the project is C
Those bug reports are for MSBuild included with Visual Studio which is not the same as our CustomBuildTool which only launches MSBuild.
The project is AOT compiled and rewriting the entire thing won't solve the issue with MSBuild... You have to wait for Microsoft to fix the issue or rollback to an older version of Visual Studio. |
Got it. The only thing that I have not yet figured out is how to roll back the compiler on the server without breaking the entire build system, but for now I have to endure these arts of "students" from M$ ... |
When trying to build in VC++ v16.7.7 v3.0.8120.3593 Git-994bb08e received an error message already when building x86:
[ERROR] (1) LIB: fatal error C1900: IL mismatch between "P1" version "20200803" and "P2" version "20190715" [. \Phlib\phlib.vcxproj]
LINK: fatal error LNK1257: failed to generate code [.\Phlib\phlib.vcxproj]
Did I understand correctly that in this case you need to update the compiler to v16.8.1? And then I'm afraid that fresh errors will come out in it ...
The text was updated successfully, but these errors were encountered: