[8.0] Failing to build native components
The release/8.0 branch is currently hitting this build error in multiple PRs like this arcade codeflow: https://github.com/dotnet/runtime/pull/94792
I see at least 3 different error messages.
dotnet-linker windows-x64 release Runtime_Release
- Build link: https://dev.azure.com/dnceng-public/public/_build/results?buildId=471724&view=logs&j=a1e5d03d-3f6b-54a5-7792-bf65a0588cb6&t=808b5adf-5702-5a69-c5d7-ed98382daf86&l=5556
- Output:
...
Processing C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um\oaidl.acf
oaidl.acf
Processing C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um\ocidl.acf
ocidl.acf
waiting for D:/a/_work/1/s/artifacts/obj/win-x64.Release/corehost/test/typelibs\dlldata.c ...
ninja: build stopped: subcommand failed.
Failed to generate native component build project!
D:\a\_work\1\s\src\native\corehost\corehost.proj(159,5): error MSB3073: The command ""D:\a\_work\1\s\src\native\corehost\build.cmd" Release x64 commit eecd22f78b4b093807d3c73d5b4f3d777c841338 outputrid win-x64 portable incremental-native-build rootdir D:\a\_work\1\s\ runtimeflavor CoreCLR runtimeconfiguration Release" exited with code 1.
##[error]src\native\corehost\corehost.proj(159,5): error MSB3073: (NETCORE_ENGINEERING_TELEMETRY=Build) The command ""D:\a\_work\1\s\src\native\corehost\build.cmd" Release x64 commit eecd22f78b4b093807d3c73d5b4f3d777c841338 outputrid win-x64 portable incremental-native-build rootdir D:\a\_work\1\s\ runtimeflavor CoreCLR runtimeconfiguration Release" exited with code 1.
Build FAILED.
runtime CoreCLR Product Build windows x64 checked
- Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=471722&view=logs&j=39a07da7-60a1-56aa-621d-b74991bb2f3d&t=005b30f4-5195-556f-da09-99fc093fc17c
- Output:
...
[244/367] Building CXX object Interop\IJW\IjwNativeCallingManagedDll\CMakeFiles\IjwNativeCallingManagedDll.dir\IjwNativeCallingManagedDll.cpp.obj
[245/367] Building CXX object Interop\COM\ComWrappers\WeakReference\CMakeFiles\WeakReferenceNative.dir\WeakReferenceNative.cpp.obj
[246/367] Building CXX object Interop\COM\ComWrappers\MockReferenceTrackerRuntime\CMakeFiles\MockReferenceTrackerRuntime.dir\ReferenceTrackerRuntime.cpp.obj
[247/367] Linking CXX shared library JIT\Directed\Convert\out_of_range_fp_to_int_conversionsnative.dll
[248/367] Linking CXX shared library Interop\IJW\ijwhostmock\ijwhost.dll
ninja: build stopped: subcommand failed.
BUILDTEST: Error: native test build failed.
##[error]Cmd.exe exited with code '1'.
runtime windows-arm64 Release NativeAOT_Libraries
- Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=471722&view=logs&j=b0477d29-a3e8-5063-350d-e2bc4b70853a&t=ecd96a75-c556-5b24-6f26-fbed9e19b27d
- Output:
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(22): note: This diagnostic occurred while importing type 'System::Decimal' from assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[187/206] Building CXX object comhost\CMakeFiles\comhost.dir\__\hostmisc\longfile.windows.cpp.obj
[188/206] Linking CXX executable test\nativehost\nativehost.exe
[189/206] Building CXX object comhost\CMakeFiles\comhost.dir\__\hostmisc\pal.windows.cpp.obj
[190/206] Building CXX object ijwhost\CMakeFiles\ijwhost.dir\ijwthunk.cpp.obj
[191/206] Building CXX object ijwhost\CMakeFiles\ijwhost.dir\ijwhost.cpp.obj
ninja: build stopped: subcommand failed.
Failed to generate native component build project!
D:\a\_work\1\s\src\native\corehost\corehost.proj(159,5): error MSB3073: The command ""D:\a\_work\1\s\src\native\corehost\build.cmd" Release arm64 commit eecd22f78b4b093807d3c73d5b4f3d777c841338 outputrid win-arm64 portable incremental-native-build rootdir D:\a\_work\1\s\ runtimeflavor CoreCLR runtimeconfiguration Release" exited with code 1.
##[error]src\native\corehost\corehost.proj(159,5): error MSB3073: (NETCORE_ENGINEERING_TELEMETRY=Build) The command ""D:\a\_work\1\s\src\native\corehost\build.cmd" Release arm64 commit eecd22f78b4b093807d3c73d5b4f3d777c841338 outputrid win-arm64 portable incremental-native-build rootdir D:\a\_work\1\s\ runtimeflavor CoreCLR runtimeconfiguration Release" exited with code 1.
Build FAILED.
D:\a\_work\1\s\src\native\corehost\corehost.proj(159,5): error MSB3073: The command ""D:\a\_work\1\s\src\native\corehost\build.cmd" Release arm64 commit eecd22f78b4b093807d3c73d5b4f3d777c841338 outputrid win-arm64 portable incremental-native-build rootdir D:\a\_work\1\s\ runtimeflavor CoreCLR runtimeconfiguration Release" exited with code 1.
0 Warning(s)
1 Error(s)
Time Elapsed 00:11:53.21
Build failed with exit code 1. Check errors above.
{
"ErrorMessage": "ninja: build stopped: subcommand failed.",
"BuildRetry": false,
"ErrorPattern": "",
"ExcludeConsoleLog": true
}
Known issue validation
Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=471724
Error message validated: ninja: build stopped: subcommand failed.
Result validation: :white_check_mark: Known issue matched with the provided build.
Validation performed at: 11/16/2023 2:08:57 AM UTC
Report
| Build | Definition | Step Name | Console log | Pull Request |
|---|---|---|---|---|
| 562502 | dotnet/runtime | Build CLR and Libraries | Log | |
| 562498 | dotnet/runtime | Build CLR and Libraries | Log | |
| 562499 | dotnet/runtime | Build CLR and Libraries | Log | |
| 562500 | dotnet/runtime | Build CLR and Libraries | Log | |
| 561871 | dotnet/runtime | Build CLR and Libraries | Log | |
| 561870 | dotnet/runtime | Build CLR and Libraries | Log | |
| 561872 | dotnet/runtime | Build CLR and Libraries | Log | |
| 561873 | dotnet/runtime | Build CLR and Libraries | Log | |
| 561765 | dotnet/runtime | Build CoreCLR Runtime | Log | dotnet/runtime#98261 |
| 561769 | dotnet/runtime | Build CoreCLR JIT | Log | dotnet/runtime#98261 |
| 561768 | dotnet/runtime | Build CoreCLR JIT | Log | dotnet/runtime#98261 |
| 561767 | dotnet/runtime | Build product | Log | dotnet/runtime#98261 |
| 561766 | dotnet/runtime | Build product | Log | dotnet/runtime#98261 |
| 561509 | dotnet/runtime | Build CLR and Libraries | Log | |
| 561508 | dotnet/runtime | Build CLR and Libraries | Log | |
| 561511 | dotnet/runtime | Build CLR and Libraries | Log | |
| 561510 | dotnet/runtime | Build CLR and Libraries | Log | |
| 561175 | dotnet/runtime | Build product | Log | dotnet/runtime#98250 |
| 560760 | dotnet/runtime | Build product | Log | dotnet/runtime#98118 |
| 560759 | dotnet/runtime | Build product | Log | dotnet/runtime#98118 |
| 560082 | dotnet/runtime | Build CLR and Libraries | Log | |
| 560081 | dotnet/runtime | Build CLR and Libraries | Log | |
| 560077 | dotnet/runtime | Build CLR and Libraries | Log | |
| 560078 | dotnet/runtime | Build CLR and Libraries | Log | |
| 559517 | dotnet/runtime | Build product | Log | dotnet/runtime#97096 |
| 559207 | dotnet/runtime | Build CoreCLR Runtime | Log | dotnet/runtime#98189 |
| 559209 | dotnet/runtime | Build product | Log | dotnet/runtime#98189 |
| 559104 | dotnet/runtime | Build product | Log | dotnet/runtime#98077 |
| 558520 | dotnet/runtime | Build CLR and Libraries | Log | |
| 558519 | dotnet/runtime | Build CLR and Libraries | Log | |
| 558523 | dotnet/runtime | Build CLR and Libraries | Log | |
| 558524 | dotnet/runtime | Build CLR and Libraries | Log | |
| 558495 | dotnet/runtime | Build product | Log | dotnet/runtime#98154 |
| 557841 | dotnet/runtime | Build product | Log | dotnet/runtime#98077 |
| 557670 | dotnet/runtime | Build product | Log | dotnet/runtime#97789 |
| 557360 | dotnet/runtime | Build product | Log | dotnet/runtime#98118 |
| 556932 | dotnet/runtime | Build CLR and Libraries | Log | |
| 556926 | dotnet/runtime | Build CLR and Libraries | Log | |
| 556933 | dotnet/runtime | Build CLR and Libraries | Log | |
| 556927 | dotnet/runtime | Build CLR and Libraries | Log | |
| 555832 | dotnet/runtime | Build CoreCLR JIT | Log | dotnet/runtime#98048 |
| 555831 | dotnet/runtime | Build CoreCLR JIT | Log | dotnet/runtime#98048 |
| 555828 | dotnet/runtime | Build CoreCLR Runtime | Log | dotnet/runtime#98048 |
| 555829 | dotnet/runtime | Build product | Log | dotnet/runtime#98048 |
| 555830 | dotnet/runtime | Build product | Log | dotnet/runtime#98048 |
| 555639 | dotnet/runtime | Build CoreCLR JIT | Log | dotnet/runtime#98048 |
| 555637 | dotnet/runtime | Build product | Log | dotnet/runtime#98048 |
| 555638 | dotnet/runtime | Build product | Log | dotnet/runtime#98048 |
| 555004 | dotnet/runtime | Build CLR and Libraries | Log | |
| 555005 | dotnet/runtime | Build CLR and Libraries | Log | |
| 555001 | dotnet/runtime | Build CLR and Libraries | Log | |
| 555000 | dotnet/runtime | Build CLR and Libraries | Log | |
| 554412 | dotnet/runtime | Build product | Log | dotnet/runtime#97959 |
| 554414 | dotnet/runtime | Build product | Log | dotnet/runtime#97959 |
| 2370774 | dotnet-runtime | Build product | Log | |
| 554396 | dotnet/runtime | Build product | Log | dotnet/runtime#97784 |
| 554398 | dotnet/runtime | Build product | Log | dotnet/runtime#97784 |
| 554389 | dotnet/runtime | Build product | Log | dotnet/runtime#98006 |
| 554383 | dotnet/runtime | Build product | Log | dotnet/runtime#98008 |
| 554368 | dotnet/runtime | Build CoreCLR Runtime | Log | dotnet/runtime#97234 |
| 554380 | dotnet/runtime | Build product | Log | dotnet/runtime#97487 |
| 554370 | dotnet/runtime | Build product | Log | dotnet/runtime#97234 |
| 554363 | dotnet/runtime | Build product | Log | |
| 554352 | dotnet/runtime | Build product | Log | dotnet/runtime#98007 |
| 554348 | dotnet/runtime | Build product | Log | dotnet/runtime#98007 |
| 554329 | dotnet/runtime | Build product | Log | dotnet/runtime#97972 |
| 554324 | dotnet/runtime | Build product | Log | |
| 554303 | dotnet/runtime | Build product | Log | dotnet/runtime#98006 |
| 554300 | dotnet/runtime | Build product | Log | dotnet/runtime#98006 |
| 2370708 | dotnet-runtime | Build CoreCLR JIT | Log | |
| 2370707 | dotnet-runtime | Build CoreCLR JIT | Log | |
| 554282 | dotnet/runtime | Build CoreCLR JIT | Log | dotnet/runtime#97934 |
| 554278 | dotnet/runtime | Build CoreCLR Runtime | Log | dotnet/runtime#97934 |
| 554281 | dotnet/runtime | Build CoreCLR JIT | Log | dotnet/runtime#97934 |
| 554280 | dotnet/runtime | Build product | Log | dotnet/runtime#97934 |
| 2370697 | dotnet-runtime | Build CoreCLR JIT | Log | |
| 553315 | dotnet/runtime | Build CLR and Libraries | Log | |
| 553318 | dotnet/runtime | Build CLR and Libraries | Log | |
| 553317 | dotnet/runtime | Build CLR and Libraries | Log | |
| 553314 | dotnet/runtime | Build CLR and Libraries | Log | |
| 2369879 | dotnet-runtime | Build CoreCLR Runtime | Log | |
| 552734 | dotnet/runtime | Build CLR and Libraries | Log | |
| 552735 | dotnet/runtime | Build CLR and Libraries | Log | |
| 552731 | dotnet/runtime | Build CLR and Libraries | Log | |
| 552730 | dotnet/runtime | Build CLR and Libraries | Log | |
| 552352 | dotnet/runtime | Build CoreCLR JIT | Log | dotnet/runtime#97901 |
| 552353 | dotnet/runtime | Build CoreCLR JIT | Log | dotnet/runtime#97901 |
| 552349 | dotnet/runtime | Build CoreCLR Runtime | Log | dotnet/runtime#97901 |
| 552350 | dotnet/runtime | Build product | Log | dotnet/runtime#97901 |
| 552247 | dotnet/runtime | Build product | Log | dotnet/runtime#97918 |
| 552210 | dotnet/runtime | Build CLR and Libraries | Log | |
| 552209 | dotnet/runtime | Build CLR and Libraries | Log | |
| 552206 | dotnet/runtime | Build CLR and Libraries | Log | |
| 552205 | dotnet/runtime | Build CLR and Libraries | Log | |
| 552021 | dotnet/runtime | Build CoreCLR JIT | Log | dotnet/runtime#97901 |
| 552018 | dotnet/runtime | Build product | Log | dotnet/runtime#97901 |
| 552017 | dotnet/runtime | Build CoreCLR Runtime | Log | dotnet/runtime#97901 |
| 552020 | dotnet/runtime | Build CoreCLR JIT | Log | dotnet/runtime#97901 |
| 552019 | dotnet/runtime | Build product | Log | dotnet/runtime#97901 |
| 550942 | dotnet/runtime | Build CoreCLR Runtime | Log | dotnet/runtime#97853 |
| Displaying 100 of 273 results |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 4 | 76 | 273 |
Tagging subscribers to this area: @hoyosjs See info in area-owners.md if you want to be subscribed.
Issue Details
Error Blob
{
"ErrorMessage": "",
"BuildRetry": false,
"ErrorPattern": "",
"ExcludeConsoleLog": true
}
Reproduction Steps
The release/8.0 branch is currently hitting this build error in multiple PRs like this arcade codeflow: https://github.com/dotnet/runtime/pull/94792
I see at least 3 different error messages.
dotnet-linker windows-x64 release Runtime_Release
- Build link: https://dev.azure.com/dnceng-public/public/_build/results?buildId=471724&view=logs&j=a1e5d03d-3f6b-54a5-7792-bf65a0588cb6&t=808b5adf-5702-5a69-c5d7-ed98382daf86&l=5556
- Output:
...
Processing C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um\oaidl.acf
oaidl.acf
Processing C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um\ocidl.acf
ocidl.acf
waiting for D:/a/_work/1/s/artifacts/obj/win-x64.Release/corehost/test/typelibs\dlldata.c ...
ninja: build stopped: subcommand failed.
Failed to generate native component build project!
D:\a\_work\1\s\src\native\corehost\corehost.proj(159,5): error MSB3073: The command ""D:\a\_work\1\s\src\native\corehost\build.cmd" Release x64 commit eecd22f78b4b093807d3c73d5b4f3d777c841338 outputrid win-x64 portable incremental-native-build rootdir D:\a\_work\1\s\ runtimeflavor CoreCLR runtimeconfiguration Release" exited with code 1.
##[error]src\native\corehost\corehost.proj(159,5): error MSB3073: (NETCORE_ENGINEERING_TELEMETRY=Build) The command ""D:\a\_work\1\s\src\native\corehost\build.cmd" Release x64 commit eecd22f78b4b093807d3c73d5b4f3d777c841338 outputrid win-x64 portable incremental-native-build rootdir D:\a\_work\1\s\ runtimeflavor CoreCLR runtimeconfiguration Release" exited with code 1.
Build FAILED.
runtime CoreCLR Product Build windows x64 checked
- Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=471722&view=logs&j=39a07da7-60a1-56aa-621d-b74991bb2f3d&t=005b30f4-5195-556f-da09-99fc093fc17c
- Output:
...
[244/367] Building CXX object Interop\IJW\IjwNativeCallingManagedDll\CMakeFiles\IjwNativeCallingManagedDll.dir\IjwNativeCallingManagedDll.cpp.obj
[245/367] Building CXX object Interop\COM\ComWrappers\WeakReference\CMakeFiles\WeakReferenceNative.dir\WeakReferenceNative.cpp.obj
[246/367] Building CXX object Interop\COM\ComWrappers\MockReferenceTrackerRuntime\CMakeFiles\MockReferenceTrackerRuntime.dir\ReferenceTrackerRuntime.cpp.obj
[247/367] Linking CXX shared library JIT\Directed\Convert\out_of_range_fp_to_int_conversionsnative.dll
[248/367] Linking CXX shared library Interop\IJW\ijwhostmock\ijwhost.dll
ninja: build stopped: subcommand failed.
BUILDTEST: Error: native test build failed.
##[error]Cmd.exe exited with code '1'.
runtime windows-arm64 Release NativeAOT_Libraries
- Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=471722&view=logs&j=b0477d29-a3e8-5063-350d-e2bc4b70853a&t=ecd96a75-c556-5b24-6f26-fbed9e19b27d
- Output:
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(22): note: This diagnostic occurred while importing type 'System::Decimal' from assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[187/206] Building CXX object comhost\CMakeFiles\comhost.dir\__\hostmisc\longfile.windows.cpp.obj
[188/206] Linking CXX executable test\nativehost\nativehost.exe
[189/206] Building CXX object comhost\CMakeFiles\comhost.dir\__\hostmisc\pal.windows.cpp.obj
[190/206] Building CXX object ijwhost\CMakeFiles\ijwhost.dir\ijwthunk.cpp.obj
[191/206] Building CXX object ijwhost\CMakeFiles\ijwhost.dir\ijwhost.cpp.obj
ninja: build stopped: subcommand failed.
Failed to generate native component build project!
D:\a\_work\1\s\src\native\corehost\corehost.proj(159,5): error MSB3073: The command ""D:\a\_work\1\s\src\native\corehost\build.cmd" Release arm64 commit eecd22f78b4b093807d3c73d5b4f3d777c841338 outputrid win-arm64 portable incremental-native-build rootdir D:\a\_work\1\s\ runtimeflavor CoreCLR runtimeconfiguration Release" exited with code 1.
##[error]src\native\corehost\corehost.proj(159,5): error MSB3073: (NETCORE_ENGINEERING_TELEMETRY=Build) The command ""D:\a\_work\1\s\src\native\corehost\build.cmd" Release arm64 commit eecd22f78b4b093807d3c73d5b4f3d777c841338 outputrid win-arm64 portable incremental-native-build rootdir D:\a\_work\1\s\ runtimeflavor CoreCLR runtimeconfiguration Release" exited with code 1.
Build FAILED.
D:\a\_work\1\s\src\native\corehost\corehost.proj(159,5): error MSB3073: The command ""D:\a\_work\1\s\src\native\corehost\build.cmd" Release arm64 commit eecd22f78b4b093807d3c73d5b4f3d777c841338 outputrid win-arm64 portable incremental-native-build rootdir D:\a\_work\1\s\ runtimeflavor CoreCLR runtimeconfiguration Release" exited with code 1.
0 Warning(s)
1 Error(s)
Time Elapsed 00:11:53.21
Build failed with exit code 1. Check errors above.
| Author: | carlossanlop |
|---|---|
| Assignees: | - |
| Labels: |
|
| Milestone: | 8.0.x |
https://github.com/dotnet/runtime/issues/94723
This was worked around by bumping to the windows.vs2022preview.amd64 build image.
Anyone found how can I compile coreclr without hitting this error? or do i revert back to a commit for now?
@khushal1996 make sure you use latest Visual Studio.
@khushal1996 make sure you use latest Visual Studio.
Thanks. It worked.
Seems we are hitting this in 7.0 too. Example: https://github.com/dotnet/runtime/pull/96778/
The error message (ninja: build stopped: subcommand failed.) is too general and it is matching unrelated failures such as
C:\PROGRA~1\MICROS~1\2022\Preview\VC\Tools\MSVC\1439~1.333\bin\Hostx86\arm64\cl.exe /nologo -DHAVE_CONFIG_H -DLLVM_API_VERSION=1600 -DNO_GLOBALIZATION_SHIM -ID:\a\_work\1\s\artifacts\obj -ID:\a\_work\1\s\src\native -ID:\a\_work\1\s\artifacts\obj\mono\android.arm64.Release\cross\mono\mini -ID:\a\_work\1\s\artifacts\obj\mono\android.arm64.Release\cross\mono\mini\..\.. -ID:\a\_work\1\s\src\mono\mono\mini\..\.. -ID:\a\_work\1\s\src\mono\mono\mini\.. -ID:\a\_work\1\s\src\mono\mono\mini\..\eventpipe -ID:\a\_work\1\s\artifacts\obj\mono\android.arm64.Release\cross\mono\mini\eventpipe -ID:\a\_work\1\s\src\native\public\. -ID:\a\_work\1\s\artifacts\obj\mono\android.arm64.Release\cross\mono\eglib -ID:\a\_work\1\s\src\mono\mono\eglib -external:ID:\a\_work\1\s\artifacts\obj\mono\android.arm64.Release\llvm\arm64\include -external:W0 -DHOST_WIN32 -D__WIN32__ -DWIN32 -DWIN32_LEAN_AND_MEAN -DWIN64 -DUSE_SOFT_INTRINSICS -DNDEBUG -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -DWIN32_THREADS -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -D_WIN32_IE=0x0501 -D_UNICODE -DUNICODE -DFD_SETSIZE=1024 -DNVALGRIND -ID:\a\_work\1\s\artifacts\obj\mono\android.arm64.Release\llvm\\arm64/include -D__STDC_CONSTANT_MACROS -D__STD_FORMAT_MACROS -D__STDC_LIMIT_MACROS /O2 /Ob2 /DNDEBUG -std:c11 -MT /source-charset:utf-8 /wd4100 /wd4702 /wd4706 /wd4245 /wd4389 /W4 /WX /wd4324 /EHsc /FC /Oi /GF /GL /Zi -O2 /showIncludes /Fomono\mini\CMakeFiles\monosgen-objects.dir\mini-llvm.c.obj /Fdmono\mini\CMakeFiles\monosgen-objects.dir\ /FS -c D:\a\_work\1\s\src\mono\mono\mini\mini-llvm.c
D:\a\_work\1\s\src\mono\mono\mini\mini-llvm.c(11638): error C2220: the following warning is treated as an error
D:\a\_work\1\s\src\mono\mono\mini\mini-llvm.c(11638): warning C4018: '<': signed/unsigned mismatch
D:\a\_work\1\s\src\mono\mono\mini\mini-llvm.c(11653): warning C4018: '<': signed/unsigned mismatch
[278/354] Building RC object mono\mini\CMakeFiles\monosgen-objects.dir\D_\a\_work\1\s\artifacts\obj\NativeVersion.rc.res
[279/354] Building CXX object mono\mini\CMakeFiles\monosgen-objects.dir\llvm-runtime.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-fno-exceptions'
cl : Command line warning D9002 : ignoring unknown option '-fno-rtti'
[280/354] Building C object mono\mini\CMakeFiles\monosgen-objects.dir\debugger-agent-external.c.obj
[281/354] Building CXX object mono\mini\CMakeFiles\monosgen-objects.dir\llvm-jit.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-fno-exceptions'
cl : Command line warning D9002 : ignoring unknown option '-fno-rtti'
[282/354] Building CXX object mono\mini\CMakeFiles\monosgen-objects.dir\mini-llvm-cpp.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-fno-exceptions'
cl : Command line warning D9002 : ignoring unknown option '-fno-rtti'
ninja: build stopped: subcommand failed.
from https://dev.azure.com/dnceng-public/public/_build/results?buildId=568770&view=logs&jobId=8bc6aff5-1400-5bca-e671-ee99bfbeafc5&j=8bc6aff5-1400-5bca-e671-ee99bfbeafc5&t=81713026-4c8d-5b63-02ce-dd6e5e4b94da. Is this issue still active or could we close it?
I agree that this error message pattern is way too broad since it'd match any native build error. I also don't see the original issue in 8.0 anymore so let's close this and open more specific issues for new build errors.