Bug 28462 - Support for 64-bit Android distributions
Summary: Support for 64-bit Android distributions
Alias: None
Product: Android
Classification: Xamarin
Component: Mono runtime / AOT Compiler ()
Version: 5.0
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
Depends on:
Reported: 2015-03-26 11:52 UTC by Alexandre Rocha Lima e Marcondes
Modified: 2015-03-26 12:35 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Alexandre Rocha Lima e Marcondes 2015-03-26 11:52:03 UTC
Starting with Android 5 there is support to 64-bit ABIs on Android and 2015 is the year the first devices are being produced/sold using this new feature. When will monodroid runtime support 64-bit build?

To support it we will need a distribution containing both 32 and 64-bit versions of the libmonodroid.so native library as well as 32 and 64-bit versions of the libmonosgen-2.0.so library. We would also need to upgrade the native library detection to support the ABI changes.
Comment 1 Jonathan Pryor 2015-03-26 12:35:09 UTC
64-bit runtime support will be provided in Xamarin.Android 5.1.

One complication: the Android NDK r10d for x86_64 is broken, as it contains a 32-bit libm.so for linking. Consequently, if you need to use the NDK *and* reference libm.so *and* support x86_64, you're hosed. Hopefully Google will fix this in a future NDK release.