Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-413118-72800/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/java-21-openjdk-portable-21.0.6.0.7-1.0.2.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-413118-72800/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6SguhT + umask 022 + cd /builddir/build/BUILD Preparing (Red_Hat-21.0.6.0.7-1) System is RHEL=8, CentOS=0, EPEL=0, Fedora=0 CPU: loongarch64, arch install directory: loongarch64, SystemTap install directory: loongarch64 include_normal_build is 1 include_debug_build is 1 include_fastdebug_build is 1 + echo 'Preparing (Red_Hat-21.0.6.0.7-1)' + echo 'System is RHEL=8, CentOS=0, EPEL=0, Fedora=0' + echo 'CPU: loongarch64, arch install directory: loongarch64, SystemTap install directory: loongarch64' + '[' 1 -eq 0 -o 1 -eq 1 ']' + echo 'include_normal_build is 1' + '[' 1 -eq 0 -o 1 -eq 1 ']' + echo 'include_debug_build is 1' + '[' 1 -eq 0 -o 1 -eq 1 ']' + echo 'include_fastdebug_build is 1' + '[' 1 -eq 0 -a 1 -eq 0 -a 1 -eq 0 ']' + export XZ_OPT=-T0 + XZ_OPT=-T0 + cd /builddir/build/BUILD + rm -rf java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64 + /usr/bin/mkdir -p java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64 + cd java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64 + /usr/bin/xz -dc /builddir/build/SOURCES/openjdk-21.0.6+7.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ expr length 00000001 + prioritylength=8 ~/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7 ~/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64 Patch #1001 (fips-21u-0a42e29b391.patch): + '[' 8 -ne 8 ']' + pushd jdk-21.0.6+7 + echo 'Patch #1001 (fips-21u-0a42e29b391.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file make/autoconf/build-aux/pkg.m4 patching file make/autoconf/lib-sysconf.m4 patching file make/autoconf/libraries.m4 patching file make/autoconf/spec.gmk.in patching file make/modules/java.base/Gendata.gmk patching file make/modules/java.base/Lib.gmk patching file src/java.base/share/classes/com/sun/crypto/provider/SunJCE.java patching file src/java.base/share/classes/java/security/Security.java patching file src/java.base/share/classes/java/security/SystemConfigurator.java patching file src/java.base/share/classes/jdk/internal/access/JavaSecuritySystemConfiguratorAccess.java patching file src/java.base/share/classes/jdk/internal/access/SharedSecrets.java patching file src/java.base/share/classes/module-info.java patching file src/java.base/share/classes/sun/security/provider/SunEntries.java patching file src/java.base/share/classes/sun/security/rsa/SunRsaSignEntries.java patching file src/java.base/share/conf/security/java.security patching file src/java.base/share/conf/security/nss.fips.cfg.in patching file src/java.base/share/lib/security/default.policy patching file src/java.base/share/native/libsystemconf/systemconf.c patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/FIPSKeyImporter.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/FIPSTokenLoginHandler.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Token.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11.java Hunk #3 succeeded at 2040 (offset 36 lines). patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11Exception.java patching file src/jdk.crypto.ec/share/classes/sun/security/ec/SunEC.java patching file test/jdk/sun/security/pkcs11/fips/NssdbPin.java patching file test/jdk/sun/security/pkcs11/fips/VerifyMissingAttributes.java + popd ~/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64 ++ pwd + VERSION_FILE=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/make/conf/version-numbers.conf + '[' -f /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/make/conf/version-numbers.conf ']' ++ grep '^DEFAULT_PROMOTED_VERSION_PRE' /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/make/conf/version-numbers.conf ++ cut -d = -f 2 + UPSTREAM_EA_DESIGNATOR= + '[' x '!=' x ']' + tar --strip-components=1 -x -I xz -f /builddir/build/SOURCES/tapsets-icedtea-6.0.0pre00-c848b93a8598.tar.xz + cp -r tapset tapset-slowdebug + cp -r tapset tapset-fastdebug + for suffix in "-slowdebug" "-fastdebug" "" + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-slowdebug/hotspot.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-slowdebug/hotspot.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-slowdebug/hotspot_gc.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-slowdebug/hotspot_gc.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-slowdebug/hotspot_jni.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-slowdebug/hotspot_jni.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-slowdebug/jstack.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-slowdebug/jstack.stp.in + for suffix in "-slowdebug" "-fastdebug" "" + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-fastdebug/hotspot.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-fastdebug/hotspot.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-fastdebug/hotspot_gc.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-fastdebug/hotspot_gc.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-fastdebug/hotspot_jni.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-fastdebug/hotspot_jni.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset-fastdebug/jstack.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset-fastdebug/jstack.stp.in + for suffix in "-slowdebug" "-fastdebug" "" + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset/hotspot.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset/hotspot.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset/hotspot_gc.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset/hotspot_gc.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset/hotspot_jni.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset/hotspot_jni.stp.in + for file in "tapset"$suffix/*.in + sed -i -e s:@JAVA_SPEC_VER@:21:g tapset/jstack.stp.in + sed -i -e s:@INSTALL_ARCH_DIR@:loongarch64:g tapset/jstack.stp.in + echo 'No devkit for loongarch64 on RHEL 8' No devkit for loongarch64 on RHEL 8 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.C0Q9Eo + umask 022 + cd /builddir/build/BUILD + cd java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64 + export NUM_PROC=4 + NUM_PROC=4 + export NUM_PROC=4 + NUM_PROC=4 + export XZ_OPT=-T0 + XZ_OPT=-T0 + export ARCH_DATA_MODEL=64 + ARCH_DATA_MODEL=64 + EXTRA_CFLAGS=-g + EXTRA_CPP_FLAGS=-g + export EXTRA_CFLAGS EXTRA_CPP_FLAGS ++ pwd + VERSION_FILE=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/make/conf/version-numbers.conf ++ stat --format=%Y /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/make/conf/version-numbers.conf + OPENJDK_UPSTREAM_TAG_EPOCH=1736022132 ++ which gcc ++ alias ++ /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot gcc ++ eval declare -f +++ declare -f Building /builddir/build/SOURCES/alt-java.c + GCC=/usr/bin/gcc + echo 'Building /builddir/build/SOURCES/alt-java.c' + mkdir -p install/altjava.install + LD_LIBRARY_PATH= + /usr/bin/gcc -g -o install/altjava.install/alt-java /builddir/build/SOURCES/alt-java.c /builddir/build/SOURCES/alt-java.c: In function 'set_speculation': /builddir/build/SOURCES/alt-java.c:74:2: warning: #warning alt-java requested but SSB mitigation not available on this platform. [-Wcpp] #warning alt-java requested but SSB mitigation not available on this platform. ^~~~~~~ Generating alt-java man page + echo 'Generating alt-java man page' + altjavamanpage=install/altjava.install/alt-java.1 + echo 'Hardened java binary recommended for launching untrusted code from the Web e.g. javaws' + cat jdk-21.0.6+7/src/java.base/share/man/java.1 Building 21.0.6.0-7, pre=, opt=LTS Building HotSpot only for the latest libjvm.so + echo 'Building 21.0.6.0-7, pre=, opt=LTS' + echo 'Building HotSpot only for the latest libjvm.so' + cp -LR --preserve=mode,timestamps /usr/lib/jvm/java-21-openjdk newboot ++ pwd + systemjdk=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot + buildjdk build/newboot /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot hotspot release bundled internal + local outputdir=build/newboot + local buildjdk=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot + local maketargets=hotspot + local debuglevel=release + local link_opt=bundled + local debug_symbols=internal + local devkit= ++ pwd + local top_dir_abs_src_path=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7 ++ pwd Using output directory: build/newboot Checking build JDK /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot is operational... + local top_dir_abs_build_path=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot + '[' xbundled = xbundled ']' + libc_link_opt=static + echo 'Using output directory: build/newboot' + echo 'Checking build JDK /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot is operational...' + /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot/bin/java -version openjdk version "21.0.5" 2024-10-15 LTS OpenJDK Runtime Environment (Red_Hat-21.0.5.0.10-1) (build 21.0.5+10-LTS) OpenJDK 64-Bit Server VM (Red_Hat-21.0.5.0.10-1) (build 21.0.5+10-LTS, mixed mode, sharing) Using make targets: hotspot Using debuglevel: release Using link_opt: bundled Using debug_symbols: internal Building 21.0.6.0-7, pre=, opt=LTS + echo 'Using make targets: hotspot' + echo 'Using debuglevel: release' + echo 'Using link_opt: bundled' + echo 'Using debug_symbols: internal' + echo 'Building 21.0.6.0-7, pre=, opt=LTS' + mkdir -p build/newboot ~/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot ~/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64 + pushd build/newboot ++ readlink -f /etc/pki/java/cacerts + LD_LIBRARY_PATH= + bash /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/configure --with-cacerts-file=/etc/pki/ca-trust/extracted/java/cacerts --with-version-build=7 --with-version-pre= --with-version-opt=LTS '--with-vendor-version-string=(Red_Hat-21.0.6.0.7-1)' '--with-vendor-name=Red Hat, Inc.' --with-vendor-url=https://www.redhat.com/ --with-vendor-bug-url=https://access.redhat.com/support/cases/ --with-vendor-vm-bug-url=https://access.redhat.com/support/cases/ --with-boot-jdk=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot --with-debug-level=release --with-native-debug-symbols=internal --disable-sysconf-nss --enable-unlimited-crypto --with-zlib=bundled --with-freetype=bundled --with-libjpeg=bundled --with-giflib=bundled --with-libpng=bundled --with-lcms=bundled --with-harfbuzz=bundled --with-stdc++lib=static --with-extra-cxxflags=-g --with-extra-cflags=-g '--with-extra-ldflags=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' --with-num-cores=4 --with-source-date=version --disable-javac-server --disable-warnings-as-errors Runnable configure script is not present Generating runnable configure script at /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot/configure-support/generated-configure.sh Using autoconf at /usr/bin/autoconf [autoconf (GNU Autoconf) 2.69] configure: Configuration created at Tue Feb 11 04:50:17 EST 2025. 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... loongarch64-unknown-linux-gnu checking host system type... loongarch64-unknown-linux-gnu checking target system type... loongarch64-unknown-linux-gnu checking openjdk-build os-cpu... linux-loongarch64 checking openjdk-build C library... gnu checking openjdk-target os-cpu... linux-loongarch64 checking openjdk-target C library... gnu checking compilation type... native checking for top-level directory... /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7 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... [not found] checking for gzip... /usr/bin/gzip 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 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 xargs... /usr/bin/xargs checking for fgrep... /usr/bin/grep -F checking for df... /usr/bin/df checking for git... /usr/bin/git checking for nice... /usr/bin/nice checking for greadlink... [not found] checking for readlink... /usr/bin/readlink checking for whoami... /usr/bin/whoami checking for lsb_release... [not found] checking for cmp... /usr/bin/cmp checking for uniq... /usr/bin/uniq checking for build environment type... dev, default (calculated from 'auto') checking if custom source is suppressed (openjdk-only)... disabled, default checking for --enable-debug... disabled, default checking which debug level to use... release checking which variants of the JVM to build... server checking if absolute paths should be allowed in the build output... no, release build checking for toolchain path... checking for sysroot... checking for extra path... checking where to store configuration... in current directory checking what configuration name to use... /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot checking for zypper... [not found] checking for apt-get... [not found] checking for yum... [not found] checking for brew... [not found] checking for port... [not found] checking for pkgutil... [not found] checking for pkgadd... [not found] checking for pacman... [not found] checking for apk... [not found] checking for pandoc... /usr/bin/pandoc checking for pandoc version... 2.0.6 checking if the pandoc smart extension needs to be disabled for markdown... configure: WARNING: pandoc is version 2.0.6, not the recommended version 2.19.2 yes 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 stat... /usr/bin/stat checking for time... time [builtin] checking for flock... /usr/bin/flock checking for dtrace... /usr/bin/dtrace checking for gpatch... [not found] checking for patch... /usr/bin/patch checking if date is a GNU compatible version... yes 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 for JMOD compression type... zip-6, default checking if packaged modules are kept... enabled, default checking for --with-build-user... mockbuild, default checking for --with-jdk-rc-name... OpenJDK Platform, default checking for --with-vendor-name... Red Hat, Inc., from command line checking for --with-jdk-rc-company-name... Red Hat, Inc., default checking for --with-vendor-url... https://www.redhat.com/, from command line checking for --with-vendor-bug-url... https://access.redhat.com/support/cases/, from command line checking for --with-vendor-vm-bug-url... https://access.redhat.com/support/cases/, from command line checking for --with-version-string... , default checking for --with-version-feature... 21, default checking for --with-version-date... 2025-01-21, default checking for --with-vendor-version-string... (Red_Hat-21.0.6.0.7-1), from command line checking for --with-macosx-bundle-name-base... OpenJDK, default checking for --with-macosx-bundle-id-base... net.java.openjdk, default checking for --with-macosx-bundle-build-version... 7, default checking for version string... 21.0.6+7-LTS configure: Found potential Boot JDK using configure arguments checking for Boot JDK... /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot checking Boot JDK version... openjdk version "21.0.5" 2024-10-15 LTS OpenJDK Runtime Environment (Red_Hat-21.0.5.0.10-1) (build 21.0.5+10-LTS) OpenJDK 64-Bit Server VM (Red_Hat-21.0.5.0.10-1) (build 21.0.5+10-LTS, mixed mode, sharing) 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 jar supports --date=TIMESTAMP... true 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 checking for docs-reference JDK... no, using interim javadoc for the docs-reference targets checking what source date to use... 1737417600, from 'version' checking if we should build headless-only (no GUI)... disabled, default checking if linker should clean out unused code (linktime-gc)... disabled, default checking for graphviz dot... yes checking for pandoc... yes checking for --enable-full-docs... enabled, from default 'auto' checking for cacerts file... /etc/pki/ca-trust/extracted/java/cacerts checking for cacerts source... default checking for --enable-unlimited-crypto... enabled, from command line checking for jni library path... default checking if static build is available... no checking if static build is enabled... disabled, default 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 (Anolis 8.5.0-22.0.1)] 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 (Anolis 8.5.0-22.0.1)] 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 configure: Using gcc linker version 2.30 [GNU ld version 2.30-125.0.1.an8] configure: comparing linker version to minimum version 2.18 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 if @file is supported by gcc... yes checking if CC supports "-m64"... no checking if CXX supports "-m64"... no checking if both CC and CXX support "-m64"... no checking for jtreg... [not found] checking for jtreg test harness... no, not found checking for jtreg jdk... no, using BOOT_JDK checking for jmh (Java Microbenchmark Harness)... no, disabled checking for jib... 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 *... 8 checking for target address size... 64 bits checking whether byte ordering is bigendian... no checking for --enable-branch-protection... disabled, default checking if CC supports "-fdebug-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/="... yes checking if CXX supports "-fdebug-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/="... yes checking if both CC and CXX support "-fdebug-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/="... yes checking for --enable-warnings-as-errors... disabled, from command line 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 TARGET is x86... no checking if CC supports "-fno-lifetime-dse"... yes checking if CXX supports "-fno-lifetime-dse"... yes checking if both CC and CXX support "-fno-lifetime-dse"... yes checking if CC supports "-fmacro-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/="... yes checking if CXX supports "-fmacro-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/="... yes checking if both CC and CXX support "-fmacro-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/="... yes checking how to prevent absolute paths in output... using compiler options 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_CC supports "-fno-lifetime-dse"... yes checking if BUILD_CXX supports "-fno-lifetime-dse"... yes checking if both BUILD_CC and BUILD_CXX support "-fno-lifetime-dse"... yes checking if BUILD_CC supports "-fmacro-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/="... yes checking if BUILD_CXX supports "-fmacro-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/="... yes checking if both BUILD_CC and BUILD_CXX support "-fmacro-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/="... yes checking how to prevent absolute paths in output... using compiler options 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 how to run strip... --strip-debug 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 if native coverage is available... yes checking for --enable-native-coverage... disabled, default checking if AddressSanitizer (asan) is available... yes checking for --enable-asan... disabled, default checking for --with-additional-ubsan-checks... , default checking if UndefinedBehaviorSanitizer (ubsan) is available... yes checking for --enable-ubsan... disabled, default checking if LeakSanitizer (lsan) is available... yes checking for --enable-lsan... disabled, default checking if fallback linker enabled... disabled, default checking if static link of stdc++ is possible... yes checking how to link with libstdc++... static 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... bundled checking for which lcms to use... bundled checking for which harfbuzz to use... bundled 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 Using freetype: bundled checking for --enable-hsdis-bundling... disabled, default checking what hsdis backend to use... 'none', hsdis will not be built checking if hsdis should be bundled... no checking for --enable-libffi-bundling... disabled, default checking for cos in -lm... yes checking for dlopen in -ldl... yes 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 for NSS library directory... /usr/lib64 checking whether to link the system NSS library with the System Configurator (libsysconf)... no checking for JVM features enabled by the user... none checking for JVM features disabled by the user... none checking if platform is supported by CDS... yes checking if JVM feature 'cds' is available... yes checking for dtrace tool and platform support... /usr/bin/dtrace checking sys/sdt.h usability... yes checking sys/sdt.h presence... yes checking for sys/sdt.h... yes checking if JVM feature 'dtrace' is available... yes checking if platform is supported by JVMCI... no, loongarch64 checking if JVM feature 'jvmci' is available... no checking if platform is supported by Shenandoah... no, loongarch64 checking if JVM feature 'shenandoahgc' is available... no checking if static-build is enabled in configure... no, use --enable-static-build to enable static build. checking if JVM feature 'static-build' is available... no checking if platform is supported by ZGC... no, linux-loongarch64 checking if JVM feature 'zgc' is available... no checking JVM features to use for variant 'server'... 'cds compiler1 compiler2 dtrace epsilongc g1gc jfr jni-check jvmti management parallelgc serialgc services vm-structs' checking what hotspot build time to use... 2025-01-21T00:00:00Z (from --with-source-date) checking if the jtreg failure handler is available... no (jtreg not present) checking if the jtreg failure handler should be built... disabled, default checking if the jtreg test thread factory is available... no (jtreg not present) checking if the jtreg test thread factory should be built... disabled, from default 'auto' checking if the CDS classlist generation should be enabled... enabled, from default 'auto' checking if any translations should be excluded... no checking if static man pages should be copied... enabled, default checking if CDS archive is available... yes checking if a default CDS archive should be generated... enabled, from default 'auto' checking if CDS archive is available... yes checking if compatible cds region alignment enabled... disabled, default checking for memory size... 15759 MB checking for appropriate number of jobs to run in parallel... 4 checking whether to use javac server... disabled, from command line checking flags for boot jdk java command ... -Duser.language=en -Duser.country=US -XX:+UnlockDiagnosticVMOptions -XX:-VerifySharedSpaces -XX:SharedArchiveFile=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot/configure-support/classes.jsa -Xshare:auto checking flags for boot jdk java command for big workloads... -Xms64M -Xmx1600M checking flags for bootcycle boot jdk java command for big workloads... -Xms64M -Xmx1600M checking flags for boot jdk java command for small workloads... -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1 checking for --enable-icecc... disabled, default checking if precompiled headers are available... yes checking for --enable-precompiled-headers... enabled, from default 'auto' checking for ccache... [not found] checking if ccache is available... no, ccache binary missing or not executable checking if ccache is enabled... disabled, default checking if build directory is on local disk... yes configure: creating /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot/configure-support/config.status config.status: creating /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot/spec.gmk config.status: creating /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot/bootcycle-spec.gmk config.status: creating /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot/buildjdk-spec.gmk config.status: creating /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot/compare.sh config.status: creating /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot/Makefile ==================================================== A new configuration has been successfully created in /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot using configure arguments '--with-cacerts-file=/etc/pki/ca-trust/extracted/java/cacerts --with-version-build=7 --with-version-pre= --with-version-opt=LTS --with-vendor-version-string='(Red_Hat-21.0.6.0.7-1)' --with-vendor-name='Red Hat, Inc.' --with-vendor-url=https://www.redhat.com/ --with-vendor-bug-url=https://access.redhat.com/support/cases/ --with-vendor-vm-bug-url=https://access.redhat.com/support/cases/ --with-boot-jdk=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot --with-debug-level=release --with-native-debug-symbols=internal --disable-sysconf-nss --enable-unlimited-crypto --with-zlib=bundled --with-freetype=bundled --with-libjpeg=bundled --with-giflib=bundled --with-libpng=bundled --with-lcms=bundled --with-harfbuzz=bundled --with-stdc++lib=static --with-extra-cxxflags=-g --with-extra-cflags=-g --with-extra-ldflags='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' --with-num-cores=4 --with-source-date=version --disable-javac-server --disable-warnings-as-errors'. Configuration summary: * Name: /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot * Debug level: release * HS debug level: product * JVM variants: server * JVM features: server: 'cds compiler1 compiler2 dtrace epsilongc g1gc jfr jni-check jvmti management parallelgc serialgc services vm-structs' * OpenJDK target: OS: linux, CPU architecture: loongarch, address length: 64 * Version string: 21.0.6+7-LTS (21.0.6) * Source date: 1737417600 (2025-01-21T00:00:00Z) Tools summary: * Boot JDK: openjdk version "21.0.5" 2024-10-15 LTS OpenJDK Runtime Environment (Red_Hat-21.0.5.0.10-1) (build 21.0.5+10-LTS) OpenJDK 64-Bit Server VM (Red_Hat-21.0.5.0.10-1) (build 21.0.5+10-LTS, mixed mode, sharing) (at /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot) * 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: * Build jobs: 4 * Memory limit: 15759 MB The following warnings were produced. Repeated here for convenience: WARNING: pandoc is version 2.0.6, not the recommended version 2.19.2 + cat spec.gmk # # Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation. Oracle designates this # particular file as subject to the "Classpath" exception as provided # by Oracle in the LICENSE file that accompanied this code. # # This code is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # version 2 for more details (a copy is included in the LICENSE file that # accompanied this code). # # You should have received a copy of the GNU General Public License version # 2 along with this work; if not, write to the Free Software Foundation, # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. # # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA # or visit www.oracle.com if you need additional information or have any # questions. # # Configured Tue Feb 11 04:50:17 EST 2025 to build # for target system linux-loongarch64 # (called loongarch64-unknown-linux-gnu by autoconf) # on build system linux-loongarch64 # (called loongarch64-unknown-linux-gnu by autoconf) # using 'configure --with-cacerts-file=/etc/pki/ca-trust/extracted/java/cacerts --with-version-build=7 --with-version-pre= --with-version-opt=LTS --with-vendor-version-string='(Red_Hat-21.0.6.0.7-1)' --with-vendor-name='Red Hat, Inc.' --with-vendor-url=https://www.redhat.com/ --with-vendor-bug-url=https://access.redhat.com/support/cases/ --with-vendor-vm-bug-url=https://access.redhat.com/support/cases/ --with-boot-jdk=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot --with-debug-level=release --with-native-debug-symbols=internal --disable-sysconf-nss --enable-unlimited-crypto --with-zlib=bundled --with-freetype=bundled --with-libjpeg=bundled --with-giflib=bundled --with-libpng=bundled --with-lcms=bundled --with-harfbuzz=bundled --with-stdc++lib=static --with-extra-cxxflags=-g --with-extra-cflags=-g --with-extra-ldflags='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' --with-num-cores=4 --with-source-date=version --disable-javac-server --disable-warnings-as-errors' # The command line given to configure. CONFIGURE_COMMAND_LINE:=--with-cacerts-file=/etc/pki/ca-trust/extracted/java/cacerts --with-version-build=7 --with-version-pre= --with-version-opt=LTS --with-vendor-version-string='(Red_Hat-21.0.6.0.7-1)' --with-vendor-name='Red Hat, Inc.' --with-vendor-url=https://www.redhat.com/ --with-vendor-bug-url=https://access.redhat.com/support/cases/ --with-vendor-vm-bug-url=https://access.redhat.com/support/cases/ --with-boot-jdk=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot --with-debug-level=release --with-native-debug-symbols=internal --disable-sysconf-nss --enable-unlimited-crypto --with-zlib=bundled --with-freetype=bundled --with-libjpeg=bundled --with-giflib=bundled --with-libpng=bundled --with-lcms=bundled --with-harfbuzz=bundled --with-stdc++lib=static --with-extra-cxxflags=-g --with-extra-cflags=-g --with-extra-ldflags='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' --with-num-cores=4 --with-source-date=version --disable-javac-server --disable-warnings-as-errors # The current directory when configure was run CONFIGURE_START_DIR:=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot # How configure was originally called, if not called directly REAL_CONFIGURE_COMMAND_EXEC_SHORT := REAL_CONFIGURE_COMMAND_EXEC_FULL := REAL_CONFIGURE_COMMAND_LINE := # A self-referential reference to this file. SPEC:=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot/spec.gmk # Path to autoconf if overridden by the user, to be used by "make reconfigure" AUTOCONF := /usr/bin/autoconf # SPACE and COMMA are defined in MakeBase.gmk, but they are also used in # some definitions here, and are needed if MakeBase.gmk is not included before # this file. X:= SPACE:=$(X) $(X) COMMA:=, # What make to use for main processing, after bootstrapping top-level Makefile. MAKE := /usr/bin/gmake # Make sure all shell commands are executed with the C locale export LC_ALL := C # Make sure we override any local CLASSPATH variable export CLASSPATH := # The default make arguments MAKE_ARGS = $(MAKE_LOG_FLAGS) -r -R -I $(TOPDIR)/make/common SPEC=$(SPEC) \ MAKE_LOG_FLAGS="$(MAKE_LOG_FLAGS)" $(MAKE_LOG_VARS) OUTPUT_SYNC_SUPPORTED:=true OUTPUT_SYNC:=none # Override the shell with bash BASH:=/usr/bin/bash BASH_ARGS:= -o pipefail -e SHELL:=$(BASH) $(BASH_ARGS) # The "human readable" name of this configuration CONF_NAME:=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot # The built jdk will run in this target system. OPENJDK_TARGET_OS:=linux OPENJDK_TARGET_OS_TYPE:=unix OPENJDK_TARGET_OS_ENV:=linux OPENJDK_TARGET_OS_UPPERCASE:=LINUX OPENJDK_TARGET_CPU:=loongarch64 OPENJDK_TARGET_CPU_ARCH:=loongarch OPENJDK_TARGET_CPU_BITS:=64 OPENJDK_TARGET_CPU_ENDIAN:=little OPENJDK_TARGET_LIBC:=gnu COMPILE_TYPE:=native # Legacy support OPENJDK_TARGET_CPU_LEGACY:=loongarch64 OPENJDK_TARGET_CPU_LEGACY_LIB:=loongarch64 OPENJDK_TARGET_CPU_OSARCH:=loongarch64 OPENJDK_TARGET_OS_INCLUDE_SUBDIR:=linux HOTSPOT_TARGET_OS := linux HOTSPOT_TARGET_OS_TYPE := posix HOTSPOT_TARGET_CPU := loongarch64 HOTSPOT_TARGET_CPU_ARCH := loongarch HOTSPOT_TARGET_CPU_DEFINE := LOONGARCH64 HOTSPOT_TARGET_LIBC := gnu OPENJDK_TARGET_BUNDLE_PLATFORM:=linux-loongarch64 JDK_ARCH_ABI_PROP_NAME := # We are building on this build system. # When not cross-compiling, it is the same as the target. OPENJDK_BUILD_OS:=linux OPENJDK_BUILD_OS_TYPE:=unix OPENJDK_BUILD_OS_ENV:=linux OPENJDK_BUILD_CPU:=loongarch64 OPENJDK_BUILD_CPU_ARCH:=loongarch OPENJDK_BUILD_CPU_BITS:=64 OPENJDK_BUILD_CPU_ENDIAN:=little OPENJDK_BUILD_LIBC:=gnu OPENJDK_BUILD_OS_INCLUDE_SUBDIR:=linux # Target platform value in ModuleTarget class file attribute. OPENJDK_MODULE_TARGET_PLATFORM:=linux-loongarch64 # OS_* properties in release file RELEASE_FILE_OS_NAME:=Linux RELEASE_FILE_OS_ARCH:=loongarch64 RELEASE_FILE_LIBC:=gnu SOURCE_DATE := 1737417600 ISO_8601_FORMAT_STRING := %Y-%m-%dT%H:%M:%SZ ifneq ($(SOURCE_DATE), updated) # For "updated" source date value, these are set in InitSupport.gmk export SOURCE_DATE_EPOCH := $(SOURCE_DATE) SOURCE_DATE_ISO_8601 := 2025-01-21T00:00:00Z endif LIBM:=-lm LIBDL:=-ldl WINENV_ROOT := WINENV_PREFIX := ifneq ($(findstring windows.wsl, linux), ) # Tell WSL to convert PATH between linux and windows export WSLENV := PATH/l else ifeq (linux, windows.msys2) # Prohibit msys2 from attempting any path wrangling export MSYS2_ARG_CONV_EXCL := "*" endif # Save the original path before replacing it with the Visual Studio tools ORIGINAL_PATH := /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin ifeq (gcc, microsoft) # The Visual Studio toolchain needs the PATH to be adjusted to include # Visual Studio tools. export PATH := :$(PATH) endif SYSROOT_CFLAGS := SYSROOT_LDFLAGS := # The top-level directory of the source repository TOPDIR:=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7 # Usually the top level directory, but could be something else if a custom # root is defined. WORKSPACE_ROOT:=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7 IMPORT_MODULES_CLASSES:= IMPORT_MODULES_CMDS:= IMPORT_MODULES_LIBS:= IMPORT_MODULES_CONF:= IMPORT_MODULES_LEGAL:= IMPORT_MODULES_MAN:= IMPORT_MODULES_SRC:= IMPORT_MODULES_MAKE:= COPYRIGHT_YEAR:=2025 HOTSPOT_BUILD_TIME:=2025-01-21T00:00:00Z # Platform naming variables LAUNCHER_NAME:=openjdk PRODUCT_NAME:=OpenJDK PRODUCT_SUFFIX:=Runtime Environment JDK_RC_PLATFORM_NAME:=Platform JDK_RC_NAME:=OpenJDK Platform JDK_RC_COMPANY_NAME:=Red Hat, Inc. COMPANY_NAME:=Red Hat, Inc. HOTSPOT_VM_DISTRO:=OpenJDK MACOSX_BUNDLE_NAME_BASE=OpenJDK MACOSX_BUNDLE_ID_BASE=net.java.openjdk MACOSX_BUNDLE_BUILD_VERSION=7 USERNAME:=mockbuild VENDOR_URL:=https://www.redhat.com/ VENDOR_URL_BUG:=https://access.redhat.com/support/cases/ VENDOR_URL_VM_BUG:=https://access.redhat.com/support/cases/ # New (JEP-223) version information ## Building blocks of the version string # First three version numbers, with well-specified meanings (numerical) VERSION_FEATURE := 21 VERSION_INTERIM := 0 VERSION_UPDATE := 6 VERSION_PATCH := 0 VERSION_EXTRA1 := 0 VERSION_EXTRA2 := 0 VERSION_EXTRA3 := 0 # The pre-release identifier (string) VERSION_PRE := # The build number (numerical) VERSION_BUILD := 7 # Optional build information (string) VERSION_OPT := LTS ## Composite variables # The version number as a dot separated sequence of numbers, e.g. 9.0.1 VERSION_NUMBER := 21.0.6 # VERSION_NUMBER but always with exactly 4 positions, with 0 for empty positions. VERSION_NUMBER_FOUR_POSITIONS := 21.0.6.0 # The complete version string, with additional build information VERSION_STRING := 21.0.6+7-LTS # The short version string, without trailing zeroes and just PRE, if present. VERSION_SHORT := 21.0.6 # The Java specification version. It usually equals the feature version number. VERSION_SPECIFICATION := 21 # A GA version is defined by the PRE string being empty. Rather than testing for # that, this variable defines it with true/false. VERSION_IS_GA := true # Version date VERSION_DATE := 2025-01-21 # Vendor version string VENDOR_VERSION_STRING := (Red_Hat-21.0.6.0.7-1) # Class-file version VERSION_CLASSFILE_MAJOR := 65 VERSION_CLASSFILE_MINOR := 0 # Version for API docs "new-since" feature VERSION_DOCS_API_SINCE := 11 JDK_SOURCE_TARGET_VERSION := 21 # Convenience CFLAGS settings for passing version information into native programs. VERSION_CFLAGS = \ -DVERSION_FEATURE=$(VERSION_FEATURE) \ -DVERSION_INTERIM=$(VERSION_INTERIM) \ -DVERSION_UPDATE=$(VERSION_UPDATE) \ -DVERSION_PATCH=$(VERSION_PATCH) \ -DVERSION_EXTRA1=$(VERSION_EXTRA1) \ -DVERSION_EXTRA2=$(VERSION_EXTRA2) \ -DVERSION_EXTRA3=$(VERSION_EXTRA3) \ -DVERSION_PRE='"$(VERSION_PRE)"' \ -DVERSION_BUILD=$(VERSION_BUILD) \ -DVERSION_OPT='"$(VERSION_OPT)"' \ -DVERSION_NUMBER='"$(VERSION_NUMBER)"' \ -DVERSION_STRING='"$(VERSION_STRING)"' \ -DVERSION_SHORT='"$(VERSION_SHORT)"' \ -DVERSION_SPECIFICATION='"$(VERSION_SPECIFICATION)"' \ -DVERSION_DATE='"$(VERSION_DATE)"' \ -DVENDOR_VERSION_STRING='"$(VENDOR_VERSION_STRING)"' \ -DVERSION_CLASSFILE_MAJOR=$(VERSION_CLASSFILE_MAJOR) \ -DVERSION_CLASSFILE_MINOR=$(VERSION_CLASSFILE_MINOR) \ # ifneq ($(COMPANY_NAME),) # COMPANY_NAME is set to "N/A" in make/conf/branding.conf by default, # but can be customized with the '--with-vendor-name' configure option. # Only export "VENDOR" to the build if COMPANY_NAME contains a real value. # Otherwise the default value for VENDOR, which is used to set the "java.vendor" # and "java.vm.vendor" properties is hard-coded into the source code (i.e. in # VersionProps.java.template in the jdk for "java.vendor" and # vm_version.cpp in the VM for "java.vm.vendor") ifneq ($(COMPANY_NAME), N/A) VERSION_CFLAGS += -DVENDOR='"$(COMPANY_NAME)"' endif endif # Only export VENDOR_URL, VENDOR_URL_BUG and VENDOR_VM_URL_BUG to the build if # they are not empty. Otherwise, default values which are defined in the sources # will be used. ifneq ($(VENDOR_URL),) VERSION_CFLAGS += -DVENDOR_URL='"$(VENDOR_URL)"' endif ifneq ($(VENDOR_URL_BUG),) VERSION_CFLAGS += -DVENDOR_URL_BUG='"$(VENDOR_URL_BUG)"' endif ifneq ($(VENDOR_URL_VM_BUG),) VERSION_CFLAGS += -DVENDOR_URL_VM_BUG='"$(VENDOR_URL_VM_BUG)"' endif # Different naming strings generated from the above information. RUNTIME_NAME=$(PRODUCT_NAME) $(PRODUCT_SUFFIX) # How to compile the code: release, fastdebug or slowdebug DEBUG_LEVEL:=release HOTSPOT_DEBUG_LEVEL:=product # Which JVM variants to build (space-separated list) JVM_VARIANTS := server JVM_VARIANT_MAIN := server # Lists of features per variant. Only relevant for the variants listed in # JVM_VARIANTS. JVM_FEATURES_server := cds compiler1 compiler2 dtrace epsilongc g1gc jfr jni-check jvmti management parallelgc serialgc services vm-structs JVM_FEATURES_client := JVM_FEATURES_core := JVM_FEATURES_minimal := JVM_FEATURES_zero := JVM_FEATURES_custom := # Used for make-time verifications VALID_JVM_FEATURES := cds compiler1 compiler2 dtrace epsilongc g1gc jfr jni-check jvmci jvmti link-time-opt management minimal opt-size parallelgc serialgc services shenandoahgc static-build vm-structs zero zgc VALID_JVM_VARIANTS := server client minimal core zero custom # Allow overriding the default hotspot library path HOTSPOT_OVERRIDE_LIBPATH := # Control use of precompiled header in hotspot libjvm build USE_PRECOMPILED_HEADER := true # Only build headless support or not ENABLE_HEADLESS_ONLY := false ENABLE_LINKTIME_GC := false # Ship debug symbols (e.g. pdbs on Windows) SHIP_DEBUG_SYMBOLS := ENABLE_FULL_DOCS := true # JDK_OUTPUTDIR specifies where a working jvm is built. # You can run $(JDK_OUTPUTDIR)/bin/java OUTPUTDIR := /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot # Colon left out to be able to override IMAGES_OUTPUTDIR for bootcycle-images SUPPORT_OUTPUTDIR=$(OUTPUTDIR)/support BUILDTOOLS_OUTPUTDIR=$(OUTPUTDIR)/buildtools HOTSPOT_OUTPUTDIR=$(OUTPUTDIR)/hotspot JDK_OUTPUTDIR=$(OUTPUTDIR)/jdk IMAGES_OUTPUTDIR=$(OUTPUTDIR)/images BUNDLES_OUTPUTDIR=$(OUTPUTDIR)/bundles TESTMAKE_OUTPUTDIR=$(OUTPUTDIR)/test-make MAKESUPPORT_OUTPUTDIR=$(OUTPUTDIR)/make-support # This does not get overridden in a bootcycle build CONFIGURESUPPORT_OUTPUTDIR:=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot/configure-support BUILDJDK_OUTPUTDIR=$(OUTPUTDIR)/buildjdk BUILD_FAILURE_HANDLER := false BUILD_JTREG_TEST_THREAD_FACTORY := false ENABLE_GENERATE_CLASSLIST := true EXCLUDE_TRANSLATIONS := BUILD_MANPAGES := true BUILD_CDS_ARCHIVE := true ENABLE_COMPATIBLE_CDS_ALIGNMENT := false ALLOW_ABSOLUTE_PATHS_IN_OUTPUT := false HSDIS_BACKEND := none ENABLE_HSDIS_BUNDLING := false HSDIS_CFLAGS := HSDIS_LDFLAGS := HSDIS_LIBS := # The boot jdk to use. This is overridden in bootcycle-spec.gmk. Make sure to keep # it in sync. BOOT_JDK:=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot BUILD_JDK:=$(JDK_OUTPUTDIR) CREATE_BUILDJDK:=false EXTERNAL_BUILDJDK:=false # Whether the boot jdk jar supports --date=TIMESTAMP BOOT_JDK_JAR_SUPPORTS_DATE:=true # When compiling Java source to be run by the boot jdk # use these extra flags, eg -source 6 -target 6 BOOT_JDK_SOURCETARGET:=-source 20 -target 20 -Xlint:-options # Information about the build system NUM_CORES:=4 MEMORY_SIZE:=15759 ENABLE_JAVAC_SERVER:=false # Store javac server synchronization files here, and # the javac server log files. JAVAC_SERVER_DIR=$(MAKESUPPORT_OUTPUTDIR)/javacservers # Number of parallel jobs to use for compilation JOBS?=4 TEST_JOBS?=0 # Default make target DEFAULT_MAKE_TARGET:=exploded-image DEFAULT_LOG:= # Fallback linker ENABLE_FALLBACK_LINKER:=false FREETYPE_TO_USE:=bundled FREETYPE_LIBS:= FREETYPE_CFLAGS:= FONTCONFIG_CFLAGS:= CUPS_CFLAGS:= ALSA_LIBS:=-lasound ALSA_CFLAGS:= LIBFFI_LIBS:= LIBFFI_CFLAGS:= ENABLE_LIBFFI_BUNDLING:=false LIBFFI_LIB_FILE:= FILE_MACRO_CFLAGS := -fmacro-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/= REPRODUCIBLE_CFLAGS := BRANCH_PROTECTION_CFLAGS := STATIC_LIBS_CFLAGS := -DSTATIC_BUILD=1 -ffunction-sections -fdata-sections -DJNIEXPORT='__attribute__((visibility("default")))' JMH_CORE_JAR := JMH_GENERATOR_JAR := JMH_JOPT_SIMPLE_JAR := JMH_COMMONS_MATH_JAR := JMH_VERSION := GTEST_FRAMEWORK_SRC := # Source file for cacerts CACERTS_FILE=/etc/pki/ca-trust/extracted/java/cacerts # Source folder for user provided cacerts PEM files CACERTS_SRC= # Enable unlimited crypto policy UNLIMITED_CRYPTO=true GCOV_ENABLED=false JCOV_ENABLED=false JCOV_HOME= JCOV_INPUT_JDK= JCOV_FILTERS= # AddressSanitizer ASAN_ENABLED:=false # LeakSanitizer LSAN_ENABLED:=false # UndefinedBehaviorSanitizer UBSAN_ENABLED:=false UBSAN_CFLAGS:= UBSAN_LDFLAGS:= # Necessary additional compiler flags to compile X11 X_CFLAGS:= X_LIBS:= # The lowest required version of macosx MACOSX_VERSION_MIN= # The highest allowed version of macosx MACOSX_VERSION_MAX= # The macosx code signing configuration MACOSX_CODESIGN_MODE:= MACOSX_CODESIGN_IDENTITY= # Toolchain type: gcc, clang, xlc, microsoft... TOOLCHAIN_TYPE:=gcc TOOLCHAIN_VERSION := CC_VERSION_NUMBER := 8.5.0 CXX_VERSION_NUMBER := 8.5.0 # Legacy support HOTSPOT_TOOLCHAIN_TYPE := gcc # Option used to tell the compiler whether to create 32- or 64-bit executables COMPILER_TARGET_BITS_FLAG:=-m COMPILER_SUPPORTS_TARGET_BITS_FLAG=false # Option used to pass a command file to the compiler COMPILER_COMMAND_FILE_FLAG:=@ # Option for specifying a file which saves the binder commands # produced by the link step (for debugging, currently AIX only) COMPILER_BINDCMD_FILE_FLAG:= CC_OUT_OPTION:=-o$(SPACE) LD_OUT_OPTION:=-o$(SPACE) AR_OUT_OPTION:=-rcs$(SPACE) # Flags used for overriding the default opt setting for a C/C++ source file. C_O_FLAG_HIGHEST_JVM:=-O3 C_O_FLAG_HIGHEST:=-O3 C_O_FLAG_HI:=-O3 C_O_FLAG_NORM:=-O2 C_O_FLAG_NONE:=-O0 C_O_FLAG_SIZE:=-Os CXX_O_FLAG_HIGHEST_JVM:=-O3 CXX_O_FLAG_HIGHEST:=-O3 CXX_O_FLAG_HI:=-O3 CXX_O_FLAG_NORM:=-O2 CXX_O_FLAG_NONE:=-O0 CXX_O_FLAG_SIZE:=-Os GENDEPS_FLAGS := -MMD -MF DISABLE_WARNING_PREFIX := -Wno- CFLAGS_WARNINGS_ARE_ERRORS:=-Werror DISABLED_WARNINGS := unused-parameter unused DISABLED_WARNINGS_C := DISABLED_WARNINGS_CXX := # A global flag (true or false) determining if native warnings are considered errors. WARNINGS_AS_ERRORS := false CFLAGS_CCACHE:= ADLC_LANGSTD_CXXFLAGS=-std=c++14 ADLC_LDFLAGS= -static-libstdc++ -static-libgcc # Tools that potentially need to be cross compilation aware. CC := /usr/bin/gcc # CFLAGS used to compile the jdk native libraries (C-code) CFLAGS_JDKLIB:= -I$(SUPPORT_OUTPUTDIR)/modules_include/java.base -I$(SUPPORT_OUTPUTDIR)/modules_include/java.base/$(OPENJDK_TARGET_OS_INCLUDE_SUBDIR) -I/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/src/java.base/share/native/libjava -I/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/src/java.base/unix/native/libjava -I/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/src/hotspot/share/include -I/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/src/hotspot/os/posix/include -pipe -fstack-protector -DLIBC=gnu -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE -DLINUX -DNDEBUG -fmacro-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/= -std=c11 -fno-strict-aliasing -Wall -Wextra -Wformat=2 -Wpointer-arith -Wsign-compare -Wunused-function -Wundef -Wunused-value -Wreturn-type -Wtrampolines -g -D_LITTLE_ENDIAN -DARCH='"loongarch64"' -Dloongarch64 -D_LP64=1 -fno-omit-frame-pointer -fno-lifetime-dse -fPIC CXXFLAGS_JDKLIB:= -I$(SUPPORT_OUTPUTDIR)/modules_include/java.base -I$(SUPPORT_OUTPUTDIR)/modules_include/java.base/$(OPENJDK_TARGET_OS_INCLUDE_SUBDIR) -I/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/src/java.base/share/native/libjava -I/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/src/java.base/unix/native/libjava -I/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/src/hotspot/share/include -I/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/src/hotspot/os/posix/include -pipe -fstack-protector -DLIBC=gnu -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE -DLINUX -DNDEBUG -fmacro-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/= -std=c++14 -Wall -Wextra -Wformat=2 -Wpointer-arith -Wsign-compare -Wunused-function -Wundef -Wunused-value -Wreturn-type -Wtrampolines -Woverloaded-virtual -Wreorder -g -D_LITTLE_ENDIAN -DARCH='"loongarch64"' -Dloongarch64 -D_LP64=1 -fno-omit-frame-pointer -fno-lifetime-dse -fPIC # CFLAGS used to compile the jdk native launchers (C-code) CFLAGS_JDKEXE:= -I$(SUPPORT_OUTPUTDIR)/modules_include/java.base -I$(SUPPORT_OUTPUTDIR)/modules_include/java.base/$(OPENJDK_TARGET_OS_INCLUDE_SUBDIR) -I/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/src/java.base/share/native/libjava -I/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/src/java.base/unix/native/libjava -I/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/src/hotspot/share/include -I/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/src/hotspot/os/posix/include -pipe -fstack-protector -DLIBC=gnu -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE -DLINUX -DNDEBUG -fmacro-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/= -std=c11 -fno-strict-aliasing -Wall -Wextra -Wformat=2 -Wpointer-arith -Wsign-compare -Wunused-function -Wundef -Wunused-value -Wreturn-type -Wtrampolines -g -D_LITTLE_ENDIAN -DARCH='"loongarch64"' -Dloongarch64 -D_LP64=1 -fno-omit-frame-pointer -fno-lifetime-dse -fPIE CXXFLAGS_JDKEXE:= -I$(SUPPORT_OUTPUTDIR)/modules_include/java.base -I$(SUPPORT_OUTPUTDIR)/modules_include/java.base/$(OPENJDK_TARGET_OS_INCLUDE_SUBDIR) -I/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/src/java.base/share/native/libjava -I/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/src/java.base/unix/native/libjava -I/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/src/hotspot/share/include -I/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/src/hotspot/os/posix/include -pipe -fstack-protector -DLIBC=gnu -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE -DLINUX -DNDEBUG -fmacro-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/= -std=c++14 -Wall -Wextra -Wformat=2 -Wpointer-arith -Wsign-compare -Wunused-function -Wundef -Wunused-value -Wreturn-type -Wtrampolines -Woverloaded-virtual -Wreorder -g -D_LITTLE_ENDIAN -DARCH='"loongarch64"' -Dloongarch64 -D_LP64=1 -fno-omit-frame-pointer -fno-lifetime-dse -fPIE FDLIBM_CFLAGS := -ffp-contract=off JVM_CFLAGS := -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -D_REENTRANT -pipe -fno-rtti -fno-exceptions -fvisibility=hidden -fno-strict-aliasing -fno-omit-frame-pointer -fstack-protector -std=c++14 -DLIBC=gnu -DLINUX -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wformat=2 -Wpointer-arith -Wsign-compare -Wunused-function -Wundef -Wunused-value -Wreturn-type -Wtrampolines -Woverloaded-virtual -Wreorder -fPIC -fmacro-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/= -DVM_LITTLE_ENDIAN -D_LP64=1 -fno-lifetime-dse -Wno-format-zero-length -Wtype-limits -Wuninitialized -g JVM_LDFLAGS := -Wl,-z,defs -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,--hash-style=gnu -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -static-libstdc++ -static-libgcc JVM_ASFLAGS := -g JVM_LIBS := -lm -ldl -lpthread -lrt BASIC_ASFLAGS := -x assembler-with-cpp # These flags might contain variables set by a custom extension that is included later. EXTRA_CFLAGS = -g EXTRA_CXXFLAGS = -g EXTRA_LDFLAGS = -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld EXTRA_ASFLAGS = CXX := /usr/bin/g++ CPP := /usr/bin/gcc -E # The linker can be gcc or ld on unix systems, or link.exe on windows systems. LD := /usr/bin/gcc SYSROOT := # LDFLAGS used to link the jdk native libraries (C-code) LDFLAGS_JDKLIB:=-Wl,-z,defs -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,-O1 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L$(SUPPORT_OUTPUTDIR)/modules_libs/java.base -L$(SUPPORT_OUTPUTDIR)/modules_libs/java.base/server -shared JDKLIB_LIBS:=-ljava -ljvm # LDFLAGS used to link the jdk native launchers (C-code) LDFLAGS_JDKEXE:=-Wl,-z,defs -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,-O1 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--allow-shlib-undefined -pie JDKEXE_LIBS:= # LDFLAGS specific to C++ linking. LDFLAGS_CXX_JDK:= -Wl,-O1 # Sometimes a different linker is needed for c++ libs LDCXX := /usr/bin/g++ # The flags for linking libstdc++ linker. LIBCXX:= -static-libstdc++ -static-libgcc # Compiler and linker flags used when building native tests LDFLAGS_TESTEXE:=-L$(SUPPORT_OUTPUTDIR)/modules_libs/java.base -L$(SUPPORT_OUTPUTDIR)/modules_libs/java.base/server # BUILD_CC/BUILD_LD is a compiler/linker that generates code that is runnable on the # build platform. BUILD_CC := /usr/bin/gcc BUILD_CXX := /usr/bin/g++ BUILD_LD := /usr/bin/gcc BUILD_LDCXX := /usr/bin/g++ BUILD_AS := /usr/bin/gcc -c BUILD_AR := /usr/bin/ar BUILD_NM := /usr/bin/nm BUILD_OBJCOPY:=/usr/bin/objcopy BUILD_STRIP:=/usr/bin/strip BUILD_SYSROOT_CFLAGS:= BUILD_SYSROOT_LDFLAGS:= AS := /usr/bin/gcc -c # AR is used to create a static library (is ar in unix, lib.exe in windows) AR := /usr/bin/ar ARFLAGS:= NM:=/usr/bin/nm NMFLAGS:= STRIP:=/usr/bin/strip OBJDUMP:=/usr/bin/objdump CXXFILT:=/usr/bin/c++filt LIPO:= INSTALL_NAME_TOOL:= METAL := METALLIB := # Options to linker to specify a mapfile. # (Note absence of := assignment, because we do not want to evaluate the macro body here) SET_SHARED_LIBRARY_MAPFILE=-Wl,-version-script=$1 # # Options for generating debug symbols COMPILE_WITH_DEBUG_SYMBOLS := true COPY_DEBUG_SYMBOLS := false ZIP_EXTERNAL_DEBUG_SYMBOLS := false CFLAGS_DEBUG_SYMBOLS:=-g -gdwarf-4 -fdebug-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/= -fdebug-prefix-map=/usr/include/=/usr/include/ -fdebug-prefix-map=/usr/lib/gcc/loongarch64-redhat-linux/8/include/=/usr/local/gcc_include/ -fdebug-prefix-map=/usr/include/c++/8/=/usr/local/gxx_include/ -fdebug-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot/= ASFLAGS_DEBUG_SYMBOLS:=-g -fdebug-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/= -fdebug-prefix-map=/usr/include/=/usr/include/ -fdebug-prefix-map=/usr/lib/gcc/loongarch64-redhat-linux/8/include/=/usr/local/gcc_include/ -fdebug-prefix-map=/usr/include/c++/8/=/usr/local/gxx_include/ -fdebug-prefix-map=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot/= # # Compress (or not) jars COMPRESS_JARS=false # Options to linker to specify the library name. # (Note absence of := assignment, because we do not want to evaluate the macro body here) SET_SHARED_LIBRARY_NAME=-Wl,-soname=$1 SHARED_LIBRARY_FLAGS=-shared # Set origin using the linker, ie use the relative path to the dependent library to find the dependencies. # (Note absence of := assignment, because we do not want to evaluate the macro body here) SET_SHARED_LIBRARY_ORIGIN=-Wl,-z,origin -Wl,-rpath,\$$ORIGIN$1 -Wl,--disable-new-dtags SET_EXECUTABLE_ORIGIN=-Wl,-rpath,\$$ORIGIN$1 -Wl,--disable-new-dtags # Different OS:es have different ways of naming shared libraries. # The SHARED_LIBRARY macro takes "verify" as and argument and returns: # "libverify.so" or "libverify.dylib" or "verify.dll" depending on platform. # (Note absence of := assignment, because we do not want to evaluate the macro body here) SHARED_LIBRARY=lib$1.so STATIC_LIBRARY=lib$1.a LIBRARY_PREFIX:=lib SHARED_LIBRARY_SUFFIX:=.so STATIC_LIBRARY_SUFFIX:=.a EXECUTABLE_SUFFIX:= OBJ_SUFFIX:=.o STATIC_BUILD:=false STRIPFLAGS:=--strip-debug JAVA_FLAGS:= -Duser.language=en -Duser.country=US -XX:+UnlockDiagnosticVMOptions -XX:-VerifySharedSpaces -XX:SharedArchiveFile=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot/configure-support/classes.jsa -Xshare:auto JAVA_FLAGS_BIG:= -Xms64M -Xmx1600M JAVA_FLAGS_SMALL:= -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1 BUILDJDK_JAVA_FLAGS_SMALL:=-Xms32M -Xmx512M -XX:TieredStopAtLevel=1 JAVA_TOOL_FLAGS_SMALL:= -J-XX:+UseSerialGC -J-Xms32M -J-Xmx512M -J-XX:TieredStopAtLevel=1 # The *_CMD variables are defined separately to be easily overridden in bootcycle-spec.gmk # for bootcycle-images build. Make sure to keep them in sync. Do not use the *_CMD # versions of the variables directly. JAVA_CMD:=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot/bin/java JAVAC_CMD:=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot/bin/javac JAVADOC_CMD:=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot/bin/javadoc JAR_CMD:=/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot/bin/jar JLINK_CMD := $(JDK_OUTPUTDIR)/bin/jlink JMOD_CMD := $(JDK_OUTPUTDIR)/bin/jmod # These variables are meant to be used. They are defined with = instead of := to make # it possible to override only the *_CMD variables. JAVA = $(JAVA_CMD) $(JAVA_FLAGS_BIG) $(JAVA_FLAGS) JAVA_SMALL = $(JAVA_CMD) $(JAVA_FLAGS_SMALL) $(JAVA_FLAGS) JAVAC = $(JAVAC_CMD) JAVADOC = $(JAVADOC_CMD) JAR = $(JAR_CMD) JLINK = $(JLINK_CMD) JMOD = $(JMOD_CMD) JTREG_JDK := /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/newboot JTREG_JAVA = $(JTREG_JDK)/bin/java $(JAVA_FLAGS_BIG) $(JAVA_FLAGS) BUILD_JAVA_FLAGS := -Xms64M -Xmx1600M BUILD_JAVA= $(BUILD_JDK)/bin/java $(BUILD_JAVA_FLAGS) BUILD_JAVAC= $(BUILD_JDK)/bin/javac BUILD_JAR= $(BUILD_JDK)/bin/jar DOCS_REFERENCE_JAVADOC := # Interim langtools modules and arguments INTERIM_LANGTOOLS_BASE_MODULES := java.compiler jdk.compiler jdk.javadoc INTERIM_LANGTOOLS_MODULES := $(addsuffix .interim, $(INTERIM_LANGTOOLS_BASE_MODULES)) INTERIM_LANGTOOLS_ADD_EXPORTS := \ --add-exports java.base/sun.reflect.annotation=jdk.compiler.interim \ --add-exports java.base/jdk.internal.jmod=jdk.compiler.interim \ --add-exports java.base/jdk.internal.misc=jdk.compiler.interim \ --add-exports java.base/sun.invoke.util=jdk.compiler.interim \ --add-exports java.base/jdk.internal.javac=java.compiler.interim \ --add-exports java.base/jdk.internal.javac=jdk.compiler.interim \ --add-exports jdk.internal.opt/jdk.internal.opt=jdk.compiler.interim \ --add-exports jdk.internal.opt/jdk.internal.opt=jdk.javadoc.interim \ # INTERIM_LANGTOOLS_MODULES_COMMA := $(strip $(subst $(SPACE),$(COMMA),$(strip \ $(INTERIM_LANGTOOLS_MODULES)))) INTERIM_LANGTOOLS_ARGS := \ --limit-modules java.base,jdk.zipfs,$(INTERIM_LANGTOOLS_MODULES_COMMA) \ --add-modules $(INTERIM_LANGTOOLS_MODULES_COMMA) \ --module-path $(BUILDTOOLS_OUTPUTDIR)/interim_langtools_modules \ --patch-module java.base=$(BUILDTOOLS_OUTPUTDIR)/gensrc/java.base.interim \ $(INTERIM_LANGTOOLS_ADD_EXPORTS) \ # JAVAC_MAIN_CLASS = -m jdk.compiler.interim/com.sun.tools.javac.Main JAVADOC_MAIN_CLASS = -m jdk.javadoc.interim/jdk.javadoc.internal.tool.Main # You run the new javac using the boot jdk with $(BOOT_JDK)/bin/java $(NEW_JAVAC) ... # Use = assignment to be able to override in bootcycle-spec.gmk NEW_JAVAC = $(INTERIM_LANGTOOLS_ARGS) $(JAVAC_MAIN_CLASS) NEW_JAVADOC = $(INTERIM_LANGTOOLS_ARGS) $(JAVADOC_MAIN_CLASS) JMOD_COMPRESS:=zip-6 JLINK_KEEP_PACKAGED_MODULES:=true RCFLAGS := # Tools adhering to a minimal and common standard of posix compliance. AWK:=/usr/bin/gawk BASENAME:=/usr/bin/basename CAT:=/usr/bin/cat CCACHE:= # CD is going away, but remains to cater for legacy makefiles. CD:=cd CHMOD:=/usr/bin/chmod CODESIGN:= CP:=/usr/bin/cp CUT:=/usr/bin/cut DATE:=/usr/bin/date IS_GNU_DATE:=yes DIFF:=/usr/bin/diff DIRNAME:=/usr/bin/dirname DSYMUTIL:= FIND:=/usr/bin/find FIND_DELETE:=-delete FLOCK:=/usr/bin/flock ECHO:=echo EGREP:=/usr/bin/grep -E FGREP:=/usr/bin/grep -F GREP:=/usr/bin/grep GZIP:=/usr/bin/gzip HEAD:=/usr/bin/head LS:=/usr/bin/ls LN:=/usr/bin/ln MIG:= MKDIR:=/usr/bin/mkdir MV:=/usr/bin/mv NICE:=/usr/bin/nice PANDOC:=/usr/bin/pandoc PATCH:=/usr/bin/patch PRINTF:=printf READLINK:=/usr/bin/readlink RM:=/usr/bin/rm -f RMDIR:=/usr/bin/rmdir SED:=/usr/bin/sed SH:=/usr/bin/sh SORT:=/usr/bin/sort TAR:=/usr/bin/gtar TAIL:=/usr/bin/tail TEE:=/usr/bin/tee TIME:=time IS_GNU_TIME:=no TR:=/usr/bin/tr TOUCH:=/usr/bin/touch WC:=/usr/bin/wc XARGS:=/usr/bin/xargs ZIPEXE:=/usr/bin/zip UNZIP:=/usr/bin/unzip MT:= RC:= DUMPBIN:= PATHTOOL:= WSLPATH:=@WSLPATH@ LDD:=/usr/bin/ldd OTOOL:= READELF:=/usr/bin/readelf EXPR:=/usr/bin/expr FILE:=/usr/bin/file DOT:=/usr/bin/dot GIT:=/usr/bin/git OBJCOPY:=/usr/bin/objcopy SETFILE:= XATTR:= JT_HOME:= JIB_HOME:= DTRACE := /usr/bin/dtrace FIXPATH := FIXPATH_BASE := ULIMIT:=ulimit TAR_TYPE:=gnu TAR_INCLUDE_PARAM:=T TAR_SUPPORTS_TRANSFORM:=true # Build setup USE_EXTERNAL_LIBJPEG:=false USE_EXTERNAL_LIBGIF:=false USE_EXTERNAL_LIBZ:=false LIBZ_CFLAGS:= -I/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/src/java.base/share/native/libzip/zlib LIBZ_LIBS:= LIBZIP_CAN_USE_MMAP:=true MSVCR_DLL:= VCRUNTIME_1_DLL:= MSVCP_DLL:= UCRT_DLL_DIR:= ENABLE_PANDOC:=true PANDOC_MARKDOWN_FLAG:=markdown-smart #################################################### # # INSTALLATION # # Common prefix for all installed files. Defaults to /usr/local, # but /opt/myjdk is another common version. INSTALL_PREFIX=/usr/local # Directories containing architecture-dependent files should be relative to exec_prefix INSTALL_EXECPREFIX=${prefix} # java,javac,javap etc are installed here. INSTALL_BINDIR=${exec_prefix}/bin # Read only architecture-independent data INSTALL_DATADIR=${datarootdir} # Root of above. INSTALL_DATAROOTDIR=${prefix}/share # Doc files, other than info and man. INSTALL_DOCDIR=${datarootdir}/doc/${PACKAGE_TARNAME} # Html documentation INSTALL_HTMLDIR=${docdir} # Installing C header files, JNI headers for example. INSTALL_INCLUDEDIR=${prefix}/include # Installing library files.... INSTALL_INCLUDEDIR=${exec_prefix}/lib # Executables that other programs run. INSTALL_LIBEXECDIR=${exec_prefix}/libexec # Locale-dependent but architecture-independent data, such as message catalogs. INSTALL_LOCALEDIR=${datarootdir}/locale # Modifiable single-machine data INSTALL_LOCALSTATEDIR=${prefix}/var # Man pages INSTALL_MANDIR=${datarootdir}/man # Modifiable architecture-independent data. INSTALL_SHAREDSTATEDIR=${prefix}/com # Read-only single-machine data INSTALL_SYSCONFDIR=${prefix}/etc #################################################### # # Libraries # USE_SYSCONF_NSS:=false NSS_LIBS:= NSS_CFLAGS:= NSS_LIBDIR:=/usr/lib64 USE_EXTERNAL_LCMS:=false LCMS_CFLAGS:= LCMS_LIBS:= USE_EXTERNAL_HARFBUZZ:=false HARFBUZZ_CFLAGS:= HARFBUZZ_LIBS:= USE_EXTERNAL_LIBPNG:=false PNG_LIBS:= PNG_CFLAGS:= #################################################### # # Misc # INCLUDE_SA=true INCLUDE_JVMCI=false INCLUDE_COMPILER2=true OS_VERSION_MAJOR:=4 OS_VERSION_MINOR:=19 OS_VERSION_MICRO:=190 # Images directory definitions JDK_IMAGE_SUBDIR:=jdk JRE_IMAGE_SUBDIR:=jre JCOV_IMAGE_SUBDIR := jdk-jcov # Colon left out to be able to override output dir for bootcycle-images JDK_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_IMAGE_SUBDIR) JRE_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_IMAGE_SUBDIR) JCOV_IMAGE_DIR = $(IMAGES_OUTPUTDIR)/$(JCOV_IMAGE_SUBDIR) # Test image, as above TEST_IMAGE_SUBDIR:=test TEST_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(TEST_IMAGE_SUBDIR) # Symbols image SYMBOLS_IMAGE_SUBDIR:=symbols SYMBOLS_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(SYMBOLS_IMAGE_SUBDIR) # Interim image INTERIM_JMODS_DIR := $(SUPPORT_OUTPUTDIR)/interim-jmods INTERIM_IMAGE_DIR := $(SUPPORT_OUTPUTDIR)/interim-image # Docs image DOCS_JDK_IMAGE_SUBDIR := docs DOCS_JDK_IMAGE_DIR = $(IMAGES_OUTPUTDIR)/$(DOCS_JDK_IMAGE_SUBDIR) DOCS_JAVASE_IMAGE_SUBDIR := docs-javase DOCS_JAVASE_IMAGE_DIR = $(IMAGES_OUTPUTDIR)/$(DOCS_JAVASE_IMAGE_SUBDIR) DOCS_REFERENCE_IMAGE_SUBDIR := docs-reference DOCS_REFERENCE_IMAGE_DIR = $(IMAGES_OUTPUTDIR)/$(DOCS_REFERENCE_IMAGE_SUBDIR) # Output docs directly into image DOCS_OUTPUTDIR := $(DOCS_JDK_IMAGE_DIR) # Static libs image STATIC_LIBS_IMAGE_SUBDIR := static-libs STATIC_LIBS_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(STATIC_LIBS_IMAGE_SUBDIR) # Graal builder image GRAAL_BUILDER_IMAGE_SUBDIR := graal-builder-jdk GRAAL_BUILDER_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(GRAAL_BUILDER_IMAGE_SUBDIR) # Macosx bundles directory definitions JDK_MACOSX_BUNDLE_SUBDIR=jdk-bundle JRE_MACOSX_BUNDLE_SUBDIR=jre-bundle JDK_MACOSX_BUNDLE_SUBDIR_SIGNED=jdk-bundle-signed JRE_MACOSX_BUNDLE_SUBDIR_SIGNED=jre-bundle-signed JDK_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_MACOSX_BUNDLE_SUBDIR) JRE_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_MACOSX_BUNDLE_SUBDIR) JDK_MACOSX_BUNDLE_DIR_SIGNED=$(IMAGES_OUTPUTDIR)/$(JDK_MACOSX_BUNDLE_SUBDIR_SIGNED) JRE_MACOSX_BUNDLE_DIR_SIGNED=$(IMAGES_OUTPUTDIR)/$(JRE_MACOSX_BUNDLE_SUBDIR_SIGNED) JDK_MACOSX_BUNDLE_TOP_DIR=jdk-$(VERSION_NUMBER).jdk JRE_MACOSX_BUNDLE_TOP_DIR=jre-$(VERSION_NUMBER).jre JDK_MACOSX_CONTENTS_SUBDIR=$(JDK_MACOSX_BUNDLE_TOP_DIR)/Contents JRE_MACOSX_CONTENTS_SUBDIR=$(JRE_MACOSX_BUNDLE_TOP_DIR)/Contents JDK_MACOSX_CONTENTS_DIR=$(JDK_MACOSX_BUNDLE_DIR)/$(JDK_MACOSX_CONTENTS_SUBDIR) JRE_MACOSX_CONTENTS_DIR=$(JRE_MACOSX_BUNDLE_DIR)/$(JRE_MACOSX_CONTENTS_SUBDIR) # Bundle names ifneq ($(VERSION_BUILD), ) BASE_NAME := $(VERSION_SHORT)+$(VERSION_BUILD)_$(OPENJDK_TARGET_BUNDLE_PLATFORM) else BASE_NAME := $(VERSION_SHORT)_$(OPENJDK_TARGET_BUNDLE_PLATFORM) endif ifeq ($(DEBUG_LEVEL), fastdebug) DEBUG_PART := -debug else ifneq ($(DEBUG_LEVEL), release) DEBUG_PART := -$(DEBUG_LEVEL) endif ifeq ($(OPENJDK_TARGET_OS), windows) JDK_BUNDLE_EXTENSION := zip else JDK_BUNDLE_EXTENSION := tar.gz endif JDK_BUNDLE_NAME := jdk-$(BASE_NAME)_bin$(DEBUG_PART).$(JDK_BUNDLE_EXTENSION) JRE_BUNDLE_NAME := jre-$(BASE_NAME)_bin$(DEBUG_PART).$(JDK_BUNDLE_EXTENSION) JDK_SYMBOLS_BUNDLE_NAME := jdk-$(BASE_NAME)_bin$(DEBUG_PART)-symbols.tar.gz TEST_DEMOS_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-tests-demos$(DEBUG_PART).tar.gz TEST_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-tests$(DEBUG_PART).tar.gz DOCS_JDK_BUNDLE_NAME := jdk-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz DOCS_JAVASE_BUNDLE_NAME := javase-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz DOCS_REFERENCE_BUNDLE_NAME := jdk-reference-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz STATIC_LIBS_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-static-libs$(DEBUG_PART).tar.gz JCOV_BUNDLE_NAME := jdk-jcov-$(BASE_NAME)_bin$(DEBUG_PART).$(JDK_BUNDLE_EXTENSION) JDK_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_BUNDLE_NAME) JRE_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JRE_BUNDLE_NAME) JDK_SYMBOLS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_SYMBOLS_BUNDLE_NAME) TEST_DEMOS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(TEST_DEMOS_BUNDLE_NAME) TEST_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(TEST_BUNDLE_NAME) DOCS_JDK_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(DOCS_JDK_BUNDLE_NAME) DOCS_JAVASE_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(DOCS_JAVASE_BUNDLE_NAME) DOCS_REFERENCE_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(DOCS_REFERENCE_BUNDLE_NAME) JCOV_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JCOV_BUNDLE_NAME) # This macro is called to allow inclusion of closed source counterparts. # Unless overridden in closed sources, it expands to nothing. # Usage: This function is called in an open makefile, with the following # argument: # $1 the name of the makefile define IncludeCustomExtension endef # Include the custom-spec.gmk file if it exists -include $(dir /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot/spec.gmk)/custom-spec.gmk + LD_LIBRARY_PATH= + make hotspot Building target 'hotspot' in configuration '/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot' Compiling up to 1 files for BUILD_TOOLS_HOTSPOT Creating hotspot/variant-server/tools/adlc/adlc from 13 file(s) Compiling up to 2 files for BUILD_JVMTI_TOOLS /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot/hotspot/variant-server/support/adlc/all-ad-src.ad(0) Semantic Error: :File read error, no input read gmake[3]: *** [gensrc/GensrcAdlc.gmk:217: /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot/hotspot/variant-server/support/adlc/_adlc_run_exec.marker] Error 1 gmake[3]: *** Waiting for unfinished jobs.... gmake[2]: *** [make/Main.gmk:245: hotspot-server-gensrc] Error 2 ERROR: Build failed for target 'hotspot' in configuration '/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot' (exit code 2) === Output from failing command(s) repeated here === * For target hotspot_variant-server_support_adlc__adlc_run_exec: * All command lines available in /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot/make-support/failure-logs. === End of repeated output === No indication of failed target found. HELP: Try searching the build log for '] Error'. HELP: Run 'make doctor' to diagnose build problems. make[1]: *** [/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/make/Init.gmk:323: main] Error 2 make: *** [/builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7/make/Init.gmk:189: hotspot] Error 2 + pwd /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot + find /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/jdk-21.0.6+7 /builddir/build/BUILD/java-21-openjdk-21.0.6.0.7-1.0.2.an8.loongarch64/build/newboot -name '"hs_err_pid*.log"' + xargs cat + false RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.C0Q9Eo (%build) Bad exit status from /var/tmp/rpm-tmp.C0Q9Eo (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.spec