Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/7.0-rc1] Don't NativeAOT crossgen on ARM64 #74221

Merged
merged 1 commit into from
Aug 20, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 19, 2022

Backport of #74211 to release/7.0-rc1

/cc @MichalStrehovsky

Customer Impact

NativeAOT-compiled Crossgen2 on ARM64 is currently crashes a lot (#72645). We know it will likely crash on top of CoreCLR because we've seen those crashes (there are at least 3 other issues on those), but likely a lot less often based on available data.

This switches crossgen to be CoreCLR-hosted. We ship in this configuration on Mac and x86 Windows.

Testing

Crossgen2 testing that we have runs on top of the runtime that was used to build the repo. This is Preview 7 right now. We don't have testing for the configuration that actually ships (live built CoreCLR or live built NativeAOT). We assume VM bugs would be caught in VM testing and crossgen2 is simply a managed tool like any other. We have #71557 tracking to at least use LKG of NativeAOT instead of LKG of the CoreCLR VM. We would see that it crashes more often there.

Risk

We ship in this configuration in other platforms.

Lets us make #72645 a non-blocking-release issue.

We also set NativeAotSupported to false for Mac on the line above. Crossgen2 will still ship NativeAOT compiled on x64 Linux and Windows. R2R+SingleFile+Trimmed elsewhere.
Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

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

approved. once we get a green ci we can merge.

@jeffschwMSFT jeffschwMSFT merged commit 39d767a into release/7.0-rc1 Aug 20, 2022
@MichalStrehovsky MichalStrehovsky deleted the backport/pr-74211-to-release/7.0-rc1 branch August 20, 2022 07:14
@ghost ghost locked as resolved and limited conversation to collaborators Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants