Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Apr 22, 2025

Backport of #114786 to release/8.0-staging

/cc @akoeplinger

Customer Impact

  • Customer reported
  • Found internally

Newer version of MSVC miscompiles a certain function in the mono runtime, leading to crashes.

Regression

  • Yes
  • No

Yes, due to infrastructure update bringing in new VS/MSVC.

Testing

Manual testing.

Risk

Low, this is a no-op change to workaround a compiler bug.

After the recent VS upgrade from 17.12.5 to 17.13.2 we started seeing access violations in the mono-aot-cross.exe when targetting wasm.

We tracked it down to sgen_clz being miscompiled, we can workaround the compiler bug by switching from ternary condition to if/else.
@akoeplinger
Copy link
Member

No-op change to workaround compiler bug, tell mode, applying servicing-approved.

@akoeplinger akoeplinger added the Servicing-approved Approved for servicing release label Apr 23, 2025
@akoeplinger
Copy link
Member

/ba-g unrelated CI timeouts

@akoeplinger akoeplinger merged commit f1476bb into release/8.0-staging Apr 23, 2025
111 of 117 checks passed
@akoeplinger akoeplinger deleted the backport/pr-114786-to-release/8.0-staging branch April 23, 2025 10:35
@github-actions github-actions bot locked and limited conversation to collaborators May 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-VM-meta-mono Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants