Skip to content

[release/10.0] clang-21 on macos fixes#126319

Open
github-actions[bot] wants to merge 9 commits intorelease/10.0from
backport/pr-126235-to-release/10.0
Open

[release/10.0] clang-21 on macos fixes#126319
github-actions[bot] wants to merge 9 commits intorelease/10.0from
backport/pr-126235-to-release/10.0

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Mar 30, 2026

Backport of #126235 to release/10.0

/cc @AaronRobinsonMSFT

Customer Impact

  • Customer reported
  • Found internally

Updating Xcode moved to clang 21 and introduced some breaking changes during compilation of C and Swift sources.

% clang --version
Apple clang version 21.0.0 (clang-2100.0.123.102)
Target: arm64-apple-darwin25.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Customer mention #119706 (comment)

Clang 21 changes for -Wc++-keyword - https://releases.llvm.org/21.1.0/tools/clang/docs/ReleaseNotes.html#id11
Partially related unicode-org/icu#2913

Regression

  • Yes
  • No

This is not a dotnet/runtime regression.

Testing

Infrastructure changes (that is, tool chain). All tests pass.

Risk

Low.

AaronRobinsonMSFT and others added 9 commits March 30, 2026 15:07
Addresses various build failures when compiling with the latest Xcode.

```
% clang --version
Apple clang version 21.0.0 (clang-2100.0.123.102)
Target: arm64-apple-darwin25.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
```
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…acceptableIssuers in AppleCryptoNative_NwConnectionCreate
@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @agocke
See info in area-owners.md if you want to be subscribed.

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

Labels

area-VM-coreclr Servicing-consider Issue for next servicing release review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants