Skip to content

Don't ReadyToRun-publish the proto tools on ppc64le (no crossgen2)#20007

Open
pkubaj wants to merge 1 commit into
dotnet:mainfrom
pkubaj:ppc64le-freebsd-no-r2r
Open

Don't ReadyToRun-publish the proto tools on ppc64le (no crossgen2)#20007
pkubaj wants to merge 1 commit into
dotnet:mainfrom
pkubaj:ppc64le-freebsd-no-r2r

Conversation

@pkubaj

@pkubaj pkubaj commented Jun 29, 2026

Copy link
Copy Markdown

PowerPC has no crossgen2 backend, so ReadyToRun publishing of the proto/bootstrap tools (fslex/fsyacc) fails to resolve a Microsoft.NETCore.App.Crossgen2.freebsd-ppc64le pack that does not exist.

src/fsharp/Directory.Build.props already disables R2R for the Mono runtime; this adds an equivalent carve-out for ppc64le. The condition uses RuntimeInformation.ProcessArchitecture == Ppc64le rather than an SDK-derived RID property, because the RID properties are not yet populated at Directory.Build.props evaluation time. Part of a FreeBSD/powerpc64le (ppc64le) port. Sibling PRs: dotnet/runtime (PAL/platform), dotnet/arcade (eng/common detection), dotnet/sdk, dotnet/fsharp.

I have signed (or will sign on the dnfadmin bot's prompt) the .NET Foundation CLA.

ppc64le has no crossgen2 backend. Disable EnablePublishReadyToRun for the
proto/bootstrap tools there, mirroring the existing Mono carve-out.
@github-actions

Copy link
Copy Markdown
Contributor

✅ No release notes required

@github-actions github-actions Bot added ⚠️ Affects-Bootstrap Tooling check: PR touches compiler bootstrap chain ⚠️ Affects-Build-Infra Tooling check: PR touches build infrastructure labels Jun 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Tooling Safety Check — Affects-Bootstrap, Affects-Build-Infra
Affects-Bootstrap: adds MSBuild property controlling proto tool R2R publishing
Affects-Build-Infra: modifies root Directory.Build.props

Generated by PR Tooling Safety Check · opus46 4.8M ·

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

Labels

⚠️ Affects-Bootstrap Tooling check: PR touches compiler bootstrap chain ⚠️ Affects-Build-Infra Tooling check: PR touches build infrastructure

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

1 participant