Skip to content

Instantly share code, notes, and snippets.

@marchof

marchof/build.log

Created Nov 27, 2019
Embed
What would you like to do?
OpenJDK compile failure on arm fails since 57111:dff8053bdb74
Sending build context to Docker daemon 2.56kB
Step 1/5 : FROM adoptopenjdk/openjdk13
---> 3e193f7fa7b6
Step 2/5 : RUN apt-get update && apt-get install -y autoconf file g++ gcc libcups2-dev libfontconfig1-dev libasound2-dev libx11-dev libxext-dev libxrender-dev libxrandr-dev libxtst-dev libxt-dev make unzip zip
---> Using cache
---> bb494b55e1fa
Step 3/5 : VOLUME /workspace /artifacts
---> Using cache
---> dc5f6f121576
Step 4/5 : WORKDIR /workspace
---> Using cache
---> 50787a08ad29
Step 5/5 : CMD rm -rf build && bash configure --disable-warnings-as-errors --with-native-debug-symbols=none && make images && cp -Lr build/linux-arm-server-release/images/jdk /artifacts
---> Using cache
---> 76ce91ba501a
Successfully built 76ce91ba501a
Successfully tagged jdkbuild:latest
Runnable configure script is not present
Generating runnable configure script at /workspace/build/.configure-support/generated-configure.sh
Using autoconf at /usr/bin/autoconf [autoconf (GNU Autoconf) 2.69]
configure: Configuration created at Wed Nov 27 04:57:03 UTC 2019.
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... no
checking for gzip... /bin/gzip
checking for ln... /bin/ln
checking for ls... /bin/ls
checking for gmkdir... no
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 greadlink... no
checking for readlink... /bin/readlink
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... /usr/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... /usr/bin/which
checking for xargs... /usr/bin/xargs
checking for gawk... no
checking for mawk... mawk
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 wslpath... no
checking for df... /bin/df
checking for cpio... no
checking for bsdcpio... no
checking for nice... /usr/bin/nice
checking for lsb_release... no
checking for cmd.exe... no
checking for /mnt/c/Windows/System32/cmd.exe... no
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking target system type... armv7l-unknown-linux-gnueabihf
checking openjdk-build os-cpu... linux-arm
checking openjdk-target os-cpu... linux-arm
checking compilation type... native
checking for top-level directory... /workspace
checking if custom source is suppressed (openjdk-only)... no
checking which debug level to use... release
checking which variants of the JVM to build... server
checking for sysroot...
checking for toolchain path...
checking for extra path...
checking where to store configuration... in default location
checking what configuration name to use... linux-arm-server-release
checking for zypper... no
checking for apt-get... apt-get
checking for pandoc... no
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 greadelf... no
checking for readelf... /usr/bin/readelf
checking for dot... no
checking for hg... no
checking for git... no
checking for stat... /usr/bin/stat
checking for time... no
checking for flock... /usr/bin/flock
checking for dtrace... no
checking for gpatch... no
checking for patch... /usr/bin/patch
checking for ulimit... no
configure: Required tool ulimit not found in PATH, checking built-in
configure: Found ulimit as shell built-in. Using it
checking bash version... 4.4.20
checking if bash supports pipefail... yes
checking if bash supports errexit (-e)... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for default LOG value...
checking headless only... no
checking for graphviz dot... no, cannot generate full docs
checking for pandoc... no, cannot generate full docs
checking full docs... no, missing dependencies
checking for cacerts file... default
checking for jni library path... default
checking if packaged modules are kept... yes (default)
checking for version string... 14-internal+0-adhoc..workspace
configure: Found potential Boot JDK using JAVA_HOME
checking for Boot JDK... /opt/java/openjdk
checking Boot JDK version... openjdk version "13" 2019-09-17 OpenJDK Runtime Environment AdoptOpenJDK (build 13+33) OpenJDK Server VM AdoptOpenJDK (build 13+33, mixed mode)
checking for java in Boot JDK... ok
checking for javac in Boot JDK... ok
checking for javadoc in Boot JDK... ok
checking for jar in Boot JDK... ok
checking for jarsigner in Boot JDK... ok
checking if Boot JDK is 32 or 64 bits... 32
checking for local Boot JDK Class Data Sharing (CDS)... yes, created
checking for Build JDK... yes, will use output dir
configure: Using default toolchain gcc (GNU Compiler Collection)
checking for gcc... /usr/bin/gcc
checking resolved symbolic links for CC... /usr/bin/arm-linux-gnueabihf-gcc-7
configure: Using gcc C compiler version 7.4.0 [gcc (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1) 7.4.0]
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... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to accept ISO C89... none needed
checking for g++... /usr/bin/g++
checking resolved symbolic links for CXX... /usr/bin/arm-linux-gnueabihf-g++-7
configure: Using gcc C++ compiler version 7.4.0 [g++ (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1) 7.4.0]
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/g++ accepts -g... yes
checking how to run the C preprocessor... /usr/bin/gcc -E
checking how to run the C++ preprocessor... /usr/bin/g++ -E
checking for ld... ld
configure: Rewriting LD_JAOTC to "/usr/bin/ld"
configure: Using gcc linker version 2.30 [GNU ld (GNU Binutils for Ubuntu) 2.30]
checking for ar... ar
configure: Rewriting AR to "/usr/bin/ar"
checking for strip... strip
configure: Rewriting STRIP to "/usr/bin/strip"
checking for nm... nm
configure: Rewriting NM to "/usr/bin/nm"
checking for gobjcopy... no
checking for objcopy... objcopy
configure: Rewriting OBJCOPY to "/usr/bin/objcopy"
checking for gobjdump... no
checking for objdump... objdump
configure: Rewriting OBJDUMP to "/usr/bin/objdump"
checking for c++filt... c++filt
configure: Rewriting CXXFILT to "/usr/bin/c++filt"
checking for jtreg... no
checking for jtreg test harness... no, not found
checking for jmh (Java Microbenchmark Harness)... no, disabled
checking for jib... no
checking if @file is supported by gcc... yes
checking if CC supports "-m32"... no
checking if CXX supports "-m32"... no
checking if both CC and CXX support "-m32"... no
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 native warnings are errors... no (explicitly set)
checking for library containing clock_gettime... none required
checking if CC supports "-Xassembler -mrelax-relocations=no"... no
checking if CXX supports "-Xassembler -mrelax-relocations=no"... no
checking if both CC and CXX support "-Xassembler -mrelax-relocations=no"... no
checking if CXX supports "-std=gnu++98 -Werror"... yes
checking if CC supports "-fno-delete-null-pointer-checks -Werror"... yes
checking if CXX supports "-fno-delete-null-pointer-checks -Werror"... yes
checking if both CC and CXX support "-fno-delete-null-pointer-checks -Werror"... yes
checking if CC supports "-fno-lifetime-dse -Werror"... yes
checking if CXX supports "-fno-lifetime-dse -Werror"... yes
checking if both CC and CXX support "-fno-lifetime-dse -Werror"... yes
checking if CC supports "-fmacro-prefix-map=/workspace/="... no
checking if CXX supports "-fmacro-prefix-map=/workspace/="... no
checking if both CC and CXX support "-fmacro-prefix-map=/workspace/="... no
checking if CC supports "-ffp-contract=off"... yes
checking if CXX supports "-ffp-contract=off"... yes
checking if both CC and CXX support "-ffp-contract=off"... yes
checking if BUILD_CXX supports "-std=gnu++98 -Werror"... yes
checking if BUILD_CC supports "-fno-delete-null-pointer-checks -Werror"... yes
checking if BUILD_CXX supports "-fno-delete-null-pointer-checks -Werror"... yes
checking if both BUILD_CC and BUILD_CXX support "-fno-delete-null-pointer-checks -Werror"... yes
checking if BUILD_CC supports "-fno-lifetime-dse -Werror"... yes
checking if BUILD_CXX supports "-fno-lifetime-dse -Werror"... yes
checking if both BUILD_CC and BUILD_CXX support "-fno-lifetime-dse -Werror"... yes
checking if BUILD_CC supports "-fmacro-prefix-map=/workspace/="... no
checking if BUILD_CXX supports "-fmacro-prefix-map=/workspace/="... no
checking if both BUILD_CC and BUILD_CXX support "-fmacro-prefix-map=/workspace/="... no
checking if BUILD_CC supports "-ffp-contract=off"... yes
checking if BUILD_CXX supports "-ffp-contract=off"... yes
checking if both BUILD_CC and BUILD_CXX support "-ffp-contract=off"... yes
checking what type of native debug symbols to use... none
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 X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for X11/extensions/shape.h... yes
checking for X11/extensions/Xrender.h... yes
checking for X11/extensions/XTest.h... yes
checking for X11/Intrinsic.h... yes
checking for X11/extensions/Xrandr.h... yes
checking if XlinearGradient is defined in Xrender.h... yes
checking cups/cups.h usability... yes
checking cups/cups.h presence... yes
checking for cups/cups.h... yes
checking cups/ppd.h usability... yes
checking cups/ppd.h presence... yes
checking for cups/ppd.h... yes
checking fontconfig/fontconfig.h usability... yes
checking fontconfig/fontconfig.h presence... yes
checking for fontconfig/fontconfig.h... yes
checking for FREETYPE... yes
checking for freetype... yes (using pkg-config)
Using freetype: system
checking for ALSA... yes
checking for which libjpeg to use... bundled
checking for which giflib to use... bundled
checking for PNG... yes
checking for which libpng to use... bundled
checking for compress in -lz... yes
checking for which zlib to use... system
checking for system zlib functionality... ok
checking for which lcms to use... bundled
checking for cos in -lm... yes
checking for dlopen in -ldl... yes
checking if shenandoah can be built... no, platform not supported
checking if zgc can be built... no, platform not supported
checking if jvmci module jdk.internal.vm.ci should be built... no
checking if graal module jdk.internal.vm.compiler should be built... no
checking if aot should be enabled... no
checking if cds should be enabled... yes
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... yes
checking if any translations should be excluded... no
checking if static man pages should be copied... yes
checking if a default CDS archive should be generated... yes
checking for number of cores... 4
checking for memory size... 3906 MB
checking for appropriate number of jobs to run in parallel... 3
checking flags for boot jdk java command ... -Duser.language=en -Duser.country=US -XX:+UnlockDiagnosticVMOptions -XX:-VerifySharedSpaces -XX:SharedArchiveFile=/workspace/build/linux-arm-server-release/configure-support/classes.jsa -Xshare:auto
checking flags for boot jdk java command for big workloads... -Xms64M -Xmx768M -XX:ThreadStackSize=768
checking flags for bootcycle boot jdk java command for big workloads... -Xms64M -Xmx768M -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 'server'... "cds compiler1 compiler2 epsilongc g1gc jfr jni-check jvmti management nmt parallelgc serialgc services vm-structs"
configure: creating /workspace/build/linux-arm-server-release/configure-support/config.status
config.status: creating /workspace/build/linux-arm-server-release/spec.gmk
config.status: creating /workspace/build/linux-arm-server-release/bootcycle-spec.gmk
config.status: creating /workspace/build/linux-arm-server-release/buildjdk-spec.gmk
config.status: creating /workspace/build/linux-arm-server-release/compare.sh
config.status: creating /workspace/build/linux-arm-server-release/Makefile
====================================================
A new configuration has been successfully created in
/workspace/build/linux-arm-server-release
using configure arguments '--disable-warnings-as-errors --with-native-debug-symbols=none'.
Configuration summary:
* Debug level: release
* HS debug level: product
* JVM variants: server
* JVM features: server: 'cds compiler1 compiler2 epsilongc g1gc jfr jni-check jvmti management nmt parallelgc serialgc services vm-structs'
* OpenJDK target: OS: linux, CPU architecture: arm, address length: 32
* Version string: 14-internal+0-adhoc..workspace (14-internal)
Tools summary:
* Boot JDK: openjdk version "13" 2019-09-17 OpenJDK Runtime Environment AdoptOpenJDK (build 13+33) OpenJDK Server VM AdoptOpenJDK (build 13+33, mixed mode) (at /opt/java/openjdk)
* Toolchain: gcc (GNU Compiler Collection)
* C Compiler: Version 7.4.0 (at /usr/bin/gcc)
* C++ Compiler: Version 7.4.0 (at /usr/bin/g++)
Build performance summary:
* Cores to use: 3
* Memory limit: 3906 MB
Building target 'images' in configuration 'linux-arm-server-release'
Compiling 8 files for BUILD_TOOLS_LANGTOOLS
Warning: No SCM configuration present and no .src-rev
Compiling 1 files for BUILD_JFR_TOOLS
Creating hotspot/variant-server/tools/adlc/adlc from 13 file(s)
Compiling 2 files for BUILD_JVMTI_TOOLS
Parsing 2 properties into enum-like class for jdk.compiler
Compiling 19 properties into resource bundles for jdk.compiler
Compiling 10 properties into resource bundles for jdk.javadoc
Compiling 12 properties into resource bundles for jdk.jdeps
Compiling 7 properties into resource bundles for jdk.jshell
Compiling 117 files for BUILD_java.compiler.interim
Ideal node missing: R8RegP
assert fails /workspace/src/hotspot/share/adlc/archDesc.cpp 484: Failed lookup of ideal node
/bin/bash: line 1: 3395 Aborted (core dumped) /workspace/build/linux-arm-server-release/hotspot/variant-server/tools/adlc/adlc -q -T -DLINUX=1 -D_GNU_SOURCE=1 -g -DARM32=1 -U_LP64 -DARM=1 /workspace/build/linux-arm-server-release/hotspot/variant-server/support/adlc/all-ad-src.ad -c/workspace/build/linux-arm-server-release/hotspot/variant-server/support/adlc/ad_arm.cpp -h/workspace/build/linux-arm-server-release/hotspot/variant-server/support/adlc/ad_arm.hpp -a/workspace/build/linux-arm-server-release/hotspot/variant-server/support/adlc/dfa_arm.cpp -v/workspace/build/linux-arm-server-release/hotspot/variant-server/support/adlc/adGlobals_arm.hpp > >(/usr/bin/tee -a /workspace/build/linux-arm-server-release/hotspot/variant-server/support/adlc/_adlc_run_exec.log) 2> >(/usr/bin/tee -a /workspace/build/linux-arm-server-release/hotspot/variant-server/support/adlc/_adlc_run_exec.log >&2)
make[3]: *** [/workspace/build/linux-arm-server-release/hotspot/variant-server/support/adlc/_adlc_run_exec.marker] Error 134
gensrc/GensrcAdlc.gmk:169: recipe for target '/workspace/build/linux-arm-server-release/hotspot/variant-server/support/adlc/_adlc_run_exec.marker' failed
make[2]: *** [hotspot-server-gensrc] Error 2
make[2]: *** Waiting for unfinished jobs....
make/Main.gmk:260: recipe for target 'hotspot-server-gensrc' failed
Compiling 401 files for BUILD_jdk.compiler.interim
Compiling 218 files for BUILD_jdk.javadoc.interim
ERROR: Build failed for target 'images' in configuration 'linux-arm-server-release' (exit code 2)
=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_support_adlc__adlc_run_exec:
Ideal node missing: R8RegP
assert fails /workspace/src/hotspot/share/adlc/archDesc.cpp 484: Failed lookup of ideal node
* All command lines available in /workspace/build/linux-arm-server-release/make-support/failure-logs.
=== End of repeated output ===
=== Make failed targets repeated here ===
gensrc/GensrcAdlc.gmk:169: recipe for target '/workspace/build/linux-arm-server-release/hotspot/variant-server/support/adlc/_adlc_run_exec.marker' failed
make/Main.gmk:260: recipe for target 'hotspot-server-gensrc' failed
=== End of repeated output ===
Hint: Try searching the build log for the name of the first failed target.
Hint: See doc/building.html#troubleshooting for assistance.
/workspace/make/Init.gmk:307: recipe for target 'main' failed
make[1]: *** [main] Error 2
/workspace/make/Init.gmk:186: recipe for target 'images' failed
make: *** [images] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment