Mobile JDK 9 Status

Bob Vandette bob.vandette at oracle.com
Sat Jan 23 21:24:22 UTC 2016


> On Jan 23, 2016, at 2:49 PM, Ali Ebrahimi <ali.ebrahimi1781 at gmail.com> wrote:
> 
> Hi Bob,
> 
> 
> On Sat, Jan 23, 2016 at 9:13 PM, Bob Vandette <bob.vandette at oracle.com <mailto:bob.vandette at oracle.com>> wrote:
>> I fix this by adding line for your bash script iOS x86_64:
>> export ASFLAGS='-miphoneos-version-min=8.0’
> Here is the fix that will be eventually pushed to the mobile/dev repo for this problem.
> Rather than adding ASFLAGS, we pass the EXTRA_CFLAGS to ASFLAGS.  This allows
> the ios min version to get set in addition to other important options such as bitcode.
> Although assembler files can’t support bitcode, the binaries must be marked or you’ll get
> a link time failure.
> 
> diff --git a/hotspot/make/bsd/makefiles/vm.make b/hotspot/make/bsd/makefiles/vm.make
> --- a/make/bsd/makefiles/vm.make
> +++ b/make/bsd/makefiles/vm.make
> @@ -118,6 +118,9 @@
>  # Extra flags from gnumake's invocation or environment
>  CFLAGS += $(EXTRA_CFLAGS)
>  LFLAGS += $(EXTRA_CFLAGS)
> May be an bug in current code. This line should not be this as
> LFLAGS += $(EXTRA_LFLAGS)
>  
>  
> +ifeq ($(OPENJDK_TARGET_OS), ios)
> +ASFLAGS += $(EXTRA_CFLAGS)
> +endif
> This worked for me.
> 
> How about android support and its build instructions? I am eagerly waiting for android testing.

I am working on Android support and should have at least x86 support out for review this coming week.
Most of the changes have been pushed to the mobile/dev forest but have not been updated 
with recent jdk 9 merges.

I’ll follow x86 with the Zero ARM support.  I’ve got both architectures building and I’m doing the
bringup of x86 right now.

Bob.


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



More information about the mobile-dev mailing list