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

Mono shared libraries in Android runtime pack is not stripped for release builds. #53722

Closed
lateralusX opened this issue Jun 4, 2021 · 4 comments
Milestone

Comments

@lateralusX
Copy link
Member

lateralusX commented Jun 4, 2021

Doing release build targeting Android (x64 in this case) doesn't strip the resulting .so files, meaning libmonosgen-2.0.so is 18 MB in size, but when stripped, 3.67 MB. The same goes for libmono-component-*.so and probably for other .so files included in APK when building sample app on Android.

@dotnet-issue-labeler dotnet-issue-labeler bot added area-Infrastructure-mono untriaged New issue has not been triaged by the area owner labels Jun 4, 2021
@ghost
Copy link

ghost commented Jun 4, 2021

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

Issue Details

Doing release build targeting Android (x64 in this case) doesn't strip the resulting .so files, meaning libmonosgen-2.0.so is 18 MB in size, but when stripped, 3.67 MB. The same goes for libmono-component-*.so and probably for other .so files included in APK when building sample app on Android.

Author: lateralusX
Assignees: -
Labels:

area-Infrastructure-mono, untriaged

Milestone: -

@steveisok
Copy link
Member

Should be fixed with #53240

@lateralusX
Copy link
Member Author

We will need stripping of libmono-component-*.so as well, not just libmonosgen-2.0.so.

@marek-safar marek-safar added area-Build-mono and removed area-Infrastructure-mono untriaged New issue has not been triaged by the area owner labels Jun 4, 2021
@marek-safar marek-safar added this to the 6.0.0 milestone Jun 4, 2021
@steveisok
Copy link
Member

steveisok commented Jun 28, 2021

@directhex You resolved this, correct?

@ghost ghost locked as resolved and limited conversation to collaborators Jul 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants