Support 16 KB page sizes on Android - libsentrysupplemental#3723
Support 16 KB page sizes on Android - libsentrysupplemental#3723jamescrosswell merged 45 commits intoversion-5.0.0from
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.
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: