Skip to content

[release/9.0] Add the _requiresAlign8 bool to the compare and mangled name for GCStaticEETypeNode.cs#107701

Merged
jkotas merged 1 commit intorelease/9.0from
backport/pr-107650-to-release/9.0
Sep 11, 2024
Merged

[release/9.0] Add the _requiresAlign8 bool to the compare and mangled name for GCStaticEETypeNode.cs#107701
jkotas merged 1 commit intorelease/9.0from
backport/pr-107650-to-release/9.0

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Sep 11, 2024

Backport of #107650 to release/9.0

/cc @jkotas @yowl

Customer Impact

  • Customer reported
  • Found internally

Application that contains thread statics that require 8-byte alignment (long, double) may crash on Linux Arm32 when compiled with native AOT.

Regression

  • Yes
  • No

This a bug in Arm32 support for native AOT that is new in .NET 9.

Testing

Found and verified in Avalona app targeting wasm in runtimelab. Wasm has similar alignment requirements as Arm32.

Risk

[High/Medium/Low. Justify the indication by mentioning how risks were measured and addressed.]

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

@dotnet-policy-service
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
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. please get a code review and we can merge when ready

@jkotas
Copy link
Copy Markdown
Member

jkotas commented Sep 11, 2024

Failure is known issue #106742

@jkotas jkotas merged commit 9abc5de into release/9.0 Sep 11, 2024
@jkotas jkotas deleted the backport/pr-107650-to-release/9.0 branch September 18, 2024 21:31
@github-actions github-actions bot locked and limited conversation to collaborators Oct 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-NativeAOT-coreclr Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants