Building target 'images' in configuration 'linux-s390x-server-fastdebug' Compiling up to 1 files for BUILD_TOOLS_HOTSPOT Compiling up to 8 files for BUILD_TOOLS_LANGTOOLS Creating hotspot/variant-server/tools/adlc/adlc from 13 file(s) Compiling up to 2 files for BUILD_JVMTI_TOOLS Generating classes for compiler.properties launcher.properties Compiling 17 properties into resource bundles for jdk.javadoc Compiling 15 properties into resource bundles for jdk.jdeps Compiling 9 properties into resource bundles for jdk.jshell Compiling 20 properties into resource bundles for jdk.compiler Compiling up to 127 files for BUILD_java.compiler.interim Compiling up to 351 files for BUILD_jdk.compiler.interim Compiling up to 242 files for BUILD_jdk.javadoc.interim Compiling up to 17 files for BUILD_JAVAC_SERVER Creating support/modules_libs/java.base/server/libjvm.so from 947 file(s) Creating hotspot/variant-server/libjvm/libgtest/libgtest.a from 2 file(s) Creating hotspot/variant-server/libjvm/gtest/libjvm.so from 167 file(s) Creating hotspot/variant-server/libjvm/gtest/gtestLauncher from 1 file(s) Compiling up to 31 files for BUILD_JRTFS Creating support/modules_libs/java.base/jrt-fs.jar Compiling up to 187 files for BUILD_TOOLS_JDK Compiling up to 2 files for COMPILE_DEPEND Compiling 11 properties into resource bundles for java.base Compiling 6 properties into resource bundles for java.base Compiling up to 2 files for BUILD_BREAKITERATOR_BASE Compiling up to 2 files for BUILD_BREAKITERATOR_LD Compiling 11 properties into resource bundles for java.logging Compiling 4 properties into resource bundles for jdk.httpserver Compiling 11 properties into resource bundles for jdk.jartool Compiling up to 71 files for COMPILE_CREATE_SYMBOLS Compiling 11 properties into resource bundles for jdk.management.agent Compiling 4 properties into resource bundles for jdk.jdi Compiling 9 properties into resource bundles for jdk.jlink Compiling 4 properties into resource bundles for jdk.jlink Compiling 1 properties into resource bundles for jdk.jlink Compiling 224 properties into resource bundles for jdk.localedata Compiling up to 3447 files for java.base Compiling 89 properties into resource bundles for java.desktop Compiling up to 71 files for COMPILE_CREATE_SYMBOLS Creating ct.sym classes Updating support/src.zip Note: Some input files use preview features of Java SE 21. Note: Recompile with -Xlint:preview for details. Compiling up to 127 files for java.compiler Compiling up to 18 files for java.datatransfer Compiling up to 1850 files for java.xml Compiling up to 10 files for java.instrument Compiling up to 35 files for java.logging Compiling up to 330 files for java.management Compiling up to 30 files for java.security.sasl Compiling up to 106 files for java.rmi Compiling up to 144 files for java.net.http Compiling up to 15 files for java.scripting Compiling up to 5 files for java.transaction.xa Compiling up to 271 files for java.xml.crypto Compiling up to 22 files for java.smartcardio Compiling up to 61 files for jdk.internal.jvmstat Compiling up to 120 files for jdk.charsets Compiling up to 52 files for jdk.internal.opt Compiling up to 14 files for jdk.zipfs Compiling up to 35 files for jdk.crypto.ec Compiling up to 68 files for jdk.dynalink Compiling up to 3 files for jdk.internal.ed Compiling up to 59 files for jdk.httpserver Compiling up to 5 files for jdk.incubator.concurrent Compiling up to 50 files for jdk.incubator.vector Compiling up to 28 files for jdk.jartool Compiling up to 106 files for jdk.internal.le Note: /home/amit/build_test/jdk/src/jdk.jartool/share/classes/sun/tools/jar/FingerPrint.java uses preview features of Java SE 21. Note: Recompile with -Xlint:preview for details. Compiling up to 24 files for jdk.management Compiling up to 1 files for jdk.jdwp.agent Compiling up to 275 files for jdk.jfr Compiling up to 4 files for jdk.jsobject Compiling up to 11 files for jdk.jstatd Compiling up to 15 files for jdk.management.jfr Compiling up to 1877 files for jdk.localedata Compiling up to 9 files for jdk.net Compiling up to 2 files for jdk.nio.mapmode Compiling up to 11 files for jdk.random Compiling up to 33 files for jdk.sctp Compiling up to 9 files for jdk.unsupported Compiling up to 94 files for jdk.xml.dom Compiling up to 15 files for java.prefs Compiling up to 199 files for java.naming Compiling up to 77 files for java.sql Compiling up to 15 files for jdk.attach Compiling up to 76 files for jdk.crypto.cryptoki Compiling up to 356 files for jdk.compiler Compiling up to 40 files for jdk.jcmd Compiling up to 16 files for jdk.naming.dns Compiling up to 254 files for jdk.jdi Compiling up to 8 files for jdk.naming.rmi Compiling up to 16 files for java.management.rmi Compiling up to 212 files for java.security.jgss Compiling up to 56 files for java.sql.rowset Compiling up to 30 files for jdk.management.agent Compiling up to 242 files for jdk.javadoc Compiling up to 139 files for jdk.jdeps Compiling up to 2771 files for java.desktop Compiling up to 99 files for jdk.jshell Compiling up to 30 files for jdk.security.auth Compiling up to 16 files for jdk.security.jgss Compiling up to 91 files for jdk.jlink Compiling up to 1 files for java.se Compiling up to 18 files for jdk.accessibility Compiling up to 3 files for jdk.editpad Compiling up to 64 files for jdk.jconsole Compiling up to 56 files for jdk.jpackage Compiling up to 8 files for jdk.unsupported.desktop In file included from /home/amit/build_test/jdk/src/hotspot/share/asm/assembler.hpp:491, from /home/amit/build_test/jdk/src/hotspot/share/asm/macroAssembler.hpp:28, from /home/amit/build_test/jdk/src/hotspot/share/asm/macroAssembler.inline.hpp:28, from /home/amit/build_test/jdk/src/hotspot/cpu/s390/macroAssembler_s390.cpp:28: In static member function 'static long int Assembler::reg(Register, int, int)', inlined from 'static long int Assembler::regt(Register, int, int)' at /home/amit/build_test/jdk/src/hotspot/cpu/s390/assembler_s390.hpp:1753:60, inlined from 'static int64_t Assembler::rsymaskt_48(int64_t, Register)' at /home/amit/build_test/jdk/src/hotspot/cpu/s390/assembler_s390.hpp:1651:120, inlined from 'void Assembler::z_rll(Register, Register, int64_t, Register)' at /home/amit/build_test/jdk/src/hotspot/cpu/s390/assembler_s390.inline.hpp:386:134, inlined from 'void MacroAssembler::rotate_then_mask(Register, Register, int, int, int, bool, bool, bool)' at /home/amit/build_test/jdk/src/hotspot/cpu/s390/macroAssembler_s390.cpp:500:12: /home/amit/build_test/jdk/src/hotspot/cpu/s390/assembler_s390.hpp:1752:60: error: 'this' pointer is null [-Werror=nonnull] 1752 | static long reg( Register r, int s, int len) { return reg(r->encoding(), s, len); } | ~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/amit/build_test/jdk/src/hotspot/share/asm/register.hpp:236, from /home/amit/build_test/jdk/src/hotspot/share/asm/assembler.hpp:29, from /home/amit/build_test/jdk/src/hotspot/share/asm/macroAssembler.hpp:28, from /home/amit/build_test/jdk/src/hotspot/share/asm/macroAssembler.inline.hpp:28, from /home/amit/build_test/jdk/src/hotspot/cpu/s390/macroAssembler_s390.cpp:28: /home/amit/build_test/jdk/src/hotspot/cpu/s390/register_s390.hpp: In member function 'void MacroAssembler::rotate_then_mask(Register, Register, int, int, int, bool, bool, bool)': /home/amit/build_test/jdk/src/hotspot/cpu/s390/register_s390.hpp:83:9: note: in a call to non-static member function 'int RegisterImpl::encoding() const' 83 | int encoding() const { assert(is_valid(), "invalid register"); return value(); } | ^~~~~~~~ cc1plus: all warnings being treated as errors gmake[3]: *** [lib/CompileJvm.gmk:147: /home/amit/build_test/jdk/build/linux-s390x-server-fastdebug/hotspot/variant-server/libjvm/objs/macroAssembler_s390.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... gmake[2]: *** [make/Main.gmk:252: hotspot-server-libs] Error 2 ERROR: Build failed for target 'images' in configuration 'linux-s390x-server-fastdebug' (exit code 2)