Skip to content

Temporarily disable glibc Linux ARM32 builds - #6175

Closed
max-charlamb wants to merge 1 commit into
dotnet:mainfrom
max-charlamb:fix/disable-linux-arm-build
Closed

max-charlamb wants to merge 1 commit into
dotnet:mainfrom
max-charlamb:fix/disable-linux-arm-build

Conversation

@max-charlamb

Copy link
Copy Markdown
Member

Summary

Temporarily disable glibc Linux ARM32 (linux-arm) builds while the Azure Linux .NET 10 ARM image lacks the LLDB development headers required by SOS. #6173 fixed the universal DBI toolchain, but the complete native build now fails with Cannot find LLDB.h. Try installing lldb-dev.

  • Disable the linux-arm CI leg and adjust the required release artifact count from 11 to 10.
  • Exclude its DbgShim/InternalAssets packages, SOS binaries/symbols, and single-file tool bundles so packaging does not require missing outputs.
  • Preserve musl ARM, ARM64, and explicit local single-RID ARM packaging.

Re-enabling is tracked by #6174, which should remain open after this PR merges. The disable sites link to that issue.

Validation

  • Evaluated MSBuild package inputs: the remaining release RIDs are preserved, linux-arm is excluded, and explicit local ARM InternalAssets/SOS payloads and symbols remain available.
  • Parsed the pipeline YAML and verified 10 official / 8 public build platforms, with a matching release artifact count.
  • Verified single-file bundle RIDs and git diff --check.

Skip linux-arm CI builds and their release package and bundle inputs while the Azure Linux ARM image lacks LLDB headers. Keep musl ARM, ARM64, and explicit local single-RID ARM packaging available.

Track re-enabling in dotnet#6174.

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 30, 2026 15:15
@max-charlamb

Copy link
Copy Markdown
Member Author

Superseded by #6176, which keeps ARM builds enabled and provisions SHA-256-pinned LLDB headers from the existing .NET-owned Azure mirror specifically for glibc linux-arm build jobs. The replacement passed local ARM Debug/Release native builds and official build 20261030.2, including packaging.

max-charlamb added a commit that referenced this pull request Oct 30, 2026
## Summary

Keep Linux ARM32 builds enabled and provision the LLDB development
headers missing from the Azure Linux .NET 10 ARM cross-build image.

- Add a bootstrap step only for glibc `linux-arm` build jobs, before the
existing build step.
- Download the existing .NET-owned Azure mirror of the LLDB 9 source
archive and verify a pinned SHA-256 before extraction.
- Extract only the LLDB headers and license, then set `LLDB_H` for SOS
configuration. No LLDB executable or shared library is installed.
- Preserve the Jammy sysroot, custom static libc++, all 11 release
platforms, and existing packaging. Musl ARM, ARM64, and test-only jobs
are unchanged.

This supersedes the temporary ARM-disable proposal in #6175 and its
tracking issue #6174. No Ubuntu download or additional package feed is
needed.

## Validation

- Complete local ARM native Debug and Release builds passed, including
SOS, its LLDB plugin, dbgshim, universal DBI, and separate symbols.
- LLDB API imports match the previous LLDB 3.9-header baseline in both
configurations; custom static libc++ remains enabled.
- Executed the exact pipeline bootstrap step locally in the same Azure
Linux ARM image.
- [Official build
20261030.2](https://dev.azure.com/dnceng/internal/_build/results?buildId=3121986)
passed with this exact commit, including ARM Debug/Release and packaging
across all release platforms.

That official run used `buildOnly=true`. Live ARM32 debugger
compatibility has not been tested.

Co-authored-by: Max Charlamb <[email protected]>
Co-authored-by: Copilot <[email protected]>
Copilot-Session: 5846d4a3-cc7b-4bec-939d-9226b589376b
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