Problem building latest jdk9-arm3264
Simon Nash
simon at cjnash.com
Fri Oct 28 20:31:00 UTC 2016
Bob Vandette wrote:
> Looks like you’ve got a gcc issue.
>
> Did you apply the patch that I sent out for review?
>
> http://cr.openjdk.java.net/~bobv/8168909/webrev
>
> I’ll try building the lastest jdk9-arm3264 without that patch to see if I have the same issue.
>
> Bob.
>
Bob,
Thanks for the quick reply. Here is my output from gcc -v:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.9/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Raspbian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/
--enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin
--with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf/jre
--enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-armhf
--with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6
--with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 4.9.2 (Raspbian 4.9.2-10)
I have not applied your webrev patch yet because I am trying to take this one step at a time.
Simon
>
>> On Oct 28, 2016, at 4:01 PM, Simon Nash <simon at cjnash.com> wrote:
>>
>> I have attempted to build the current source including the changesets pushed today.
>> I am building using Raspbian jessie on a Raspberry Pi 3. I was able to build the
>> previous source successfully.
>>
>> My .configure command was (as previously):
>>
>> bash ./configure --with-jdk-variant=normal --with-jvm-variants=server --with-abi-profile=arm-vfp-hflt --with-debug-level=release --disable-warnings-as-errors
>>
>> The build output is as follows:
>>
>> - - - - - - - start output - - - - - - -
>> Building target 'images' in configuration 'linux-arm-normal-server-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 453 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 11 properties into resource bundles for java.base
>> Compiling 6 properties into resource bundles for java.base
>> Compiling 2882 files for java.base
>> Note: Some input files use or override a deprecated API that is marked for remov al.
>> Note: Recompile with -Xlint:removal for details.
>> Compiling 11 properties into resource bundles for java.logging
>> Compiling 34 files for java.logging
>> Compiling 15 files for java.scripting
>> Compiling 1 files for java.compact1
>> Building JVM variant 'server' with features 'all-gcs cds compiler1 compiler2 fpr of jni-check jvmti management nmt services vm-structs'
>> Creating adlc from 13 file(s)
>> Compiling 2 files for BUILD_JVMTI_TOOLS
>> Creating libjvm.so from 671 file(s)
>>
>> g++: internal compiler error: Segmentation fault (program cc1plus)
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
>> See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
>> lib/CompileJvm.gmk:201: recipe for target '/sd1/aarch32-port/jdk9-arm3264/build/ linux-arm-normal-server-release/hotspot/variant-server/libjvm/objs/abstractCompi ler.o' failed
>> make[4]: *** [/sd1/aarch32-port/jdk9-arm3264/build/linux-arm-normal-server-relea se/hotspot/variant-server/libjvm/objs/abstractCompiler.o] Error 1
>> make[4]: *** Deleting file '/sd1/aarch32-port/jdk9-arm3264/build/linux-arm-norma l-server-release/hotspot/variant-server/libjvm/objs/abstractCompiler.o'
>> make[3]: *** [variant-server-libs] Error 2
>> BuildHotspot.gmk:41: recipe for target 'variant-server-libs' failed
>> make/Main.gmk:241: recipe for target 'hotspot' failed
>> make[2]: *** [hotspot] Error 1
>>
>> ERROR: Build failed for target 'images' in configuration 'linux-arm-normal-serve r-release' (exit code 2)
>> - - - - - - - end output - - - - - - -
>>
>> Any suggestions would be appreciated.
>>
>> Simon
>
>
More information about the aarch32-port-dev
mailing list