Android Builds of OpenJDK Mobile project now available

Bob Vandette bob.vandette at oracle.com
Fri Feb 19 20:49:25 UTC 2016


> On Feb 19, 2016, at 3:34 PM, Ali Ebrahimi <ali.ebrahimi1781 at gmail.com> wrote:
> 
> Hi,
> 
> On Fri, Feb 19, 2016 at 5:00 PM, Bob Vandette <bob.vandette at oracle.com <mailto:bob.vandette at oracle.com>> wrote:
> Your patch below may allow you to build the JDK but it won’t be able to run on Android 4 devices
> since the missing functions are not available in android-19 libc.a.  This is why we need to conditionally
> remove these functions based on the platform version you want to target.
> My patch builds with toolchain for platform 19, So if this functions (except one case) is missing in android-19 libc, so toolchain 19 should not build JDK. So you say this is NDK bug?

Have you created an API level 19 emulator and tried running your binaries?

I looked at the API level 19 libc.a and is has getpwuid but no getpwuid_r function.

I believe the JDK shared libraries are being built ignoring missing symbols which would defer any
build problems to runtime.

Bob.

> 
> 
> 
> -- 
> 
> Best Regards,
> Ali Ebrahimi



More information about the mobile-dev mailing list