Skip to content

Fix haiku and illumos x64 builds - #131700

Open
am11 wants to merge 2 commits into
dotnet:mainfrom
am11:chore/fix-community-platform-builds
Open

Fix haiku and illumos x64 builds#131700
am11 wants to merge 2 commits into
dotnet:mainfrom
am11:chore/fix-community-platform-builds

Conversation

@am11

@am11 am11 commented Aug 1, 2026

Copy link
Copy Markdown
Member

Regarding _X, the alternative was to rename it to PAL_X everywhere but that turned it into a 1400+ lines of change; can apply if needed.

@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label Aug 1, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 6 pipeline(s).
10 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@am11 am11 added area-Infrastructure os-SunOS SunOS, currently not officially supported os-haiku and removed area-Diagnostics-coreclr labels Aug 1, 2026
@am11
am11 temporarily deployed to copilot-pat-pool August 1, 2026 17:36 — with GitHub Actions Inactive
@am11
am11 temporarily deployed to copilot-pat-pool August 1, 2026 17:37 — with GitHub Actions Inactive
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

@am11
am11 requested a review from jkotas August 1, 2026 17:43
@am11
am11 force-pushed the chore/fix-community-platform-builds branch 2 times, most recently from 344d833 to 15f2342 Compare August 1, 2026 18:21
Comment on lines 10509 to +10511
LclVarDsc* varDsc = lvaGetDesc(lclNum);
if ((varDsc->TypeGet() == type) && ((type != TYP_STRUCT) || layout->CanAssignFrom(varDsc->GetLayout())))
if ((varDsc->TypeGet() == type) &&
((type != TYP_STRUCT) || (layout != nullptr && layout->CanAssignFrom(varDsc->GetLayout()))))

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jakobbotsch, illumos gcc thinks that it can be null here from the path followed by gtNewLoadValueNode(JITtype2varType(constraintTyp), nullptr, obj); (as JITtype2varType can return non TYP_STRUCT type). I think error was seen with release config only given the assert at the start of this method, but not sure.

@am11
am11 force-pushed the chore/fix-community-platform-builds branch 14 times, most recently from 3df4f11 to 302d268 Compare August 1, 2026 21:19
@am11
am11 force-pushed the chore/fix-community-platform-builds branch from 302d268 to 3c00744 Compare August 1, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-Infrastructure community-contribution Indicates that the PR has been added by a community member os-haiku os-SunOS SunOS, currently not officially supported

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant