Skip to content

Fix Linux ARM universal DBI cross toolchain - #6173

Merged
max-charlamb merged 1 commit into
dotnet:mainfrom
max-charlamb:fix/linux-arm-dbi-toolchain
Oct 29, 2026
Merged

max-charlamb merged 1 commit into
dotnet:mainfrom
max-charlamb:fix/linux-arm-dbi-toolchain

Conversation

@max-charlamb

Copy link
Copy Markdown
Member

Summary

  • Update the glibc Linux ARM cross image to azurelinux-3.0-net10.0-cross-arm.
  • Include linux-arm in the DBI's existing static libc++ / libstdc++ ABI configuration, matching Linux x64 and ARM64.

The previous ARM rootfs uses GCC 5 C++ headers, which lack the C++17 <optional> and <variant> headers required by the mirrored runtime's cxxexception.cpp. This breaks both ARM Debug and Release in official build 20261029.1.

Validation

  • Built the complete mscordbi_universal target in both Debug and Release using the exact updated ARM CI image and the diagnostics build helpers.
  • Verified both configurations produce stripped ARM ELF binaries and matching separate .dbg symbol files.
  • Verified no dynamic libc++ dependency is introduced.
  • git diff --check passes.

Use the .NET 10 ARM cross image and static libc++ configuration to provide the C++17 headers required by the mirrored runtime DBI.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 5846d4a3-cc7b-4bec-939d-9226b589376b
@max-charlamb
max-charlamb requested a review from a team as a code owner October 29, 2026 18:59
@max-charlamb

Copy link
Copy Markdown
Member Author

/ba-g linux arm is not tested in PR pipeline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants