-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Fixes for VS preview #45902
Fixes for VS preview #45902
Conversation
Compile crossdac w/o c++latest Disable warning about overriding /TP with /TC
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
FYI removing
|
Hmm, ok, it seems that the function pointers are not considered consts. Never mind. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
I tried building the first version of this and it still fails: CMake Error at pal/src/libunwind/src/CMakeLists.txt:345 (set_source_files_properties):
set_source_files_properties called with incorrect number of arguments. |
I fetched the latest and now it fails with this really weird: FAILED: dlls/mscoree/coreclr/inject_debug_resources.timestamp
dlls\mscoree\coreclr\CMakeFiles\inject_debug_resources.timestamp-20cf953.bat 247c0b8ffd5ac623
Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29617 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
daccess.cpp
C:\Program Files\dotnet
The application to execute does not exist: 'F:/dotnet/runtime2/artifacts/bin/coreclr/Linux.x64.Debug/DacTableGen/DacTableGen.dll' I don't see anything else in the log which would indicate failure. [151/1680] Building CXX object jit\static\CMakeFiles\clrjit_obj.dir\__\disasm.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4' |
@vitek-karas I wonder if the weird errors are |
/cc @jkoritzinsky |
We may want to disable 9025 more globally if it is causing issues until we can fix it properly. |
Non-ninja build works just fine |
Confirmed, this fixes the dogfood problems. I say we merge this and handle the Ninja DAC failures separately. |
@vitek-karas, is it possible that error is logged from
-ninja might be playing; but building without -ninja first and then with -ninja without -clean / deleting artifacts directory could be leaving the artifacts\obj directory is this weird state. If you haven't already tried, maybe delete the artifacts directory again and try building with -ninja to see if it succeeds.
|
I ran |
Tried once more - still fails as mentioned above. |
I can also see that ninja generates obj files into artifacts\nmakeobj\windows.x64.Debug instead of artifacts\obj\coreclr\windows.x64.Checked\src. I think that should be changed to match the previous way. |
@hoyosjs Mentioned that it was a known and deferred issue that ninja couldn't be used to build the crossdac. @jkoritzinsky Is the command @vitek-karas shows above correct for anually building? |
Yes that command should work. But due to the Dac issue he may have to specify specific subsets. |
It is not possible to disable D* warnings. I see 10 identical warnings for
|
Compile crossdac w/o c++latest
Disable warning about overriding /TP with /TC