Hi, My OS is Mac OS BigSur 11.4. I can successfully execute bash configure, but failed to execute make images. Could you please kindly check the error message below? super thx.
jdk12-06222165c35f bash configure configure: Configuration created at Wed Aug 11 09:18:19 CST 2021. 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... /bin/expr checking for file... /usr/bin/file checking for find... /usr/bin/find checking for head... /usr/bin/head checking for gunzip... /usr/bin/gunzip checking for pigz... no checking for gzip... /usr/bin/gzip checking for ln... /bin/ln checking for ls... /bin/ls checking for gmkdir... no checking for mkdir... /bin/mkdir checking for mktemp... /usr/bin/mktemp checking for mv... /bin/mv checking for nawk... no checking for gawk... no checking for awk... /usr/bin/awk checking for printf... /usr/bin/printf checking for greadlink... no checking for readlink... /usr/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... /usr/bin/tar checking for tee... /usr/bin/tee checking for touch... /usr/bin/touch checking for tr... /usr/bin/tr checking for uname... /usr/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... no checking for nawk... no checking for awk... awk checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for a sed that does not truncate output... /usr/bin/sed checking for cygpath... no checking for df... /bin/df checking for cpio... /usr/bin/cpio checking for nice... /usr/bin/nice checking for pandoc... no checking build system type... x86_64-apple-darwin20.5.0 checking host system type... x86_64-apple-darwin20.5.0 checking target system type... x86_64-apple-darwin20.5.0 checking openjdk-build os-cpu... macosx-x86_64 checking openjdk-target os-cpu... macosx-x86_64 checking compilation type... native checking for top-level directory... /Users/frank/Desktop/Work/Indoor_Positioning/software/jdk12-06222165c35f 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 xcodebuild... /usr/bin/xcodebuild checking for sdk name... checking for sysroot... /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk checking for toolchain path... checking for extra path... checking where to store configuration... in default location checking what configuration name to use... macosx-x86_64-server-release checking for apt-get... no checking for yum... no checking for brew... brew 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 3.81) checking if make --output-sync is supported... no checking if find supports -delete... yes checking what type of tar was found... bsd 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 ldd... no checking for greadelf... no checking for readelf... no checking for dot... no checking for hg... /usr/local/bin/hg checking for git... /usr/local/bin/git checking for stat... /usr/bin/stat checking for time... /usr/bin/time checking for flock... no checking for dtrace... /usr/sbin/dtrace checking for gpatch... no checking for patch... /usr/bin/patch checking for dsymutil... /usr/bin/dsymutil checking for mig... /usr/bin/mig checking for xattr... /usr/bin/xattr checking for codesign... /usr/bin/codesign checking if openjdk_codesign certificate is present... no checking for SetFile... /usr/bin/SetFile checking bash version... 3.2.57 checking if bash supports pipefail... yes checking if bash supports errexit (-e)... yes checking for pkg-config... /usr/local/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... 12-internal+0-adhoc.frank.jdk12-06222165c35f configure: Found potential Boot JDK using /usr/libexec/java_home checking for Boot JDK... /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home checking Boot JDK version... openjdk version "11.0.11" 2021-04-20 OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9) OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, 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... 64 checking for local Boot JDK Class Data Sharing (CDS)... yes, created checking for Build JDK... yes, will use output dir configure: Xcode major version: 12 configure: Using default toolchain clang (clang/LLVM) checking for clang... /usr/bin/clang checking resolved symbolic links for CC... no symlink configure: Using clang C compiler version 12.0.5 [Apple clang version 12.0.5 (clang-1205.0.22.11) Target: x86_64-apple-darwin20.5.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin] 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/clang accepts -g... yes checking for /usr/bin/clang option to accept ISO C89... none needed checking for clang++... /usr/bin/clang++ checking resolved symbolic links for CXX... no symlink configure: Using clang C++ compiler version 12.0.5 [Apple clang version 12.0.5 (clang-1205.0.22.11) Target: x86_64-apple-darwin20.5.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin] checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/clang++ accepts -g... yes checking how to run the C preprocessor... /usr/bin/clang -E checking how to run the C++ preprocessor... /usr/bin/clang++ -E configure: Using clang linker version 650.9 [@(#)PROGRAM:ld PROJECT:ld64-650.9] checking for ar... ar configure: Rewriting AR to "/usr/bin/ar" checking for lipo... /usr/bin/lipo checking for otool... /usr/bin/otool checking for install_name_tool... /usr/bin/install_name_tool checking for strip... strip configure: Rewriting STRIP to "/usr/bin/strip" checking for nm... nm configure: Rewriting NM to "/usr/bin/nm" 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 the C compiler supports "-m64"... yes checking if the C++ compiler supports "-m64"... yes checking if both compilers 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... no checking if native warnings are errors... true (default) checking for library containing clock_gettime... none required checking if the C compiler supports "-ffp-contract=off"... yes checking if the C++ compiler supports "-ffp-contract=off"... yes checking if both compilers support "-ffp-contract=off"... yes checking what type of native debug symbols to use... external checking for dtrace tool... /usr/sbin/dtrace checking sys/sdt.h usability... yes checking sys/sdt.h presence... yes checking for sys/sdt.h... yes checking if dtrace should be built... yes, dependencies present checking if Hotspot gtest unit tests should be built... 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 Using freetype: bundled checking for which libjpeg to use... bundled checking for which giflib to use... bundled checking for PNG... no 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... yes checking if zgc can be built... no, platform not supported checking if jvmci module jdk.internal.vm.ci should be built... yes checking if graal module jdk.internal.vm.compiler should be built... yes checking if aot should be enabled... yes 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... 8 checking for memory size... 16384 MB checking for appropriate number of jobs to run in parallel... 8 checking flags for boot jdk java command ... -Duser.language=en -Duser.country=US -XX:+UnlockDiagnosticVMOptions -XX:-VerifySharedSpaces -XX:SharedArchiveFile=/Users/frank/Desktop/Work/Indoor_Positioning/software/jdk12-06222165c35f/build/macosx-x86_64-server-release/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... yes checking is ccache enabled... no checking if build directory is on local disk... yes checking JVM features for JVM variant 'server'... "aot cds cmsgc compiler1 compiler2 dtrace epsilongc g1gc graal jfr jni-check jvmci jvmti management nmt parallelgc serialgc services shenandoahgc vm-structs" configure: creating /Users/frank/Desktop/Work/Indoor_Positioning/software/jdk12-06222165c35f/build/macosx-x86_64-server-release/configure-support/config.status config.status: creating /Users/frank/Desktop/Work/Indoor_Positioning/software/jdk12-06222165c35f/build/macosx-x86_64-server-release/spec.gmk config.status: creating /Users/frank/Desktop/Work/Indoor_Positioning/software/jdk12-06222165c35f/build/macosx-x86_64-server-release/bootcycle-spec.gmk config.status: creating /Users/frank/Desktop/Work/Indoor_Positioning/software/jdk12-06222165c35f/build/macosx-x86_64-server-release/buildjdk-spec.gmk config.status: creating /Users/frank/Desktop/Work/Indoor_Positioning/software/jdk12-06222165c35f/build/macosx-x86_64-server-release/compare.sh config.status: creating /Users/frank/Desktop/Work/Indoor_Positioning/software/jdk12-06222165c35f/build/macosx-x86_64-server-release/Makefile ==================================================== A new configuration has been successfully created in /Users/frank/Desktop/Work/Indoor_Positioning/software/jdk12-06222165c35f/build/macosx-x86_64-server-release using default settings. Configuration summary: * Debug level: release * HS debug level: product * JVM variants: server * JVM features: server: 'aot cds cmsgc compiler1 compiler2 dtrace epsilongc g1gc graal jfr jni-check jvmci jvmti management nmt parallelgc serialgc services shenandoahgc vm-structs' * OpenJDK target: OS: macosx, CPU architecture: x86, address length: 64 * Version string: 12-internal+0-adhoc.frank.jdk12-06222165c35f (12-internal) Tools summary: * Boot JDK: openjdk version "11.0.11" 2021-04-20 OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9) OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed mode) (at /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home) * Toolchain: clang (clang/LLVM from Xcode 12.5.1) * C Compiler: Version 12.0.5 (at /usr/bin/clang) * C++ Compiler: Version 12.0.5 (at /usr/bin/clang++) Build performance summary: * Cores to use: 8 * Memory limit: 16384 MB make images Building target 'images' in configuration 'macosx-x86_64-server-release' Warning: No SCM configuration present and no .src-rev Compiling 8 files for BUILD_TOOLS_LANGTOOLS Parsing 2 properties into enum-like class for jdk.compiler Compiling 13 properties into resource bundles for jdk.javadoc Compiling Compiling 12 7 properties properties into into resource resource bundles bundles for for jdk.jdeps jdk.jshell Compiling 19 properties into resource bundles for jdk.compiler Compiling 117 files for BUILD_java.compiler.interim Creating hotspot/variant-server/tools/adlc/adlc from 13 file(s) Compiling 2 files for BUILD_JVMTI_TOOLS Compiling 1 files for BUILD_JFR_TOOLS Compiling 396 files for BUILD_jdk.compiler.interim ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/JavaVM.framework/Frameworks' Creating support/modules_libs/java.base/server/libjvm.dylib from 921 file(s) Creating hotspot/variant-server/libjvm/gtest/libjvm.dylib from 104 file(s) Creating hotspot/variant-server/libjvm/gtest/gtestLauncher from 1 file(s) /Users/frank/Desktop/Work/Indoor_Positioning/software/jdk12-06222165c35f/src/hotspot/share/runtime/arguments.cpp:1452:35: error: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Werror,-Wstring-compare] if (old_java_vendor_url_bug != DEFAULT_VENDOR_URL_BUG) { ^ ~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[3]: *** [/Users/frank/Desktop/Work/Indoor_Positioning/software/jdk12-06222165c35f/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/arguments.o] Error 1 make[3]: *** Waiting for unfinished jobs.... Compiling 304 files for BUILD_jdk.javadoc.interim Compiling 162 files for BUILD_TOOLS_JDK Compiling 3 files for BUILD_VM_COMPILER_MATCH_PROCESSOR Compiling 31 files for BUILD_JRTFS Compiling 5 files for BUILD_VM_COMPILER_NODEINFO_PROCESSOR Compiling 2 files for COMPILE_DEPEND Compiling 188 files for BUILD_jdk.rmic.interim Creating support/modules_libs/java.base/jrt-fs.jar Compiling 3 files for BUILD_VM_COMPILER_OPTIONS_PROCESSOR make[2]: *** [hotspot-server-libs] Error 2 make[2]: *** Waiting for unfinished jobs.... Compiling 14 files for BUILD_VM_COMPILER_REPLACEMENTS_PROCESSOR Compiling 3 files for BUILD_VM_COMPILER_SERVICEPROVIDER_PROCESSOR Creating buildtools/jdk.vm.compiler.match.processor.jar Creating buildtools/jdk.vm.compiler.nodeinfo.processor.jar Creating buildtools/jdk.vm.compiler.options.processor.jar Creating buildtools/jdk.vm.compiler.replacements.verifier.jar Creating buildtools/jdk.vm.compiler.serviceprovider.processor.jar 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. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. ERROR: Build failed for target 'images' in configuration 'macosx-x86_64-server-release' (exit code 2) Stopping sjavac server === Output from failing command(s) repeated here === * For target hotspot_variant-server_libjvm_objs_arguments.o: /Users/frank/Desktop/Work/Indoor_Positioning/software/jdk12-06222165c35f/src/hotspot/share/runtime/arguments.cpp:1452:35: error: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Werror,-Wstring-compare] if (old_java_vendor_url_bug != DEFAULT_VENDOR_URL_BUG) { ^ ~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. * All command lines available in /Users/frank/Desktop/Work/Indoor_Positioning/software/jdk12-06222165c35f/build/macosx-x86_64-server-release/make-support/failure-logs. === End of repeated output === No indication of failed target found. Hint: Try searching the build log for '] Error'. Hint: See doc/building.html#troubleshooting for assistance. make[1]: *** [main] Error 2 make: *** [images] Error 2