答复: 答复: 答复: 答复: 答复: How to build openjdk mobile project android platform successfully and how does the mobile project adapt to bionic C ?

Gary Adams gary.adams at oracle.com
Thu Aug 30 14:39:38 UTC 2018


The ucontext.h file is included in the android-19 platforms if you 
generated your standalone
toolchain from the android-ndk-r13b download.

$ find android-ndk-r{10b,13b}/platforms/android-19 -name ucontext.h
android-ndk-r13b/platforms/android-19/arch-x86/usr/include/ucontext.h
android-ndk-r13b/platforms/android-19/arch-x86/usr/include/sys/ucontext.h
android-ndk-r13b/platforms/android-19/arch-mips/usr/include/ucontext.h
android-ndk-r13b/platforms/android-19/arch-mips/usr/include/sys/ucontext.h
android-ndk-r13b/platforms/android-19/arch-arm/usr/include/sys/ucontext.h
android-ndk-r13b/platforms/android-19/arch-arm/usr/include/ucontext.h


This is the last command I could find when generated standalone 
toolchain for
android-arm 19.

   $NDK_DIR/build/tools/make_standalone_toolchain.py \
       --arch arm --api 19 --install-dir $TARGET_DIR/android-arm-toolchain


$ find android-arm-toolchain -name ucontext.h
android-arm-toolchain/sysroot/usr/include/ucontext.h
android-arm-toolchain/sysroot/usr/include/sys/ucontext.h

On 8/30/18, 4:58 AM, zhangfan (AZ) wrote:
> Hi,
>
> I tried the newer toolchain(android-ndk-13b) as I mentioned in the previous mail.
> It still fails.
> So I wanna know how you build this mobile project android platform successfully.
>
> android-ndk-13b configure.log:
> ########################################################################
> configure: Configuration created at Thu Aug 30 17:01:44 CST 2018.
> configure: configure script generated at timestamp 1498218636.
> checking for basename... /usr/bin/basename
> checking for bash... /bin/bash
> checking for cat... /bin/cat
> checking for chmod... /bin/chmod
> checking for cmp... /usr/bin/cmp
> checking for comm... /usr/bin/comm
> checking for cp... /bin/cp
> checking for cut... /usr/bin/cut
> checking for date... /bin/date
> checking for gdiff... no
> checking for diff... /usr/bin/diff
> checking for dirname... /usr/bin/dirname
> checking for echo... /bin/echo
> checking for expr... /usr/bin/expr
> checking for file... /usr/bin/file
> checking for find... /usr/bin/find
> checking for head... /usr/bin/head
> checking for gunzip... /bin/gunzip
> checking for pigz... /usr/bin/pigz
> checking for ln... /bin/ln
> checking for ls... /bin/ls
> checking for mkdir... /bin/mkdir
> checking for mktemp... /bin/mktemp
> checking for mv... /bin/mv
> checking for nawk... /usr/bin/nawk
> checking for printf... /usr/bin/printf
> checking for rm... /bin/rm
> checking for rmdir... /bin/rmdir
> checking for sh... /bin/sh
> checking for sort... /usr/bin/sort
> checking for tail... /usr/bin/tail
> checking for gtar... no
> checking for tar... /bin/tar
> checking for tee... /usr/bin/tee
> checking for touch... /bin/touch
> checking for tr... /usr/bin/tr
> checking for uname... /bin/uname
> checking for uniq... /usr/bin/uniq
> checking for wc... /usr/bin/wc
> checking for which... /bin/which
> checking for xargs... /usr/bin/xargs
> checking for gawk... gawk
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for fgrep... /bin/grep -F
> checking for a sed that does not truncate output... /bin/sed
> checking for cygpath... no
> checking for greadlink... no
> checking for readlink... /bin/readlink
> checking for df... /bin/df
> checking for cpio... /bin/cpio
> checking for nice... /usr/bin/nice
> checking for pandoc... no
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... arm-linux-androideabi
> checking target system type... arm-linux-androideabi
> checking openjdk-build os-cpu... linux-x86_64
> checking openjdk-target os-cpu... android-arm
> checking compilation type... cross
> checking for top-level directory... /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9
> checking if custom source is suppressed (openjdk-only)... no
> checking which variant of the JDK to build... normal
> checking which debug level to use... release
> checking which variants of the JVM to build... zero
> checking for devkit... /home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain
> checking for sysroot...
> checking for toolchain path... /home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain/bin
> checking for extra path...
> checking where to store configuration... in default location
> checking what configuration name to use... android-arm-normal-zero-release
> checking for apt-get... apt-get
> checking for gmake... no
> checking for make... /home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain/bin/make
> configure: Testing potential make at /home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain/bin/make, found using make in PATH
> configure: Using GNU make at /home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain/bin/make (version: GNU Make 3.81)
> checking if make --output-sync is supported... no
> checking if find supports -delete... yes
> checking what type of tar was found... gnu
> checking that grep (/bin/grep) -Fx handles empty lines in the pattern list correctly... yes
> checking for unzip... /usr/bin/unzip
> checking for zip... /usr/bin/zip
> checking for ldd... /usr/bin/ldd
> checking for otool... no
> checking for greadelf... no
> checking for readelf... /usr/bin/readelf
> checking for dot... /usr/bin/dot
> checking for hg... /usr/bin/hg
> checking for stat... /usr/bin/stat
> checking for time... /usr/bin/time
> checking for dtrace... no
> checking for gpatch... no
> checking for patch... /usr/bin/patch
> checking bash version... 4.3.48
> checking if bash supports pipefail... yes
> checking if bash supports errexit (-e)... yes
> checking for arm-linux-androideabi-pkg-config... no
> checking for pkg-config... /usr/bin/pkg-config
> configure: WARNING: using cross tools not prefixed with host triplet
> checking pkg-config is at least version 0.9.0... yes
> checking headless only... yes
> checking for graphviz dot... yes
> checking for pandoc... no, cannot generate full docs
> checking full docs... no, missing dependencies
> checking if packaged modules are kept... yes (default)
> checking for version string... 9-internal+0-adhoc.zhangfan.mobile-jdk9
> configure: Found potential Boot JDK using JAVA_HOME
> configure: Potential Boot JDK found at /home/zhangfan/tools/openjdk-builds/jdk1.8.0_192/bin did not contain bin/java; ignoring
> checking for javac... /home/zhangfan/tools/openjdk-builds/jdk1.8.0_192/bin/javac
> checking for java... /home/zhangfan/tools/openjdk-builds/jdk1.8.0_192/bin/java
> configure: Found potential Boot JDK using java(c) in PATH
> checking for Boot JDK... /home/zhangfan/tools/openjdk-builds/jdk1.8.0_192
> checking Boot JDK version... java version "1.8.0_192-ea" Java(TM) SE Runtime Environment (build 1.8.0_192-ea-b04) Java HotSpot(TM) 64-Bit Server VM (build 25.192-b04, mixed mode)
> checking for java in Boot JDK... ok
> checking for javac in Boot JDK... ok
> checking for javah in Boot JDK... ok
> checking for jar in Boot JDK... ok
> checking for jarsigner in Boot JDK... ok
> checking if Boot JDK supports modules... no
> checking if Boot JDK is 32 or 64 bits... 64
> checking for Build JDK... yes, will build it for the host platform
> configure: Using default toolchain gcc (GNU Compiler Collection)
> checking for arm-linux-androideabi-gcc... /home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-gcc
> checking resolved symbolic links for CC... no symlink
> configure: Using gcc C compiler version 4.9. [arm-linux-androideabi-gcc (GCC) 4.9.x 20150123 (prerelease)]
> checking for arm-linux-androideabi-/home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-gcc... /home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... yes
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether /home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-gcc accepts -g... yes
> checking for /home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-gcc option to accept ISO C89... none needed
> checking for arm-linux-androideabi-g++... /home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-g++
> checking resolved symbolic links for CXX... no symlink
> configure: Using gcc C++ compiler version 4.9. [arm-linux-androideabi-g++ (GCC) 4.9.x 20150123 (prerelease)]
> checking whether we are using the GNU C++ compiler... yes
> checking whether /home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-g++ accepts -g... yes
> checking how to run the C preprocessor... /home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-gcc -E
> checking how to run the C++ preprocessor... /home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-g++ -E
> checking for arm-linux-androideabi-ar... arm-linux-androideabi-ar
> configure: Rewriting AR to "/home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-ar"
> checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip
> configure: Rewriting STRIP to "/home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-strip"
> checking for arm-linux-androideabi-nm... arm-linux-androideabi-nm
> configure: Rewriting NM to "/home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-nm"
> checking for arm-linux-androideabi-gobjcopy... no
> checking for arm-linux-androideabi-objcopy... arm-linux-androideabi-objcopy
> configure: Rewriting OBJCOPY to "/home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-objcopy"
> checking for arm-linux-androideabi-gobjdump... no
> checking for arm-linux-androideabi-objdump... arm-linux-androideabi-objdump
> configure: Rewriting OBJDUMP to "/home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-objdump"
> checking for cl... no
> checking for cc... /usr/bin/cc
> checking for cl... no
> checking for CC... no
> checking for g++... /usr/bin/g++
> checking for nm... /usr/bin/nm
> checking for ar... /usr/bin/ar
> checking for objcopy... /usr/bin/objcopy
> checking for strip... /usr/bin/strip
> configure: Using gcc BuildC compiler version 5.4.0 [cc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609]
> configure: Using gcc BuildC++ compiler version 5.4.0 [g++ (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609]
> checking if the C compiler supports "-Og"... yes
> checking if the C++ compiler supports "-Og"... yes
> checking if both compilers support "-Og"... yes
> checking if linker supports "-Wl,-z,relro"... yes
> checking if linker supports "-Wl,-z,now"... yes
> checking for jtreg... no
> checking for jtreg test harness... no, not found
> checking if @file is supported by gcc... yes
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking stdio.h usability... yes
> checking stdio.h presence... yes
> checking for stdio.h... yes
> checking size of int *... 4
> checking for target address size... 32 bits
> checking whether byte ordering is bigendian... no
> checking if the C++ compiler supports "-std=gnu++98 -Werror"... yes
> checking if the C++ compiler supports "-std=gnu++98 -Werror"... yes
> checking if the C compiler supports "-m32"... no
> checking if the C++ compiler supports "-m32"... no
> checking if both compilers support "-m32"... no
> checking if native warnings are errors... no
> checking if the C compiler supports "-Wno-this-is-a-warning-that-do-not-exist"... yes
> checking if the C++ compiler supports "-Wno-this-is-a-warning-that-do-not-exist"... yes
> checking if both compilers support "-Wno-this-is-a-warning-that-do-not-exist"... yes
> checking if the C compiler supports "-Wno-this-is-a-warning-that-do-not-exist"... yes
> checking if the C++ compiler supports "-Wno-this-is-a-warning-that-do-not-exist"... yes
> checking if both compilers support "-Wno-this-is-a-warning-that-do-not-exist"... yes
> checking what type of native debug symbols to use... zipped
> checking for dtrace tool... not found, cannot build dtrace
> checking sys/sdt.h usability... no
> checking sys/sdt.h presence... no
> checking for sys/sdt.h... no
> checking if dtrace should be built... no, missing dependencies
> checking if Hotspot gtest unit tests should be built... yes
> checking if static link of stdc++ is possible... yes
> checking how to link with libstdc++... static
> checking for cups headers... yes
> configure: Found freetype include files at /home/zhangfan/code/dev/jdk9mobile/freetype-2.6.2/build_android-arm/include/freetype2 using --with-freetype
> checking for freetype includes... /home/zhangfan/code/dev/jdk9mobile/freetype-2.6.2/build_android-arm/include/freetype2
> checking for freetype libraries... /home/zhangfan/code/dev/jdk9mobile/freetype-2.6.2/build_android-arm/lib
> checking if we can compile and link with freetype... yes
> checking if we should bundle freetype... yes
> checking if libffi works... yes
> checking if libffi should be bundled... no
> checking for which libjpeg to use... bundled
> checking for which giflib to use... bundled
> checking for which libpng to use... bundled
> checking for compress in -lz... yes
> checking for which zlib to use... system
> checking for which lcms to use... bundled
> checking for cos in -lm... yes
> checking for dlopen in -ldl... yes
> checking if jdk.internal.vm.compiler should be built... no
> checking if aot should be enabled... no
> checking if elliptic curve crypto implementation is present... yes
> checking if jtreg failure handler should be built... no, missing jtreg
> checking if the CDS classlist generation should be enabled... no
> checking for number of cores... 144
> checking for memory size... 515824 MB
> checking for appropriate number of jobs to run in parallel... 144
> checking flags for boot jdk java command ...  -Duser.language=en -Duser.country=US
> checking flags for boot jdk java command for big workloads...  -Xms64M -Xmx1600M -XX:ThreadStackSize=1536
> checking flags for bootcycle boot jdk java command for big workloads... -Xms64M -Xmx1024M -XX:ThreadStackSize=768
> checking flags for boot jdk java command for small workloads...  -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
> checking whether to use sjavac... no
> checking whether to use javac server... yes
> checking If precompiled header is enabled... yes
> checking that precompiled headers work... yes
> checking is ccache enabled... no
> checking if build directory is on local disk... yes
> checking JVM features for JVM variant 'zero'... all-gcs cds fprof jni-check jvmti management nmt services vm-structs zero
> configure: creating /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/configure-support/config.status
> config.status: creating /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/spec.gmk
> config.status: creating /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/bootcycle-spec.gmk
> config.status: creating /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/buildjdk-spec.gmk
> config.status: creating /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/compare.sh
> config.status: creating /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/Makefile
>
> ====================================================
> A new configuration has been successfully created in
> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release
> using configure arguments '--enable-option-checking=fatal --build=x86_64-unknown-linux-gnu --host=arm-linux-androideabi --target=arm-linux-androideabi --disable-warnings-as-errors --enable-headless-only --with-jdk-variant=normal --with-jvm-variants=zero --with-libffi-include=/home/zhangfan/code/dev/jdk9mobile/libffi-3.2.1/build_android-arm/include --with-libffi-lib=/home/zhangfan/code/dev/jdk9mobile/libffi-3.2.1/build_android-arm/lib --with-cups-include=/home/zhangfan/code/dev/jdk9mobile --with-devkit=/home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain --with-debug-level=release --with-freetype-lib=/home/zhangfan/code/dev/jdk9mobile/freetype-2.6.2/build_android-arm/lib --with-freetype-include=/home/zhangfan/code/dev/jdk9mobile/freetype-2.6.2/build_android-arm/include/freetype2'.
>
> Configuration summary:
> * Debug level:    release
> * HS debug level: product
> * JDK variant:    normal
> * JVM variants:   zero
> * OpenJDK target: OS: android, CPU architecture: arm, address length: 32
> * Version string: 9-internal+0-adhoc.zhangfan.mobile-jdk9 (9-internal)
>
> Tools summary:
> * Boot JDK:       java version "1.8.0_192-ea" Java(TM) SE Runtime Environment (build 1.8.0_192-ea-b04) Java HotSpot(TM) 64-Bit Server VM (build 25.192-b04, mixed mode)  (at /home/zhangfan/tools/openjdk-builds/jdk1.8.0_192)
> * Toolchain:      gcc (GNU Compiler Collection)
> * C Compiler:     Version 4.9. (at /home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-gcc)
> * C++ Compiler:   Version 4.9. (at /home/zhangfan/code/dev/jdk9mobile/android-ndk-r13b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-g++)
>
> Build performance summary:
> * Cores to use:   144
> * Memory limit:   515824 MB
>
> The following warnings were produced. Repeated here for convenience:
> WARNING: using cross tools not prefixed with host triplet
> ########################################################################
>
>
> android-ndk-13b build.log:
> ########################################################################
> Building target 'jre-image' in configuration 'android-arm-normal-zero-release'
> Creating support/modules_libs/java.base/libjsig.so from 1 file(s)
> Compiling 8 files for BUILD_TOOLS_LANGTOOLS
> Compiling 2 files for BUILD_JVMTI_TOOLS
> Parsing 1 properties into enum-like class for jdk.compiler
> Compiling 17 properties into resource bundles for jdk.compiler
> Compiling 12 properties into resource bundles for jdk.jdeps
> Compiling 7 properties into resource bundles for jdk.jshell
> Compiling 19 properties into resource bundles for jdk.javadoc
> Compiling 117 files for BUILD_INTERIM_java.compiler
> Creating support/modules_libs/java.base/server/libjvm.so from 547 file(s)
> Compiling 396 files for BUILD_INTERIM_jdk.compiler
> Compiling 61 files for BUILD_INTERIM_jdk.jdeps
> Compiling 457 files for BUILD_INTERIM_jdk.javadoc
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Compiling 159 files for BUILD_TOOLS_JDK
> Compiling 31 files for BUILD_JRTFS
> Compiling 198 files for BUILD_INTERIM_RMIC
> Compiling 141 files for BUILD_IDLJ
> Compiling 6 files for BUILD_TOOLS_CORBA
> Creating support/modules_libs/java.base/jrt-fs.jar
> Note: /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/corba/src/java.corba/share/classes/com/sun/tools/corba/se/idl/som/idlemit/MetaPragma.java uses or overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Compiling 11 properties into resource bundles for java.logging
> Compiling 4 properties into resource bundles for jdk.jlink
> Compiling 3 properties into resource bundles for jdk.jlink
> Compiling 2 files for BUILD_BREAKITERATOR_BASE
> Compiling 1 properties into resource bundles for jdk.jlink
> Compiling 3 files for COMPILE_CREATE_SYMBOLS
> Compiling 11 properties into resource bundles for jdk.management.agent
> Compiling 2 files for BUILD_BREAKITERATOR_LD
> Compiling 3 properties into resource bundles for jdk.jdi
> Compiling 11 properties into resource bundles for jdk.jartool
> Compiling 224 properties into resource bundles for jdk.localedata
> Compiling 11 properties into resource bundles for java.base
> Compiling 6 properties into resource bundles for java.base
> Creating ct.sym classes
> Creating support/symbols/ct.sym
> Compiling 100 properties into resource bundles for java.desktop
> Compiling 2902 files for java.base
> Compiling 6 files for java.xml.ws.annotation
> Compiling 46 files for jdk.internal.opt
> Compiling 15 files for java.scripting
> Compiling 8 files for jdk.crypto.ec
> Compiling 10 files for jdk.unsupported
> Compiling 10 files for java.instrument
> Compiling 21 files for java.smartcardio
> Compiling 46 files for jdk.internal.le
> Compiling 44 files for jdk.httpserver
> Compiling 14 files for jdk.zipfs
> Compiling 1 files for jdk.pack
> Compiling 1 files for jdk.jdwp.agent
> Compiling 118 files for java.compiler
> Compiling 18 files for java.datatransfer
> Compiling 34 files for java.logging
> Compiling 32 files for jdk.jartool
> Compiling 6 files for jdk.net
> Compiling 59 files for jdk.internal.jvmstat
> Compiling 124 files for jdk.incubator.httpclient
> Compiling 145 files for jdk.charsets
> Compiling 33 files for jdk.sctp
> Compiling 3 files for jdk.internal.ed
> Compiling 330 files for java.management
> Compiling 181 files for jdk.internal.vm.ci
> Creating support/modules_libs/java.base/libverify.so from 2 file(s)
> Creating support/modules_libs/java.base/libjava.so from 60 file(s)
> Creating support/native/java.base/libfdlibm.a from 57 file(s)
> Creating support/modules_libs/java.base/libzip.so from 5 file(s)
> Creating support/modules_libs/java.base/jli/libjli.so from 8 file(s)
> Creating support/modules_libs/java.base/libnet.so from 21 file(s)
> Creating support/modules_libs/java.base/libnio.so from 24 file(s)
> Creating support/modules_libs/java.base/libjimage.so from 6 file(s)
> Compiling 3 files for BUILD_OCLDVK_JAR
> Creating support/native/java.base/libocldvk/libocldvk.so from 3 file(s)
> Compiling 2102 files for jdk.localedata
> Compiling 1838 files for java.xml
> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/jdk/src/java.base/linux/native/libjava/ProcessHandleImpl_linux.c: In function 'getBoottime':
> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/jdk/src/java.base/linux/native/libjava/ProcessHandleImpl_linux.c:260:5: warning: implicit declaration of function 'getline' [-Wimplicit-function-declaration]
>       while (getline(&line,&len, fp) != -1) {
>       ^
> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/jdk/src/java.base/unix/native/libjava/ProcessHandleImpl_unix.c: In function 'unix_getUserInfo':
> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/jdk/src/java.base/unix/native/libjava/ProcessHandleImpl_unix.c:480:9: warning: implicit declaration of function 'getpwuid_r' [-Wimplicit-function-declaration]
>           RESTARTABLE(getpwuid_r(uid,&pwent, pwbuf, (size_t)getpw_buf_size,&p), result);
>           ^
> Compiling 67 files for jdk.crypto.cryptoki
> warning: [options] bootstrap class path not set in conjunction with -source 1.5
> warning: [options] source value 1.5 is obsolete and will be removed in a future release
> warning: [options] target value 1.5 is obsolete and will be removed in a future release
> warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
> Compiling 15 files for jdk.attach
> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/jdk/src/java.base/unix/native/libjava/io_util_md.c: In function 'handleSetLength':
> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/jdk/src/java.base/unix/native/libjava/io_util_md.c:227:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
>       if (fstat64(fd,&sb) == 0&&  length>  sb.st_blocks*512) {
>                                           ^
> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/jdk/src/java.base/unix/native/libjava/io_util_md.c:228:9: warning: implicit declaration of function 'fallocate64' [-Wimplicit-function-declaration]
>           RESTARTABLE(fallocate64(fd, 0, 0, length), result);
>           ^
> Compiling 30 files for java.security.sasl
> Compiling 25 files for java.activation
> Compiling 68 files for jdk.dynalink
> Compiling 399 files for jdk.compiler
> Compiling 127 files for java.rmi
> 4 warnings
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Compiling 250 files for jdk.jdi
> Compiling 38 files for jdk.jcmd
> Compiling 193 files for java.naming
> Compiling 117 files for BUILD_NASGEN
> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/jdk/src/java.base/linux/native/libnet/linux_close.c:61:25: error: '__SIGRTMAX' undeclared here (not in a function)
>   static int sigWakeup = (__SIGRTMAX - 2);
>                           ^
> make[3]: *** [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/support/native/java.base/libnet/linux_close.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> Compiling 595 files for jdk.scripting.nashorn
> Compiling 11 files for jdk.jstatd
> Compiling 4 files for java.transaction
> Warning: generation and use of skeletons and static stubs for JRMP
> is deprecated. Skeletons are unnecessary, and static stubs have
> been superseded by dynamically generated stubs. Users are
> encouraged to migrate away from using rmic to generate skeletons and static
> stubs. See the documentation for java.rmi.server.UnicastRemoteObject.
> make[3]: *** wait: No child processes.  Stop.
> make[2]: *** [java.base-libs] Error 1
> make[2]: *** Waiting for unfinished jobs....
> Running nasgen
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use or override a deprecated API that is marked for removal.
> Note: Recompile with -Xlint:removal for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
>
> ERROR: Build failed for target 'jre-image' in configuration 'android-arm-normal-zero-release' (exit code 2)
> ----- Build times -------
> Start 2018-08-30 17:02:19
> End   2018-08-30 17:03:28
>
> 00:01:09 TOTAL
> -------------------------
> ########################################################################
>
>
>
> -----邮件原件-----
> 发件人: Magnus Ihse Bursie [mailto:magnus.ihse.bursie at oracle.com]
> 发送时间: 2018年8月30日 16:38
> 收件人: zhangfan (AZ)<zhangfan147 at huawei.com>; gary.adams at oracle.com
> 抄送: Johan Vos<johan.vos at gluonhq.com>; yuanxiang (F)<yuanxiang4 at huawei.com>; xieshengzhen<xieshengzhen at huawei.com>; xietuo<xietuo at huawei.com>; dingbin (C)<dingbin5 at huawei.com>; mobile-dev at openjdk.java.net
> 主题: Re: 答复: 答复: 答复: 答复: How to build openjdk mobile project android platform successfully and how does the mobile project adapt to bionic C ?
>
> On 2018-08-30 02:38, zhangfan (AZ) wrote:
>> Hi,
>>
>> I use parameters as the guide indicates:
>>
>> $HOME/jdk9mobile/android-ndk-r10b/build/tools/make-standalone-toolchain.sh \
>> --arch=arm \
>> --platform=android-19 \
>> --install-dir=$HOME/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain
>>
>>
>> And there's no ucontext.h in the sysroot (/home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/sysroot).
> So that's the reason it does not compile. I don't have any deep
> knowledge about the android toolchain, but my guess is that either your
> toolchain installation is broken, or you are using a too old toolchain.
>
> Can you try using the same toolchain as Gary, which apparently has a
> ucontext.h?
>
> /Magnus
>
>>
>>
>>
>> -----邮件原件-----
>> 发件人: Gary Adams [mailto:gary.adams at oracle.com]
>> 发送时间: 2018年8月29日 19:53
>> 收件人: Magnus Ihse Bursie<magnus.ihse.bursie at oracle.com>; zhangfan (AZ)<zhangfan147 at huawei.com>
>> 抄送: Johan Vos<johan.vos at gluonhq.com>; yuanxiang (F)<yuanxiang4 at huawei.com>; xieshengzhen<xieshengzhen at huawei.com>; xietuo<xietuo at huawei.com>; dingbin (C)<dingbin5 at huawei.com>; mobile-dev at openjdk.java.net
>> 主题: Re: 答复: 答复: 答复: How to build openjdk mobile project android platform successfully and how does the mobile project adapt to bionic C ?
>>
>> When you generated the stand alone android toolchain what parameter did
>> you give for "--api".
>> I see from my local scripts we were using "--api 19" for 32 bit platforms.
>> e.g.  android-ndk-13b/platforms/android-19/arch-x86/usr/include/ucontext.h
>>
>>
>> On 8/29/18, 7:37 AM, Magnus Ihse Bursie wrote:
>>> Is there indeed an ucontext.h in the sysroot
>>> /home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/sysroot?
>>>
>>> /Magnus
>>>
>>> On 2018-08-28 11:15, zhangfan (AZ) wrote:
>>>> Hi,
>>>>
>>>> configure.log
>>>> #####################################################################################################
>>>>
>>>> configure: Configuration created at Tue Aug 28 15:44:23 CST 2018.
>>>> configure: configure script generated at timestamp 1498218636.
>>>> checking for basename... /usr/bin/basename
>>>> checking for bash... /bin/bash
>>>> checking for cat... /bin/cat
>>>> checking for chmod... /bin/chmod
>>>> checking for cmp... /usr/bin/cmp
>>>> checking for comm... /usr/bin/comm
>>>> checking for cp... /bin/cp
>>>> checking for cut... /usr/bin/cut
>>>> checking for date... /bin/date
>>>> checking for gdiff... no
>>>> checking for diff... /usr/bin/diff
>>>> checking for dirname... /usr/bin/dirname
>>>> checking for echo... /bin/echo
>>>> checking for expr... /usr/bin/expr
>>>> checking for file... /usr/bin/file
>>>> checking for find... /usr/bin/find
>>>> checking for head... /usr/bin/head
>>>> checking for gunzip... /bin/gunzip
>>>> checking for pigz... /usr/bin/pigz
>>>> checking for ln... /bin/ln
>>>> checking for ls... /bin/ls
>>>> checking for mkdir... /bin/mkdir
>>>> checking for mktemp... /bin/mktemp
>>>> checking for mv... /bin/mv
>>>> checking for nawk... /usr/bin/nawk
>>>> checking for printf... /usr/bin/printf
>>>> checking for rm... /bin/rm
>>>> checking for rmdir... /bin/rmdir
>>>> checking for sh... /bin/sh
>>>> checking for sort... /usr/bin/sort
>>>> checking for tail... /usr/bin/tail
>>>> checking for gtar... no
>>>> checking for tar... /bin/tar
>>>> checking for tee... /usr/bin/tee
>>>> checking for touch... /bin/touch
>>>> checking for tr... /usr/bin/tr
>>>> checking for uname... /bin/uname
>>>> checking for uniq... /usr/bin/uniq
>>>> checking for wc... /usr/bin/wc
>>>> checking for which... /bin/which
>>>> checking for xargs... /usr/bin/xargs
>>>> checking for gawk... gawk
>>>> checking for grep that handles long lines and -e... /bin/grep
>>>> checking for egrep... /bin/grep -E
>>>> checking for fgrep... /bin/grep -F
>>>> checking for a sed that does not truncate output... /bin/sed
>>>> checking for cygpath... no
>>>> checking for greadlink... no
>>>> checking for readlink... /bin/readlink
>>>> checking for df... /bin/df
>>>> checking for cpio... /bin/cpio
>>>> checking for nice... /usr/bin/nice
>>>> checking for pandoc... no
>>>> checking build system type... x86_64-unknown-linux-gnu
>>>> checking host system type... arm-linux-androideabi
>>>> checking target system type... arm-linux-androideabi
>>>> checking openjdk-build os-cpu... linux-x86_64
>>>> checking openjdk-target os-cpu... android-arm
>>>> checking compilation type... cross
>>>> checking for top-level directory...
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9
>>>> checking if custom source is suppressed (openjdk-only)... no
>>>> checking which variant of the JDK to build... normal
>>>> checking which debug level to use... release
>>>> checking which variants of the JVM to build... zero
>>>> checking for devkit... Android ARM in
>>>> /home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain
>>>> checking for sysroot...
>>>> /home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/sysroot
>>>> checking for toolchain path...
>>>> /home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/arm-linux-androideabi/bin
>>>> checking for extra path...
>>>> checking where to store configuration... in default location
>>>> checking what configuration name to use...
>>>> android-arm-normal-zero-release
>>>> checking for apt-get... apt-get
>>>> checking for gmake... no
>>>> checking for make... /usr/bin/make
>>>> configure: Testing potential make at /usr/bin/make, found using make
>>>> in PATH
>>>> configure: Using GNU make at /usr/bin/make (version: GNU Make 4.1)
>>>> checking if make --output-sync is supported... yes
>>>> checking for output-sync value... none
>>>> checking if find supports -delete... yes
>>>> checking what type of tar was found... gnu
>>>> checking that grep (/bin/grep) -Fx handles empty lines in the pattern
>>>> list correctly... yes
>>>> checking for unzip... /usr/bin/unzip
>>>> checking for zip... /usr/bin/zip
>>>> checking for ldd... /usr/bin/ldd
>>>> checking for otool... no
>>>> checking for greadelf... no
>>>> checking for readelf... /usr/bin/readelf
>>>> checking for dot... /usr/bin/dot
>>>> checking for hg... /usr/bin/hg
>>>> checking for stat... /usr/bin/stat
>>>> checking for time... /usr/bin/time
>>>> checking for dtrace... no
>>>> checking for gpatch... no
>>>> checking for patch... /usr/bin/patch
>>>> checking bash version... 4.3.48
>>>> checking if bash supports pipefail... yes
>>>> checking if bash supports errexit (-e)... yes
>>>> checking for arm-linux-androideabi-pkg-config... no
>>>> checking for pkg-config... /usr/bin/pkg-config
>>>> configure: WARNING: using cross tools not prefixed with host triplet
>>>> checking pkg-config is at least version 0.9.0... yes
>>>> checking headless only... yes
>>>> checking for graphviz dot... yes
>>>> checking for pandoc... no, cannot generate full docs
>>>> checking full docs... no, missing dependencies
>>>> checking if packaged modules are kept... yes (default)
>>>> checking for version string... 9-internal+0-adhoc.zhangfan.mobile-jdk9
>>>> configure: Found potential Boot JDK using JAVA_HOME
>>>> configure: Potential Boot JDK found at
>>>> /home/zhangfan/tools/openjdk-builds/jdk1.8.0_192/bin did not contain
>>>> bin/java; ignoring
>>>> checking for javac...
>>>> /home/zhangfan/tools/openjdk-builds/jdk1.8.0_192/bin/javac
>>>> checking for java...
>>>> /home/zhangfan/tools/openjdk-builds/jdk1.8.0_192/bin/java
>>>> configure: Found potential Boot JDK using java(c) in PATH
>>>> checking for Boot JDK...
>>>> /home/zhangfan/tools/openjdk-builds/jdk1.8.0_192
>>>> checking Boot JDK version... java version "1.8.0_192-ea" Java(TM) SE
>>>> Runtime Environment (build 1.8.0_192-ea-b04) Java HotSpot(TM) 64-Bit
>>>> Server VM (build 25.192-b04, mixed mode)
>>>> checking for java in Boot JDK... ok
>>>> checking for javac in Boot JDK... ok
>>>> checking for javah in Boot JDK... ok
>>>> checking for jar in Boot JDK... ok
>>>> checking for jarsigner in Boot JDK... ok
>>>> checking if Boot JDK supports modules... no
>>>> checking if Boot JDK is 32 or 64 bits... 64
>>>> checking for Build JDK... yes, will build it for the host platform
>>>> configure: Using default toolchain gcc (GNU Compiler Collection)
>>>> checking for arm-linux-androideabi-gcc... no
>>>> checking for gcc...
>>>> /home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/arm-linux-androideabi/bin/gcc
>>>> checking resolved symbolic links for CC...
>>>> /home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-gcc
>>>> configure: Using gcc C compiler version 4.6 [gcc (GCC) 4.6 20120106
>>>> (prerelease)]
>>>> checking for
>>>> arm-linux-androideabi-/home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/arm-linux-androideabi/bin/gcc...
>>>> /home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/arm-linux-androideabi/bin/gcc
>>>>
>>>> checking whether the C compiler works... yes
>>>> checking for C compiler default output file name... a.out
>>>> checking for suffix of executables...
>>>> checking whether we are cross compiling... yes
>>>> checking for suffix of object files... o
>>>> checking whether we are using the GNU C compiler... yes
>>>> checking whether
>>>> /home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/arm-linux-androideabi/bin/gcc
>>>> accepts -g... yes
>>>> checking for
>>>> /home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/arm-linux-androideabi/bin/gcc
>>>> option to accept ISO C89... none needed
>>>> checking for arm-linux-androideabi-g++... no
>>>> checking for g++...
>>>> /home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/arm-linux-androideabi/bin/g++
>>>> checking resolved symbolic links for CXX...
>>>> /home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-g++
>>>> configure: Using gcc C++ compiler version 4.6 [g++ (GCC) 4.6 20120106
>>>> (prerelease)]
>>>> checking whether we are using the GNU C++ compiler... yes
>>>> checking whether
>>>> /home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/arm-linux-androideabi/bin/g++
>>>> accepts -g... yes
>>>> checking how to run the C preprocessor...
>>>> /home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/arm-linux-androideabi/bin/gcc
>>>> -E
>>>> checking how to run the C++ preprocessor...
>>>> /home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/arm-linux-androideabi/bin/g++
>>>> -E
>>>> checking for arm-linux-androideabi-ar... arm-linux-androideabi-ar
>>>> configure: Rewriting AR to
>>>> "/home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-ar"
>>>> checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip
>>>> configure: Rewriting STRIP to
>>>> "/home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-strip"
>>>> checking for arm-linux-androideabi-nm... arm-linux-androideabi-nm
>>>> configure: Rewriting NM to
>>>> "/home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-nm"
>>>> checking for arm-linux-androideabi-gobjcopy... no
>>>> checking for arm-linux-androideabi-objcopy...
>>>> arm-linux-androideabi-objcopy
>>>> configure: Rewriting OBJCOPY to
>>>> "/home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-objcopy"
>>>> checking for arm-linux-androideabi-gobjdump... no
>>>> checking for arm-linux-androideabi-objdump...
>>>> arm-linux-androideabi-objdump
>>>> configure: Rewriting OBJDUMP to
>>>> "/home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/bin/arm-linux-androideabi-objdump"
>>>> checking for cl... no
>>>> checking for cc... /usr/bin/cc
>>>> checking for cl... no
>>>> checking for CC... no
>>>> checking for g++... /usr/bin/g++
>>>> checking for nm... /usr/bin/nm
>>>> checking for ar... /usr/bin/ar
>>>> checking for objcopy... /usr/bin/objcopy
>>>> checking for strip... /usr/bin/strip
>>>> configure: Using gcc BuildC compiler version 5.4.0 [cc (Ubuntu
>>>> 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609]
>>>> configure: Using gcc BuildC++ compiler version 5.4.0 [g++ (Ubuntu
>>>> 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609]
>>>> checking if the C compiler supports "-Og"... no
>>>> checking if the C++ compiler supports "-Og"... no
>>>> checking if both compilers support "-Og"... no
>>>> checking if linker supports "-Wl,-z,relro"... yes
>>>> checking if linker supports "-Wl,-z,now"... yes
>>>> checking for jtreg... no
>>>> checking for jtreg test harness... no, not found
>>>> checking if @file is supported by gcc... yes
>>>> checking for ANSI C header files... yes
>>>> checking for sys/types.h... yes
>>>> checking for sys/stat.h... yes
>>>> checking for stdlib.h... yes
>>>> checking for string.h... yes
>>>> checking for memory.h... yes
>>>> checking for strings.h... yes
>>>> checking for inttypes.h... yes
>>>> checking for stdint.h... yes
>>>> checking for unistd.h... yes
>>>> checking stdio.h usability... yes
>>>> checking stdio.h presence... yes
>>>> checking for stdio.h... yes
>>>> checking size of int *... 4
>>>> checking for target address size... 32 bits
>>>> checking whether byte ordering is bigendian... no
>>>> checking if the C++ compiler supports "-std=gnu++98 -Werror"... yes
>>>> checking if the C++ compiler supports "-std=gnu++98 -Werror"... yes
>>>> checking if the C compiler supports "-m32"... no
>>>> checking if the C++ compiler supports "-m32"... no
>>>> checking if both compilers support "-m32"... no
>>>> checking if native warnings are errors... no
>>>> checking if the C compiler supports
>>>> "-Wno-this-is-a-warning-that-do-not-exist"... yes
>>>> checking if the C++ compiler supports
>>>> "-Wno-this-is-a-warning-that-do-not-exist"... yes
>>>> checking if both compilers support
>>>> "-Wno-this-is-a-warning-that-do-not-exist"... yes
>>>> checking if the C compiler supports
>>>> "-Wno-this-is-a-warning-that-do-not-exist"... no
>>>> checking if the C++ compiler supports
>>>> "-Wno-this-is-a-warning-that-do-not-exist"... no
>>>> checking if both compilers support
>>>> "-Wno-this-is-a-warning-that-do-not-exist"... no
>>>> checking what type of native debug symbols to use... zipped
>>>> checking for dtrace tool... not found, cannot build dtrace
>>>> checking sys/sdt.h usability... no
>>>> checking sys/sdt.h presence... no
>>>> checking for sys/sdt.h... no
>>>> checking if dtrace should be built... no, missing dependencies
>>>> checking if Hotspot gtest unit tests should be built... yes
>>>> checking if static link of stdc++ is possible... yes
>>>> checking how to link with libstdc++... static
>>>> checking for cups headers... yes
>>>> configure: Found freetype include files at
>>>> /home/zhangfan/code/dev/jdk9mobile/freetype-2.6.2/build_android-arm/include/freetype2
>>>> using --with-freetype
>>>> checking for freetype includes...
>>>> /home/zhangfan/code/dev/jdk9mobile/freetype-2.6.2/build_android-arm/include/freetype2
>>>> checking for freetype libraries...
>>>> /home/zhangfan/code/dev/jdk9mobile/freetype-2.6.2/build_android-arm/lib
>>>> checking if we can compile and link with freetype... yes
>>>> checking if we should bundle freetype... yes
>>>> checking if libffi works... yes
>>>> checking if libffi should be bundled... no
>>>> checking for which libjpeg to use... bundled
>>>> checking for which giflib to use... bundled
>>>> checking for which libpng to use... bundled
>>>> checking for compress in -lz... yes
>>>> checking for which zlib to use... system
>>>> checking for which lcms to use... bundled
>>>> checking for cos in -lm... yes
>>>> checking for dlopen in -ldl... yes
>>>> checking if jdk.internal.vm.compiler should be built... no
>>>> checking if aot should be enabled... no
>>>> checking if elliptic curve crypto implementation is present... yes
>>>> checking if jtreg failure handler should be built... no, missing jtreg
>>>> checking if the CDS classlist generation should be enabled... no
>>>> checking for number of cores... 144
>>>> checking for memory size... 515824 MB
>>>> checking for appropriate number of jobs to run in parallel... 144
>>>> checking flags for boot jdk java command ...  -Duser.language=en
>>>> -Duser.country=US
>>>> checking flags for boot jdk java command for big workloads...
>>>> -Xms64M -Xmx1600M -XX:ThreadStackSize=1536
>>>> checking flags for bootcycle boot jdk java command for big
>>>> workloads... -Xms64M -Xmx1024M -XX:ThreadStackSize=768
>>>> checking flags for boot jdk java command for small workloads...
>>>> -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
>>>> checking whether to use sjavac... no
>>>> checking whether to use javac server... yes
>>>> checking If precompiled header is enabled... yes
>>>> checking that precompiled headers work... yes
>>>> checking is ccache enabled... no
>>>> checking if build directory is on local disk... yes
>>>> checking JVM features for JVM variant 'zero'... all-gcs cds fprof
>>>> jni-check jvmti management nmt services vm-structs zero
>>>> configure: creating
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/configure-support/config.status
>>>> config.status: creating
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/spec.gmk
>>>> config.status: creating
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/bootcycle-spec.gmk
>>>> config.status: creating
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/buildjdk-spec.gmk
>>>> config.status: creating
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/compare.sh
>>>> config.status: creating
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/Makefile
>>>>
>>>> ====================================================
>>>> A new configuration has been successfully created in
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release
>>>>
>>>> using configure arguments '--enable-option-checking=fatal
>>>> --build=x86_64-unknown-linux-gnu --host=arm-linux-androideabi
>>>> --target=arm-linux-androideabi --disable-warnings-as-errors
>>>> --enable-headless-only --with-jdk-variant=normal
>>>> --with-jvm-variants=zero
>>>> --with-libffi-include=/home/zhangfan/code/dev/jdk9mobile/libffi-3.2.1/build_android-arm/include
>>>> --with-libffi-lib=/home/zhangfan/code/dev/jdk9mobile/libffi-3.2.1/build_android-arm/lib
>>>> --with-cups-include=/home/zhangfan/code/dev/jdk9mobile
>>>> --with-devkit=/home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain
>>>> --with-debug-level=release
>>>> --with-freetype-lib=/home/zhangfan/code/dev/jdk9mobile/freetype-2.6.2/build_android-arm/lib
>>>> --with-freetype-include=/home/zhangfan/code/dev/jdk9mobile/freetype-2.6.2/build_android-arm/include/freetype2'.
>>>>
>>>>
>>>> Configuration summary:
>>>> * Debug level:    release
>>>> * HS debug level: product
>>>> * JDK variant:    normal
>>>> * JVM variants:   zero
>>>> * OpenJDK target: OS: android, CPU architecture: arm, address length: 32
>>>> * Version string: 9-internal+0-adhoc.zhangfan.mobile-jdk9 (9-internal)
>>>>
>>>> Tools summary:
>>>> * Boot JDK:       java version "1.8.0_192-ea" Java(TM) SE Runtime
>>>> Environment (build 1.8.0_192-ea-b04) Java HotSpot(TM) 64-Bit Server
>>>> VM (build 25.192-b04, mixed mode)  (at
>>>> /home/zhangfan/tools/openjdk-builds/jdk1.8.0_192)
>>>> * Toolchain:      gcc (GNU Compiler Collection)
>>>> * C Compiler:     Version 4.6 (at
>>>> /home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/arm-linux-androideabi/bin/gcc)
>>>> * C++ Compiler:   Version 4.6 (at
>>>> /home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolchains/android-arm-toolchain/arm-linux-androideabi/bin/g++)
>>>>
>>>> Build performance summary:
>>>> * Cores to use:   144
>>>> * Memory limit:   515824 MB
>>>>
>>>> The following warnings were produced. Repeated here for convenience:
>>>> WARNING: using cross tools not prefixed with host triplet
>>>> #####################################################################################################
>>>>
>>>>
>>>>
>>>> build.log
>>>> #####################################################################################################
>>>>
>>>> Building target 'jre-image' in configuration
>>>> 'android-arm-normal-zero-release'
>>>> Compiling 8 files for BUILD_TOOLS_LANGTOOLS
>>>> Compiling 2 files for BUILD_JVMTI_TOOLS
>>>> Creating support/modules_libs/java.base/libjsig.so from 1 file(s)
>>>> Compiling 19 properties into resource bundles for jdk.javadoc
>>>> Compiling 7 properties into resource bundles for jdk.jshell
>>>> Compiling 12 properties into resource bundles for jdk.jdeps
>>>> Parsing 1 properties into enum-like class for jdk.compiler
>>>> Compiling 17 properties into resource bundles for jdk.compiler
>>>> Compiling 117 files for BUILD_INTERIM_java.compiler
>>>> Creating support/modules_libs/java.base/server/libjvm.so from 547
>>>> file(s)
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/gc/parallel/asPSYoungGen.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/interpreter/abstractInterpreter.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/cpu/zero/vm/abstractInterpreter_zero.cpp:26:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/gc/shared/ageTable.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/gc/parallel/adjoiningVirtualSpaces.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/gc/shared/allocTracer.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/compiler/abstractCompiler.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/allocation.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/allocation.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/gc/cms/allocationStats.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> make[3]: *** Waiting for unfinished jobs....
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/interpreter/bytecodeHistogram.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/adjoiningVirtualSpaces.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/adjoiningVirtualSpaces.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/basicLock.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/classfile/classLoaderData.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/classfile/moduleEntry.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/classfile/vmSymbols.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp:26:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/gc/shared/blockOffsetTable.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/interpreter/bytecode.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/gc/serial/cSpaceCounters.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/allocTracer.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/allocTracer.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/classfile/bytecodeAssembler.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/asPSYoungGen.o]
>>>> Error 1
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/asPSYoungGen.o'
>>>> failed
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/interpreter/bytecodes.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/abstractCompiler.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/abstractCompiler.o]
>>>> Error 1
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/abstractInterpreter_zero.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/abstractInterpreter_zero.o]
>>>> Error 1
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/advancedThresholdPolicy.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/advancedThresholdPolicy.o]
>>>> Error 1
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/basicLock.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/basicLock.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/gc/cms/adaptiveFreeList.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/classfile/altHashing.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/os/linux/vm/attachListener_linux.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/interpreter/bytecodeTracer.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/asPSOldGen.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/asPSOldGen.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/cpu/zero/vm/bytecodeInterpreter_zero.cpp:26:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/gc/parallel/adjoiningGenerations.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/blockOffsetTable.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/blockOffsetTable.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/gc/parallel/asPSOldGen.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/bytecode.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/bytecode.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/gc/shared/adaptiveSizePolicy.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/interpreter/bytecodeStream.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/advancedThresholdPolicy.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/bytecodeAssembler.o]
>>>> Error 1
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/bytecodeAssembler.o'
>>>> failed
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/arguments.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/arguments_ext.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/gc/shared/ageTableTracer.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/services/attachListener.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/annotations.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/bytecodeInterpreter_zero.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/bytecodeInterpreter_zero.o]
>>>> Error 1
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/altHashing.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/altHashing.o]
>>>> Error 1
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/bytecodeHistogram.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/adjoiningGenerations.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/bytecodeInterpreter.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/abstractInterpreter.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/assembler.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/bytecodes.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/adaptiveSizePolicy.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ageTable.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/adaptiveFreeList.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ageTableTracer.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/bytecodeStream.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/arguments.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/cSpaceCounters.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciConstantPoolCache.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/annotations.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/allocationStats.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciArray.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/attachListener.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/attachListener_linux.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/bytecodeTracer.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/barrierSet.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/bitMap.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciInstanceKlass.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/cardTableExtension.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/arguments_ext.o'
>>>> failed
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/ci/ciArray.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/bytecodeHistogram.o]
>>>> Error 1
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/adjoiningGenerations.o]
>>>> Error 1
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/bytecodeInterpreter.o]
>>>> Error 1
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/abstractInterpreter.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/gc/shared/barrierSet.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/ci/ciInstanceKlass.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/assembler.o]
>>>> Error 1
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/bytecodes.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/ci/ciConstantPoolCache.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/adaptiveSizePolicy.o]
>>>> Error 1
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ageTable.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/bitMap.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/adaptiveFreeList.lib/CompileJvm.gmk:214:
>>>> recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/binaryTreeDictionary.o'
>>>> failed
>>>> o] Error 1
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ageTableTracer.o]
>>>> Error 1
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/bytecodeStream.o]
>>>> Error 1
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/arguments.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/gc/parallel/cardTableExtension.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/cSpaceCounters.o]
>>>> Error 1
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciConstantPoolCache.o]
>>>> Error 1
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/annotations.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/accessFlags.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/allocationStats.o]
>>>> Error 1
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciArray.o]
>>>> Error 1
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/attachListener.o]
>>>> Error 1
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/attachListener_linux.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/gc/shared/cardTableModRefBS.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/bytecodeTracer.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/classfile/classLoaderData.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/classfile/moduleEntry.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/classfile/vmSymbols.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp:26,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/gensrc/jvmtifiles/bytecodeInterpreterWithChecks.cpp:3:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/barrierSet.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/ci/ciCallSite.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/biasedLocking.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/ci/ciField.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/bitMap.o]
>>>> Error 1
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciInstanceKlass.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/ci/ciInstance.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/cardTableExtension.o]
>>>> Error 1
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/arguments_ext.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/ci/ciKlass.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/ci/ciMemberName.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> compilation terminated.
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/binaryTreeDictionary.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/cpu/zero/vm/assembler_zero.cpp:26:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/gc/shared/cardTableRS.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> compilation terminated.
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/accessFlags.o'
>>>> failed
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/ci/ciFlags.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/accessFlags.o]
>>>> Error 1
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciCallSite.o'
>>>> failed
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/ci/ciEnv.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciCallSite.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/ci/ciExceptionHandler.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/gc/shared/cardGeneration.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/gc/shared/cardTableModRefBSForCTRS.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciField.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciField.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/ci/ciMethodBlocks.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/biasedLocking.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/biasedLocking.o]
>>>> Error 1
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciInstance.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciInstance.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/arrayKlass.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciKlass.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciKlass.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/ci/ciConstant.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/cardTableRS.o]
>>>> Error 1
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/cardTableRS.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciMemberName.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciMemberName.o]
>>>> Error 1
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciFlags.o]
>>>> Error 1
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciFlags.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciEnv.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciEnv.o]
>>>> Error 1
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/assembler_zero.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/assembler_zero.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/ci/ciArrayKlass.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciExceptionHandler.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciExceptionHandler.o]
>>>> Error 1
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/cardGeneration.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/cardGeneration.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/ci/ciBaseObject.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/cardTableModRefBSForCTRS.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/cardTableModRefBSForCTRS.o]
>>>> Error 1
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/bytecodeInterpreterWithChecks.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/bytecodeInterpreterWithChecks.o]
>>>> Error 1
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciMethodBlocks.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciMethodBlocks.o]
>>>> Error 1
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/cardTableModRefBS.o]
>>>> Error 1
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/cardTableModRefBS.o'
>>>> failed
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/arrayKlass.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/arrayKlass.o]
>>>> Error 1
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciConstant.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciConstant.o]
>>>> Error 1
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciArrayKlass.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciArrayKlass.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/ci/ciMethod.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciBaseObject.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciBaseObject.o]
>>>> Error 1
>>>> In file included from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions.hpp:33:0,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/debug.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/globals.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/allocation.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/iterator.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/oops/oop.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/runtime/handles.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/memory/universe.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/code/oopRecorder.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/asm/assembler.hpp:28,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
>>>>                     from
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/ci/ciMetadata.cpp:25:
>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:79:22:
>>>> fatal error: ucontext.h: No such file or directory
>>>> compilation terminated.
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciMethod.o'
>>>> failed
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciMethod.o]
>>>> Error 1
>>>> make[3]: ***
>>>> [/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciMetadata.o]
>>>> Error 1
>>>> lib/CompileJvm.gmk:214: recipe for target
>>>> '/home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/build/android-arm-normal-zero-release/hotspot/variant-zero/libjvm/objs/ciMetadata.o'
>>>> failed
>>>> make[2]: *** [hotspot-zero-libs] Error 1
>>>> make/Main.gmk:263: recipe for target 'hotspot-zero-libs' failed
>>>> make[2]: *** Waiting for unfinished jobs....
>>>> Compiling 396 files for BUILD_INTERIM_jdk.compiler
>>>> Compiling 61 files for BUILD_INTERIM_jdk.jdeps
>>>> Compiling 457 files for BUILD_INTERIM_jdk.javadoc
>>>> Note: Some input files use or override a deprecated API.
>>>> Note: Recompile with -Xlint:deprecation for details.
>>>>
>>>> ERROR: Build failed for target 'jre-image' in configuration
>>>> 'android-arm-normal-zero-release' (exit code 2)
>>>> ----- Build times -------
>>>> Start 2018-08-28 15:45:30
>>>> End   2018-08-28 15:45:46
>>>>
>>>> 00:00:16 TOTAL
>>>> -------------------------
>>>>
>>>> #####################################################################################################
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> -----邮件原件-----
>>>> 发件人: Magnus Ihse Bursie [mailto:magnus.ihse.bursie at oracle.com]
>>>> 发送时间: 2018年8月28日 17:11
>>>> 收件人: zhangfan (AZ)<zhangfan147 at huawei.com>; Johan Vos
>>>> <johan.vos at gluonhq.com>
>>>> 抄送: xieshengzhen<xieshengzhen at huawei.com>; dingbin (C)
>>>> <dingbin5 at huawei.com>; yuanxiang (F)<yuanxiang4 at huawei.com>;
>>>> mobile-dev at openjdk.java.net; xietuo<xietuo at huawei.com>
>>>> 主题: Re: 答复: 答复: How to build openjdk mobile project android
>>>> platform successfully and how does the mobile project adapt to bionic
>>>> C ?
>>>>
>>>> On 2018-08-28 09:44, zhangfan (AZ) wrote:
>>>>> Hi,
>>>>>
>>>>> Attachments are my configure and build’s logs and outputs.
>>>>> Please help figure out how to build the mobile project successfully.
>>>> Unfortunately, attachments are stripped by the mailing list server. :-(
>>>>
>>>> Please include them inline in the text, or put them on an extern site.
>>>>
>>>> /Magnus
>>>>> 发件人: Johan Vos [mailto:johan.vos at gluonhq.com]
>>>>> 发送时间: 2018年8月28日 15:20
>>>>> 收件人: zhangfan (AZ)<zhangfan147 at huawei.com>
>>>>> 抄送: gary.adams at oracle.com; mobile-dev at openjdk.java.net; xietuo
>>>>> <xietuo at huawei.com>
>>>>> 主题: Re: 答复: How to build openjdk mobile project android platform
>>>>> successfully and how does the mobile project adapt to bionic C ?
>>>>>
>>>>> Hi,
>>>>>
>>>>> Configuration and build logs are always helpful.
>>>>>
>>>>> - Johan
>>>>>
>>>>> On Tue, Aug 28, 2018 at 4:04 AM zhangfan (AZ)
>>>>> <zhangfan147 at huawei.com<mailto:zhangfan147 at huawei.com>>  wrote:
>>>>> Hi,
>>>>>
>>>>> I tried using a newer toolchian (android-ndk-13b) and also adding
>>>>> back the code as you guided, but still failed.
>>>>> I think could you help provide your steps and configurations that
>>>>> can build the mobile project android platform successfully ?
>>>>> Or need I attach the full configuration and build logs ?
>>>>> Thanks!
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -----邮件原件-----
>>>>> 发件人: gary.adams at oracle.com<mailto:gary.adams at oracle.com>
>>>>> [mailto:gary.adams at oracle.com<mailto:gary.adams at oracle.com>]
>>>>> 发送时间: 2018年8月25日 19:32
>>>>> 收件人: zhangfan (AZ)
>>>>> <zhangfan147 at huawei.com<mailto:zhangfan147 at huawei.com>>;
>>>>> mobile-dev at openjdk.java.net<mailto:mobile-dev at openjdk.java.net>
>>>>> 抄送: xietuo<xietuo at huawei.com<mailto:xietuo at huawei.com>>
>>>>> 主题: Re: 答复: How to build openjdk mobile project android platform
>>>>> successfully and how does the mobile project adapt to bionic C ?
>>>>>
>>>>> It looks like there was an update in the toolchain and the
>>>>> workaround was removed in perfMemory_linux.cpp when andoid-arm
>>>>> support was included in the mobile repos.
>>>>>
>>>>>        http://hg.openjdk.java.net/mobile/jdk9/hotspot/rev/647ec6c17c56
>>>>>
>>>>> You could try adding back the code that was removed, or move up to a
>>>>> newer toolchain. e.g android-ndk-13b was the last toolchain we used
>>>>>
>>>>> On 8/25/18 6:57 AM,
>>>>> gary.adams at oracle.com<mailto:gary.adams at oracle.com>  wrote:
>>>>>> The android compiler will set the __ANDROID__ build flag.
>>>>>> The __ANDROID__ workarounds are in the mobile repos.
>>>>>>
>>>>>>     From the  LOG=debug output can you provide the command line used to
>>>>>> compile the file that is failing.
>>>>>>
>>>>>> I'm not sure you have the right sources or toolchain setup.
>>>>>>
>>>>>> On 8/25/18 2:15 AM, zhangfan (AZ) wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> Thank you for your quick response.
>>>>>>> I tried the "make jre-image" command and failed in the same way.
>>>>>>> Do I need to enable the "__ANDROID__" manually? Because the build
>>>>>>> errors occur due to the use of the lacking functions the bionic
>>>>>>> doesn't provide.
>>>>>>>
>>>>>>>
>>>>>>> -----邮件原件-----
>>>>>>> 发件人: mobile-dev
>>>>>>> [mailto:mobile-dev-bounces at openjdk.java.net<mailto:mobile-dev-bounce
>>>>>>> s at openjdk.java.net>] 代表
>>>>>>> gary.adams at oracle.com<mailto:gary.adams at oracle.com>
>>>>>>> 发送时间: 2018年8月24日 18:45
>>>>>>> 收件人: guoge (A)<guoge1 at huawei.com<mailto:guoge1 at huawei.com>>;
>>>>>>> mobile-dev at openjdk.java.net<mailto:mobile-dev at openjdk.java.net>
>>>>>>> 抄送: xietuo<xietuo at huawei.com<mailto:xietuo at huawei.com>>
>>>>>>> 主题: Re: How to build openjdk mobile project android platform
>>>>>>> successfully and how does the mobile project adapt to bionic C ?
>>>>>>>
>>>>>>> Only the java runtime libraries were ported to run in the Android
>>>>>>> app environment.
>>>>>>> You can not build a full jdk image.
>>>>>>>
>>>>>>> The mobile repos already has the needed "#if defined(__ANDROID__)
>>>>>>> ..."
>>>>>>> directives with alternate implementations for missing bionic
>>>>>>> functions.
>>>>>>>
>>>>>>> To debug build errors it helps to add "LOG=debug" to your make
>>>>>>> command line.
>>>>>>> The error may be in the creation of a local build-jdk image prior to
>>>>>>> the building of the target platform jre libraries.
>>>>>>>
>>>>>>> On 8/24/18 4:13 AM, guoge (A) wrote:
>>>>>>>> Hi mobile-dev,
>>>>>>>>
>>>>>>>>                       I want to build an android openjdk from the
>>>>>>>> mobile
>>>>>>>> project.(http://hg.openjdk.java.net/mobile/jdk9/)
>>>>>>>>                       I followed the
>>>>>>>> guide(http://openjdk.java.net/projects/mobile/android.html) but
>>>>>>>> failed in the "make images" phase.
>>>>>>>>                       I tried two versions of NDK
>>>>>>>> toolchains(android-ndk32-r10b-linux-x86_64 and
>>>>>>>> android-ndk-r10e-linux-x86_64) and the followings are the configure
>>>>>>>> and make images command outputs, could you help figure out why the
>>>>>>>> project can't be built successfully?
>>>>>>>>
>>>>>>>>                       In addition, could you tell me how the mobile
>>>>>>>> project adapts to the bionic C when bionic C lacks some functions
>>>>>>>> the openjdk needs(such as ucontext.h, getpwuid_r etc.)?
>>>>>>>>
>>>>>>>>                       Thanks.
>>>>>>>>
>>>>>>>>
>>>>>>>> android-ndk-r10b
>>>>>>>> -------------------------------------------------------------------
>>>>>>>> -
>>>>>>>> -- 
>>>>>>>> ----
>>>>>>>> configure:
>>>>>>>> Configuration summary:
>>>>>>>> * Debug level:    release
>>>>>>>> * HS debug level: product
>>>>>>>> * JDK variant:    normal
>>>>>>>> * JVM variants:   zero
>>>>>>>> * OpenJDK target: OS: android, CPU architecture: arm, address
>>>>>>>> length:
>>>>>>>> 32
>>>>>>>> * Version string: 9-internal+0-adhoc.zhangfan.mobile-jdk9
>>>>>>>> (9-internal)
>>>>>>>>
>>>>>>>> Tools summary:
>>>>>>>> * Boot JDK:       java version "1.8.0_192-ea" Java(TM) SE Runtime
>>>>>>>> Environment (build 1.8.0_192-ea-b04) Java HotSpot(TM) 64-Bit Server
>>>>>>>> VM (build 25.192-b04, mixed mode)  (at
>>>>>>>> /home/zhangfan/tools/openjdk-builds/jdk1.8.0_192)
>>>>>>>> * Toolchain:      gcc (GNU Compiler Collection)
>>>>>>>> * C Compiler:     Version 4.6 (at
>>>>>>>> /home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolc
>>>>>>>> h
>>>>>>>> ains/android-arm-toolchain/bin/arm-linux-androideabi-gcc)
>>>>>>>> * C++ Compiler:   Version 4.6 (at
>>>>>>>> /home/zhangfan/code/dev/jdk9mobile/android-ndk-r10b/generated-toolc
>>>>>>>> h
>>>>>>>> ains/android-arm-toolchain/bin/arm-linux-androideabi-g++)
>>>>>>>>
>>>>>>>> make images:
>>>>>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/share/vm
>>>>>>>> /
>>>>>>>> ut
>>>>>>>> ilities/globalDefinitions_gcc.hpp:79:22: fatal error: ucontext.h:
>>>>>>>> No such file or directory compilation terminated.
>>>>>>>>
>>>>>>>>
>>>>>>>> android-ndk-r10e
>>>>>>>> -------------------------------------------------------------------
>>>>>>>> -
>>>>>>>> -- 
>>>>>>>> ----
>>>>>>>> configure:
>>>>>>>> Configuration summary:
>>>>>>>> * Debug level:    release
>>>>>>>> * HS debug level: product
>>>>>>>> * JDK variant:    normal
>>>>>>>> * JVM variants:   zero
>>>>>>>> * OpenJDK target: OS: android, CPU architecture: arm, address
>>>>>>>> length:
>>>>>>>> 32
>>>>>>>> * Version string: 9-internal+0-adhoc.zhangfan.mobile-jdk9
>>>>>>>> (9-internal)
>>>>>>>>
>>>>>>>> Tools summary:
>>>>>>>> * Boot JDK:       java version "1.8.0_192-ea" Java(TM) SE Runtime
>>>>>>>> Environment (build 1.8.0_192-ea-b04) Java HotSpot(TM) 64-Bit Server
>>>>>>>> VM (build 25.192-b04, mixed mode)  (at
>>>>>>>> /home/zhangfan/tools/openjdk-builds/jdk1.8.0_192)
>>>>>>>> * Toolchain:      gcc (GNU Compiler Collection)
>>>>>>>> * C Compiler:     Version 4.8 (at
>>>>>>>> /home/zhangfan/code/dev/jdk9mobile/android-ndk-r10e/generated-toolc
>>>>>>>> h
>>>>>>>> ains/android-arm-toolchain/bin/arm-linux-androideabi-gcc)
>>>>>>>> * C++ Compiler:   Version 4.8 (at
>>>>>>>> /home/zhangfan/code/dev/jdk9mobile/android-ndk-r10e/generated-toolc
>>>>>>>> h
>>>>>>>> ains/android-arm-toolchain/bin/arm-linux-androideabi-g++)
>>>>>>>>
>>>>>>>> make images:
>>>>>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/os/linux/vm/perfMemory_linux.cpp:
>>>>>>>>
>>>>>>>> In function 'char* get_user_name(uid_t)':
>>>>>>>> /home/zhangfan/code/dev/jdk9mobile/mobile-jdk9/hotspot/src/os/linux/vm/perfMemory_linux.cpp:458:66:
>>>>>>>>
>>>>>>>> error: 'getpwuid_r' was not declared in this scope
>>>>>>>>          int result = getpwuid_r(uid,&pwent, pwbuf, (size_t)bufsize,
>>>>>>>> &p);
>>>>>>>>
>>>>>>>> Best Regards,
>>>>>>>> Guoge



More information about the mobile-dev mailing list