Webrev of Oracle ARM & AARCH64 Sources
Simon Nash
simon at cjnash.com
Fri Oct 14 14:28:24 UTC 2016
Edward Nevill wrote:
> Hi Bob,
>
> On Wed, 2016-09-28 at 10:07 -0400, Bob Vandette wrote:
>> I’m am please to announce that I have completed our internal reviews and can now
>> open up the sources to our ARM 32 & 64 bit implementations of JDK9.
>
> Great news.
>
>> Here is a webrev that includes a patch that can be applied on top of the
>> (http://hg.openjdk.java.net/aarch32-port/jdk9-arm3264/ ) forest.
>>
>> http://cr.openjdk.java.net/~bobv/arm3264/webrev <http://cr.openjdk.java.net/~bobv/arm3264/webrev>
>
> I have built this natively on armv7 and aarch64 without problems. In both cases I built the minimal,client,server combination.
>
I am trying to do a native build of the current jdk9-arm3264 tip on armv7. My .configure command is as follows:
$ bash ./configure --with-jdk-variant=normal --with-jvm-variants=minimal,client,server --openjdk-target=arm-linux-gnueabihf --with-abi-profile=arm-vfp-hflt
--with-debug-level=release --disable-warnings-as-errors
I get this warning from .configure:
WARNING: using cross tools not prefixed with host triplet
Is this message about cross tools normal? I am not sure why .configure thinks I am cross-compiling.
If I ignore this warning and run 'make images', the build stops with an error. Here is the log:
- - - - - - - - - - - - - - - -
Building target 'images' in configuration 'linux-arm-normal-minimalANDclientANDserver-release'
Compiling 8 files for BUILD_TOOLS_LANGTOOLS
Compiling 16 properties into resource bundles for jdk.compiler
Parsing 1 properties into enum-like class for jdk.compiler
Compiling 19 properties into resource bundles for jdk.javadoc
Compiling 10 properties into resource bundles for jdk.jdeps
Compiling 7 properties into resource bundles for jdk.jshell
Compiling 115 files for BUILD_INTERIM_java.compiler
Compiling 390 files for BUILD_INTERIM_jdk.compiler
Compiling 61 files for BUILD_INTERIM_jdk.jdeps
Compiling 450 files for BUILD_INTERIM_jdk.javadoc
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Compiling 155 files for BUILD_TOOLS_JDK
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Compiling 4 properties into resource bundles for jdk.jlink
Compiling 3 properties into resource bundles for jdk.jlink
Compiling 1 properties into resource bundles for jdk.jlink
Compiling 11 properties into resource bundles for java.base
Compiling 6 properties into resource bundles for java.base
Compiling 2875 files for java.base
Compiling 46 files for jdk.internal.opt
Compiling 116 files for java.compiler
Compiling 392 files for jdk.compiler
Compiling 126 files for jdk.jdeps
Compiling 71 files for jdk.jlink
Compiling 2 files for BUILD_BREAKITERATOR_BASE
Compiling 259 files for BUILD_BREAKITERATOR_LD
Compiling 11 properties into resource bundles for java.logging
Compiling 34 files for java.logging
Building JVM variant 'server' with features 'all-gcs cds compiler1 compiler2 fprof jni-check jvmti management nmt services vm-structs'
Creating adlc from 13 file(s)
/bin/bash: line 1: 7060 Segmentation fault
/sd1/aarch32-port/jdk9-arm3264/build/linux-arm-normal-minimalANDclientANDserver-release/buildjdk/hotspot/variant-server/tools/adlc/adlc -q -T -DLINUX=1
-D_GNU_SOURCE=1 -g -DARM=1 -U_LP64
/sd1/aarch32-port/jdk9-arm3264/build/linux-arm-normal-minimalANDclientANDserver-release/buildjdk/hotspot/variant-server/support/adlc/all-ad-src.ad
-c/sd1/aarch32-port/jdk9-arm3264/build/linux-arm-normal-minimalANDclientANDserver-release/buildjdk/hotspot/variant-server/support/adlc/ad_arm.cpp
-h/sd1/aarch32-port/jdk9-arm3264/build/linux-arm-normal-minimalANDclientANDserver-release/buildjdk/hotspot/variant-server/support/adlc/ad_arm.hpp
-a/sd1/aarch32-port/jdk9-arm3264/build/linux-arm-normal-minimalANDclientANDserver-release/buildjdk/hotspot/variant-server/support/adlc/dfa_arm.cpp
-v/sd1/aarch32-port/jdk9-arm3264/build/linux-arm-normal-minimalANDclientANDserver-release/buildjdk/hotspot/variant-server/support/adlc/adGlobals_arm.hpp >
>(/usr/bin/tee
/sd1/aarch32-port/jdk9-arm3264/build/linux-arm-normal-minimalANDclientANDserver-release/buildjdk/hotspot/variant-server/support/adlc/adlc_run.log) 2>
>(/usr/bin/tee
/sd1/aarch32-port/jdk9-arm3264/build/linux-arm-normal-minimalANDclientANDserver-release/buildjdk/hotspot/variant-server/support/adlc/adlc_run.log >&2)
gensrc/GensrcAdlc.gmk:155: recipe for target
'/sd1/aarch32-port/jdk9-arm3264/build/linux-arm-normal-minimalANDclientANDserver-release/buildjdk/hotspot/variant-server/support/adlc/_adlc_run.marker' failed
make[5]: ***
[/sd1/aarch32-port/jdk9-arm3264/build/linux-arm-normal-minimalANDclientANDserver-release/buildjdk/hotspot/variant-server/support/adlc/_adlc_run.marker] Error 1
make[4]: *** [variant-server-gensrc] Error 2
BuildHotspot.gmk:37: recipe for target 'variant-server-gensrc' failed
Main.gmk:241: recipe for target 'hotspot' failed
make[3]: *** [hotspot] Error 1
make[2]: *** [create-buildjdk-interim-image] Error 1
make/Main.gmk:373: recipe for target 'create-buildjdk-interim-image' failed
ERROR: Build failed for target 'images' in configuration 'linux-arm-normal-minimalANDclientANDserver-release' (exit code 2)
Stopping sjavac server
- - - - - - - - - - - - - - - -
What is causing this? What options should I be using for .configure?
Simon
More information about the aarch32-port-dev
mailing list