Uh oh!
There was an error while loading. Please reload this page.
Fixes for VS preview - #45902
Conversation
Compile crossdac w/o c++latest Disable warning about overriding /TP with /TC
sdmaclea
commented
Dec 10, 2020
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
sdmaclea
commented
Dec 10, 2020
FYI removing |
janvorli
commented
Dec 10, 2020
Hmm, ok, it seems that the function pointers are not considered consts. Never mind. |
vitek-karas
commented
Dec 10, 2020
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. |
vitek-karas
commented
Dec 10, 2020
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' |
sdmaclea
commented
Dec 10, 2020
@vitek-karas I wonder if the weird errors are |
sdmaclea
commented
Dec 10, 2020
/cc @jkoritzinsky |
sdmaclea
commented
Dec 10, 2020
We may want to disable 9025 more globally if it is causing issues until we can fix it properly. |
vitek-karas
commented
Dec 10, 2020
Non-ninja build works just fine |
agocke
commented
Dec 11, 2020
Confirmed, this fixes the dogfood problems. I say we merge this and handle the Ninja DAC failures separately. |
am11
commented
Dec 11, 2020
@vitek-karas, is it possible that error is logged from Not sure what role-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. |
vitek-karas
commented
Dec 11, 2020
I ran |
vitek-karas
commented
Dec 11, 2020
Tried once more - still fails as mentioned above. |
janvorli
commented
Dec 11, 2020
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? |
jkoritzinsky
commented
Dec 11, 2020
Yes that command should work. But due to the Dac issue he may have to specify specific subsets. |
AntonLapounov
commented
Mar 3, 2021
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