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/9.0] [mini] Don't use Unwind Backtrace on android-amd64 #108294

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

github-actions[bot]
Copy link
Contributor

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

Backport of #107615 to release/9.0

/cc @lambdageek

Customer Impact

  • Customer reported
  • Found internally

The runtime depends on libunwind on android-x64 but not on any other android platform. This may cause unexpected conflicts on x86-64 android emulators that wouldn't be present on other platforms. The libunwind support is not needed (it is only use for the "llvmonly" AOT mode which isnt' used on Android).

To elaborate: if a user app on Android needs to use libunwind for its own purposes, then there may be build problems (duplicate symbols) that would show up when targeting an x86-64 Android emultator, but not other android architectures.

Regression

  • Yes
  • No

[If yes, specify when the regression was introduced. Provide the PR or commit if known.]

Testing

Manual testing

Risk

Low

Match what we do for other android RIDs.

The _Unwind_Backtrace support is only used when llvmonly mode is
enabled, which is not something that we do for Android, AFAIK
@lambdageek lambdageek added the Servicing-consider Issue for next servicing release review label Sep 26, 2024
@lambdageek lambdageek added this to the 9.0.0 milestone Sep 26, 2024
Copy link
Contributor

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

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.

lgtm. please get a code review. we will take for consideration in 9 GA

@leecow leecow added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Oct 10, 2024
@jeffschwMSFT jeffschwMSFT merged commit e014d68 into release/9.0 Oct 10, 2024
10 of 16 checks passed
@jkotas jkotas deleted the backport/pr-107615-to-release/9.0 branch October 12, 2024 04:41
@github-actions github-actions bot locked and limited conversation to collaborators Nov 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Codegen-JIT-mono Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants