Mobile JDK 9 Status

Ali Ebrahimi ali.ebrahimi1781 at gmail.com
Sat Jan 23 19:49:37 UTC 2016


Hi Bob,


On Sat, Jan 23, 2016 at 9:13 PM, Bob Vandette <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.

-- 

Best Regards,
Ali Ebrahimi


More information about the mobile-dev mailing list