Skip to content

[ci-scan] Build break: crosscomp.h CONTEXT_UNWOUND_TO_CALL macro redefinition in runtime-diagnostics #129111

@github-actions

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1452363
Build error leg or test failing: DAC_windows_x64_release / cDAC_windows_x64_release / cDAC_no_fallback_windows_x64_release

Error Details

All three DAC build legs in runtime-diagnostics (def 309) fail with a C++ compilation error in crosscomp.h line 199. The Windows SDK winnt.h (10.0.28000.0) now defines CONTEXT_UNWOUND_TO_CALL, colliding with the definition in src/shared/inc/crosscomp.h. Since /WX (warnings as errors) is enabled, the C4005 macro-redefinition warning promotes to a hard error.

FAILED: [code=2] src/SOS/Strike/CMakeFiles/sos.dir/disasmARM64.cpp.obj
src\shared\inc\crosscomp.h(199): error C2220: the following warning is treated as an error
src\shared\inc\crosscomp.h(199): warning C4005: 'CONTEXT_UNWOUND_TO_CALL': macro redefinition
C:\Program Files (x86)\Windows Kits\10\include\10.0.28000.0\um\winnt.h(4340): note: see previous definition of 'CONTEXT_UNWOUND_TO_CALL'
ninja: build stopped: subcommand failed.

Error Message

true only for clear infra flakes. ExcludeConsoleLog skips helix log scanning. -->

{
  "ErrorMessage": "crosscomp.h(199): warning C4005: 'CONTEXT_UNWOUND_TO_CALL': macro redefinition",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Impact on platforms

  • runtime-diagnostics (def 309) / DAC_windows_x64_release / Build / Test / exit code 1
  • runtime-diagnostics (def 309) / cDAC_windows_x64_release / Build / Test / exit code 1
  • runtime-diagnostics (def 309) / cDAC_no_fallback_windows_x64_release / Build / Test / exit code 1

First build it occurred

Duplicate search

  • CONTEXT_UNWOUND_TO_CALL crosscomp label:"Known Build Error" — 0 results
  • crosscomp.h C4005 macro redefinition diagnostics — 0 results
  • crosscomp.h disasmARM64 diagnostics — 0 results
  • is:pr is:open crosscomp.h CONTEXT_UNWOUND_TO_CALL — integrity-filtered PR Arm64: [PAC-RET] Add Pointer Authentication support for Arm64 #125436 (cannot verify)
  • is:pr is:merged crosscomp.h CONTEXT_UNWOUND_TO_CALL merged:>=2026-06-06 — 0 results

No existing KBE matches this signature.


Filed by ci-failure-scan, which scans dnceng-public outer-loop pipelines on main and converts stable failures into KBEs and test-disable PRs. Comment here or on the workflow file to suggest changes; ci-failure-scan-feedback reads in-scope feedback daily and opens (or updates) a PR with prompt edits.

Note

🔒 Integrity filter blocked 15 items

The following items were blocked because they don't meet the GitHub integrity level.

  • #125436 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #90711 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #66563 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #56156 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #127367 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #115324 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #128466 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #129042 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #92420 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #58388 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #38958 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #68491 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #96066 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #107632 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #114222 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by CI Outer-Loop Failure Scanner · ● 68.8M ·

Report

Build Repository Step Name Console log Pull Request
1454733 dotnet/runtime Build / Test Log #129091
1454652 dotnet/runtime Build / Test Log #128448
1454514 dotnet/runtime Build / Test Log #128872
1453898 dotnet/runtime Build / Test Log #128479
1453881 dotnet/runtime Build / Test Log #128950
1453875 dotnet/runtime Build / Test Log #125436
1453798 dotnet/runtime Build / Test Log #128448
1453750 dotnet/runtime Build / Test Log #129098
1453693 dotnet/runtime Build / Test Log #129120
1453414 dotnet/runtime Build / Test Log #129114
1453369 dotnet/runtime Build / Test Log
1453329 dotnet/runtime Build / Test Log #129109
1453313 dotnet/runtime Build / Test Log #128921

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
13 13 13

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabagentic-workflowsarea-Diagnostics-coreclrblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'untriagedNew issue has not been triaged by the area owner

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions