configure: error: unrecognized options: --with-gtest configure: Configuration created at Fri May 19 06:35:34 CEST 2023. checking for basename... /usr/bin/basename checking for dirname... /usr/bin/dirname checking for file... /usr/bin/file checking for ldd... /usr/bin/ldd checking for echo... echo [builtin] checking for tr... /usr/bin/tr checking for uname... /usr/bin/uname checking for wc... /usr/bin/wc checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for cygpath... [not found] checking for wslpath... [not found] checking for cmd.exe... [not found] checking build system type... s390x-ibm-linux-gnu checking host system type... s390x-ibm-linux-gnu checking target system type... s390x-ibm-linux-gnu checking openjdk-build os-cpu... linux-s390x checking openjdk-build C library... gnu checking openjdk-target os-cpu... linux-s390x checking openjdk-target C library... gnu checking compilation type... native checking for top-level directory... /home/amit/jdk11u-dev checking for bash... /usr/bin/bash checking for cat... /usr/bin/cat checking for chmod... /usr/bin/chmod checking for cp... /usr/bin/cp checking for cut... /usr/bin/cut checking for date... /usr/bin/date checking for gdiff... [not found] checking for diff... /usr/bin/diff checking for expr... /usr/bin/expr checking for find... /usr/bin/find checking for gunzip... /usr/bin/gunzip checking for pigz... /usr/bin/pigz checking for head... /usr/bin/head checking for ln... /usr/bin/ln checking for ls... /usr/bin/ls checking for gmkdir... [not found] checking for mkdir... /usr/bin/mkdir checking for mktemp... /usr/bin/mktemp checking for mv... /usr/bin/mv checking for nawk... [not found] checking for gawk... /usr/bin/gawk checking for printf... printf [builtin] checking for rm... /usr/bin/rm checking for rmdir... /usr/bin/rmdir checking for sh... /usr/bin/sh checking for sort... /usr/bin/sort checking for tail... /usr/bin/tail checking for gtar... /usr/bin/gtar checking for tee... /usr/bin/tee checking for touch... /usr/bin/touch checking for which... /usr/bin/which checking for xargs... /usr/bin/xargs checking for gawk... gawk checking for fgrep... /usr/bin/grep -F checking for df... /usr/bin/df checking for nice... /usr/bin/nice checking for greadlink... [not found] checking for readlink... /usr/bin/readlink checking for lsb_release... [not found] checking for cmp... /usr/bin/cmp checking for uniq... /usr/bin/uniq checking if custom source is suppressed (openjdk-only)... no checking which variant of the JDK to build... normal checking which debug level to use... fastdebug checking which variants of the JVM to build... server checking if absolute paths should be allowed in the build output... yes, debug build 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-s390x-normal-server-fastdebug checking for apt-get... [not found] checking for yum... /usr/bin/yum checking for pandoc... [not found] checking for gmake... /usr/bin/gmake configure: Testing potential make at /usr/bin/gmake, found using gmake in PATH configure: Using GNU make at /usr/bin/gmake (version: GNU Make 4.2.1) checking if make --output-sync is supported... yes checking for make --output-sync value... none, default checking if find supports -delete... yes checking what type of tar was found... gnu checking that grep (/usr/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 greadelf... [not found] checking for readelf... /usr/bin/readelf checking for dot... /usr/bin/dot checking for hg... [not found] checking for git... /usr/bin/git checking for stat... /usr/bin/stat checking for time... time [builtin] checking for flock... /usr/bin/flock checking for dtrace... [not found] checking for gpatch... [not found] checking for patch... /usr/bin/patch checking for ulimit... ulimit [builtin] 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... yes checking for pandoc... no, cannot generate full docs checking full docs... no, missing dependencies checking for cacerts file... default checking if packaged modules are kept... yes (default) checking for version string... 11.0.20-internal+0-adhoc.amit.jdk11u-dev configure: Found potential Boot JDK using configure arguments configure: Potential Boot JDK found at /home/amit/jdk-19.0.1+10 is incorrect JDK version (openjdk version "19.0.1" 2022-10-18 OpenJDK Runtime Environment Temurin-19.0.1+10 (build 19.0.1+10) OpenJDK 64-Bit Server VM Temurin-19.0.1+10 (build 19.0.1+10, mixed mode, sharing)); ignoring configure: (Your Boot JDK version must be one of: 10 11) configure: error: The path given by --with-boot-jdk does not contain a valid Boot JDK configure: Configuration created at Fri May 19 06:37:05 CEST 2023. checking for basename... /usr/bin/basename checking for dirname... /usr/bin/dirname checking for file... /usr/bin/file checking for ldd... /usr/bin/ldd checking for echo... echo [builtin] checking for tr... /usr/bin/tr checking for uname... /usr/bin/uname checking for wc... /usr/bin/wc checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for cygpath... [not found] checking for wslpath... [not found] checking for cmd.exe... [not found] checking build system type... s390x-ibm-linux-gnu checking host system type... s390x-ibm-linux-gnu checking target system type... s390x-ibm-linux-gnu checking openjdk-build os-cpu... linux-s390x checking openjdk-build C library... gnu checking openjdk-target os-cpu... linux-s390x checking openjdk-target C library... gnu checking compilation type... native checking for top-level directory... /home/amit/jdk11u-dev checking for bash... /usr/bin/bash checking for cat... /usr/bin/cat checking for chmod... /usr/bin/chmod checking for cp... /usr/bin/cp checking for cut... /usr/bin/cut checking for date... /usr/bin/date checking for gdiff... [not found] checking for diff... /usr/bin/diff checking for expr... /usr/bin/expr checking for find... /usr/bin/find checking for gunzip... /usr/bin/gunzip checking for pigz... /usr/bin/pigz checking for head... /usr/bin/head checking for ln... /usr/bin/ln checking for ls... /usr/bin/ls checking for gmkdir... [not found] checking for mkdir... /usr/bin/mkdir checking for mktemp... /usr/bin/mktemp checking for mv... /usr/bin/mv checking for nawk... [not found] checking for gawk... /usr/bin/gawk checking for printf... printf [builtin] checking for rm... /usr/bin/rm checking for rmdir... /usr/bin/rmdir checking for sh... /usr/bin/sh checking for sort... /usr/bin/sort checking for tail... /usr/bin/tail checking for gtar... /usr/bin/gtar checking for tee... /usr/bin/tee checking for touch... /usr/bin/touch checking for which... /usr/bin/which checking for xargs... /usr/bin/xargs checking for gawk... gawk checking for fgrep... /usr/bin/grep -F checking for df... /usr/bin/df checking for nice... /usr/bin/nice checking for greadlink... [not found] checking for readlink... /usr/bin/readlink checking for lsb_release... [not found] checking for cmp... /usr/bin/cmp checking for uniq... /usr/bin/uniq checking if custom source is suppressed (openjdk-only)... no checking which variant of the JDK to build... normal checking which debug level to use... fastdebug checking which variants of the JVM to build... server checking if absolute paths should be allowed in the build output... yes, debug build 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-s390x-normal-server-fastdebug checking for apt-get... [not found] checking for yum... /usr/bin/yum checking for pandoc... [not found] checking for gmake... /usr/bin/gmake configure: Testing potential make at /usr/bin/gmake, found using gmake in PATH configure: Using GNU make at /usr/bin/gmake (version: GNU Make 4.2.1) checking if make --output-sync is supported... yes checking for make --output-sync value... none, default checking if find supports -delete... yes checking what type of tar was found... gnu checking that grep (/usr/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 greadelf... [not found] checking for readelf... /usr/bin/readelf checking for dot... /usr/bin/dot checking for hg... [not found] checking for git... /usr/bin/git checking for stat... /usr/bin/stat checking for time... time [builtin] checking for flock... /usr/bin/flock checking for dtrace... [not found] checking for gpatch... [not found] checking for patch... /usr/bin/patch checking for ulimit... ulimit [builtin] 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... yes checking for pandoc... no, cannot generate full docs checking full docs... no, missing dependencies checking for cacerts file... default checking if packaged modules are kept... yes (default) checking for version string... 11.0.20-internal+0-adhoc.amit.jdk11u-dev configure: Found potential Boot JDK using configure arguments checking for Boot JDK... /home/amit/jdk11u-dev/jdk-11.0.19+7 checking Boot JDK version... openjdk version "11.0.19" 2023-04-18 OpenJDK Runtime Environment Temurin-11.0.19+7 (build 11.0.19+7) OpenJDK 64-Bit Server VM Temurin-11.0.19+7 (build 11.0.19+7, mixed mode) checking for java [Boot JDK]... $BOOT_JDK/bin/java checking for javac [Boot JDK]... $BOOT_JDK/bin/javac checking for javadoc [Boot JDK]... $BOOT_JDK/bin/javadoc checking for jar [Boot JDK]... $BOOT_JDK/bin/jar checking if Boot JDK is 32 or 64 bits... 64 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... no symlink configure: Using gcc C compiler version 8.5.0 [gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-3)] 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... no symlink configure: Using gcc C++ compiler version 8.5.0 [g++ (GCC) 8.5.0 20210514 (Red Hat 8.5.0-3)] 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... /usr/bin/ld configure: Using gcc linker version 2.30 [GNU ld version 2.30-108.el8] checking for ar... /usr/bin/ar checking for strip... /usr/bin/strip checking for nm... /usr/bin/nm checking for gobjcopy... [not found] checking for objcopy... /usr/bin/objcopy checking for gobjdump... [not found] checking for objdump... /usr/bin/objdump checking for c++filt... /usr/bin/c++filt checking for jtreg... [not found] checking for jtreg test harness... no, not found checking for jib... no checking if @file is supported by gcc... yes checking if CC supports "-m64"... yes checking if CXX supports "-m64"... yes checking if both CC and CXX support "-m64"... 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 *... 8 checking for target address size... 64 bits checking whether byte ordering is bigendian... yes checking what source date to use... determined at build time, from 'updated' checking for --enable-reproducible-build... disabled, default checking if native warnings are errors... true (default) 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 for library containing clock_gettime... none required checking if TARGET is x86... 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 "-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 is x86... no 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 "-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... internal checking if we should add external native debug symbols to the shipped bundles... no 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... no checking how to link with libstdc++... dynamic 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 which harfbuzz to use... bundled checking for cos in -lm... yes checking for dlopen in -ldl... yes checking if shenandoah can be built... 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 man pages should be built... yes checking for number of cores... 9 checking for memory size... 15902 MB checking for appropriate number of jobs to run in parallel... 9 checking flags for boot jdk java command ... -Duser.language=en -Duser.country=US -XX:+UnlockDiagnosticVMOptions -XX:-VerifySharedSpaces -XX:SharedArchiveFile=/home/amit/jdk11u-dev/build/linux-s390x-normal-server-fastdebug/configure-support/classes.jsa -Xshare:auto 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 -Xmx1600M -XX:ThreadStackSize=1536 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... no, forced checking is ccache enabled... no checking if build directory is on local disk... yes checking JVM features for JVM variant 'server'... "cds cmsgc compiler1 compiler2 epsilongc g1gc jfr jni-check jvmti management nmt parallelgc serialgc services vm-structs" configure: creating /home/amit/jdk11u-dev/build/linux-s390x-normal-server-fastdebug/configure-support/config.status config.status: creating /home/amit/jdk11u-dev/build/linux-s390x-normal-server-fastdebug/spec.gmk config.status: creating /home/amit/jdk11u-dev/build/linux-s390x-normal-server-fastdebug/bootcycle-spec.gmk config.status: creating /home/amit/jdk11u-dev/build/linux-s390x-normal-server-fastdebug/buildjdk-spec.gmk config.status: creating /home/amit/jdk11u-dev/build/linux-s390x-normal-server-fastdebug/compare.sh config.status: creating /home/amit/jdk11u-dev/build/linux-s390x-normal-server-fastdebug/Makefile ==================================================== A new configuration has been successfully created in /home/amit/jdk11u-dev/build/linux-s390x-normal-server-fastdebug using configure arguments '--with-boot-jdk=./jdk-11.0.19+7 --with-debug-level=fastdebug --with-native-debug-symbols=internal --disable-precompiled-headers'. Configuration summary: * Debug level: fastdebug * HS debug level: fastdebug * JVM variants: server * JVM features: server: 'cds cmsgc compiler1 compiler2 epsilongc g1gc jfr jni-check jvmti management nmt parallelgc serialgc services vm-structs' * OpenJDK target: OS: linux, CPU architecture: s390, address length: 64 * Version string: 11.0.20-internal+0-adhoc.amit.jdk11u-dev (11.0.20-internal) Tools summary: * Boot JDK: openjdk version "11.0.19" 2023-04-18 OpenJDK Runtime Environment Temurin-11.0.19+7 (build 11.0.19+7) OpenJDK 64-Bit Server VM Temurin-11.0.19+7 (build 11.0.19+7, mixed mode) (at /home/amit/jdk11u-dev/jdk-11.0.19+7) * Toolchain: gcc (GNU Compiler Collection) * C Compiler: Version 8.5.0 (at /usr/bin/gcc) * C++ Compiler: Version 8.5.0 (at /usr/bin/g++) Build performance summary: * Cores to use: 9 * Memory limit: 15902 MB