-
-
Notifications
You must be signed in to change notification settings - Fork 226
Support 16 KB page sizes on Android - libsentrysupplemental #3723
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
Conversation
…s and Sentry.Native.targets
|
Thanks @supervacuus,
Ah, OK that makes sense.
Just tested with 7.17.0-alpha.1 and I can confirm that this resolves the alignment warnings 👍🏻 |
Sentry.Native subproject here is just desktop. I'm not aware of what the mobile side is doing in sentry-java but as @jamescrosswell have just noticed, there's a PR in sentry-java to fix this issue which would come in due time and I don't think we need to do anything in the dotnet repo. |
This reverts commit 8669e4c.
bricefriha
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
We need both. This PR fixes the "suplemental" lib which is just an example crash we bundle. So we can merge this, and independently bump Android once that PR is merged, and the all the warnings should be gone |
Resolves #3633
Summary
When targeting
net9.0-androidwe get build warnings fromXamarin.Android.Common.Debugging.targetswhen it tries to build the apk:This link contained in the warning explains.
Solution
sentry-dotnet repo
This PR addresses the warnings for
libsentrysupplemental.so, the source for which is in this repository. The most relevant parts of the PR are:sentry-dotnet/lib/sentrysupplemental/CMakeLists.txt
Lines 6 to 7 in 8669e4c
Rebuilding with those changes results in changes to the so files, which we have checked in to this repo (presumably because they change very infrequently).
And to test this (since it only presents for us when targeting
net9.0-android) we bumped the target frameworks forsamples/Sentry.Samples.Maui/Sentry.Samples.Maui.csprojfromnet8.0tonet9.0.sentry-jave repo
The other shared libraries are part of the sentry-native repository that we get transitively through sentry-java when targeting
net9.0-android.Tracking issue: