Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8239001

Hotspot build broken on linux-sparc after 8238281

XMLWordPrintable

    • b11

      After JDK-8238281 (Raise minimum gcc version needed to 5.0), Hotspot fails to build with the following compiler error:

      === Output from failing command(s) repeated here ===
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_abstractDisassembler.o:\n"
      * For target hotspot_variant-server_libjvm_objs_abstractDisassembler.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_abstractDisassembler.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/relocInfo.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/codeBuffer.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/assembler.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/assembler.inline.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/compiler/abstractDisassembler.cpp:30:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
        488 | static int i_offset(int j) { return offset_of(RegistersForDebugging, i[j]); }
            | ^
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:39: note: in expansion of macro 'offset_of'
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_abstractDisassembler.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_abstractInterpreter.o:\n"
      * For target hotspot_variant-server_libjvm_objs_abstractInterpreter.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_abstractInterpreter.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/relocInfo.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/codeBuffer.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/assembler.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/macroAssembler.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/interpreter/abstractInterpreter.cpp:26:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
        488 | static int i_offset(int j) { return offset_of(RegistersForDebugging, i[j]); }
            | ^
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:39: note: in expansion of macro 'offset_of'
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_abstractInterpreter.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_abstractInterpreter_sparc.o:\n"
      * For target hotspot_variant-server_libjvm_objs_abstractInterpreter_sparc.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_abstractInterpreter_sparc.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/relocInfo.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/codeBuffer.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/code/stubs.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/interpreter/interpreter.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/cpu/sparc/abstractInterpreter_sparc.cpp:26:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
        488 | static int i_offset(int j) { return offset_of(RegistersForDebugging, i[j]); }
            | ^
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:39: note: in expansion of macro 'offset_of'
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_abstractInterpreter_sparc.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_accessBackend.o:\n"
      * For target hotspot_variant-server_libjvm_objs_accessBackend.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_accessBackend.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/safepoint.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/gc/shared/collectedHeap.hpp:34,
                       from /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.inline.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/oops/accessBackend.inline.hpp:30,
                       from /home/glaubitz/jdk/src/hotspot/share/oops/accessBackend.cpp:26:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
        488 | static int i_offset(int j) { return offset_of(RegistersForDebugging, i[j]); }
            | ^
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:39: note: in expansion of macro 'offset_of'
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_accessBackend.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_accessBarrierSupport.o:\n"
      * For target hotspot_variant-server_libjvm_objs_accessBarrierSupport.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_accessBarrierSupport.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/mutex.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/classfile/classLoaderData.hpp:34,
                       from /home/glaubitz/jdk/src/hotspot/share/classfile/systemDictionary.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/classfile/javaClasses.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/classfile/javaClasses.inline.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/gc/shared/accessBarrierSupport.cpp:26:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
        488 | static int i_offset(int j) { return offset_of(RegistersForDebugging, i[j]); }
            | ^
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_accessBarrierSupport.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_accessFlags.o:\n"
      * For target hotspot_variant-server_libjvm_objs_accessFlags.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_accessFlags.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/safepoint.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/gc/shared/collectedHeap.hpp:34,
                       from /home/glaubitz/jdk/src/hotspot/share/oops/oop.inline.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/utilities/accessFlags.cpp:26:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
        488 | static int i_offset(int j) { return offset_of(RegistersForDebugging, i[j]); }
            | ^
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:39: note: in expansion of macro 'offset_of'
        488 | static int i_offset(int j) { return offset_of(RegistersForDebugging, i[j]); }
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_accessFlags.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_ad_sparc.o:\n"
      * For target hotspot_variant-server_libjvm_objs_ad_sparc.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/relocInfo.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/codeBuffer.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/assembler.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/macroAssembler.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/nativeInst.hpp:30,
                       from ad_sparc.hpp:33,
                       from ad_sparc.cpp:29:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_ad_sparc_clone.o:\n"
      * For target hotspot_variant-server_libjvm_objs_ad_sparc_clone.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_clone.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/relocInfo.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/codeBuffer.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/assembler.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/macroAssembler.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/nativeInst.hpp:30,
                       from ad_sparc.hpp:33,
                       from ad_sparc_clone.cpp:28:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_clone.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_ad_sparc_expand.o:\n"
      * For target hotspot_variant-server_libjvm_objs_ad_sparc_expand.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_expand.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/relocInfo.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/codeBuffer.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/assembler.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/macroAssembler.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/nativeInst.hpp:30,
                       from ad_sparc.hpp:33,
                       from ad_sparc_expand.cpp:28:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_expand.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_ad_sparc_format.o:\n"
      * For target hotspot_variant-server_libjvm_objs_ad_sparc_format.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_format.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/relocInfo.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/codeBuffer.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/assembler.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/macroAssembler.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/nativeInst.hpp:30,
                       from ad_sparc.hpp:33,
                       from ad_sparc_format.cpp:28:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_format.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_ad_sparc_gen.o:\n"
      * For target hotspot_variant-server_libjvm_objs_ad_sparc_gen.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_gen.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/relocInfo.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/codeBuffer.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/assembler.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/macroAssembler.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/nativeInst.hpp:30,
                       from ad_sparc.hpp:33,
                       from ad_sparc_gen.cpp:28:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_gen.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_ad_sparc_misc.o:\n"
      * For target hotspot_variant-server_libjvm_objs_ad_sparc_misc.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_misc.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/relocInfo.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/codeBuffer.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/assembler.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/macroAssembler.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/nativeInst.hpp:30,
                       from ad_sparc.hpp:33,
                       from ad_sparc_misc.cpp:28:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_misc.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_ad_sparc_peephole.o:\n"
      * For target hotspot_variant-server_libjvm_objs_ad_sparc_peephole.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_peephole.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/relocInfo.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/codeBuffer.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/assembler.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/macroAssembler.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/nativeInst.hpp:30,
                       from ad_sparc.hpp:33,
                       from ad_sparc_peephole.cpp:28:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_peephole.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_ad_sparc_pipeline.o:\n"
      * For target hotspot_variant-server_libjvm_objs_ad_sparc_pipeline.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_pipeline.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/relocInfo.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/codeBuffer.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/assembler.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/macroAssembler.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/nativeInst.hpp:30,
                       from ad_sparc.hpp:33,
                       from ad_sparc_pipeline.cpp:28:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_pipeline.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_ageTable.o:\n"
      * For target hotspot_variant-server_libjvm_objs_ageTable.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ageTable.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sched.h:29,
                       from /usr/include/pthread.h:23,
                       from /home/glaubitz/jdk/src/hotspot/share/utilities/globalDefinitions_gcc.hpp:50,
                       from /home/glaubitz/jdk/src/hotspot/share/utilities/globalDefinitions.hpp:35,
                       from /home/glaubitz/jdk/src/hotspot/share/memory/allocation.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/metaprogramming/primitiveConversions.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/oops/markWord.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/gc/shared/ageTable.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/gc/shared/ageTable.inline.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/gc/shared/ageTable.cpp:27:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
        488 | static int i_offset(int j) { return offset_of(RegistersForDebugging, i[j]); }
            | ^
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:39: note: in expansion of macro 'offset_of'
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ageTable.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_altHashing.o:\n"
      * For target hotspot_variant-server_libjvm_objs_altHashing.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_altHashing.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/mutex.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/classfile/classLoaderData.hpp:34,
                       from /home/glaubitz/jdk/src/hotspot/share/classfile/systemDictionary.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/classfile/altHashing.cpp:28:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
        488 | static int i_offset(int j) { return offset_of(RegistersForDebugging, i[j]); }
            | ^
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:39: note: in expansion of macro 'offset_of'
        488 | static int i_offset(int j) { return offset_of(RegistersForDebugging, i[j]); }
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_altHashing.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_annotations.o:\n"
      * For target hotspot_variant-server_libjvm_objs_annotations.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_annotations.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/mutex.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/classfile/classLoaderData.hpp:34,
                       from /home/glaubitz/jdk/src/hotspot/share/oops/annotations.cpp:26:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
        488 | static int i_offset(int j) { return offset_of(RegistersForDebugging, i[j]); }
            | ^
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:39: note: in expansion of macro 'offset_of'
        488 | static int i_offset(int j) { return offset_of(RegistersForDebugging, i[j]); }
            | ^~~~~~~~~
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_annotations.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_arguments.o:\n"
      * For target hotspot_variant-server_libjvm_objs_arguments.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_arguments.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sched.h:29,
                       from /usr/include/pthread.h:23,
                       from /home/glaubitz/jdk/src/hotspot/share/utilities/globalDefinitions_gcc.hpp:50,
                       from /home/glaubitz/jdk/src/hotspot/share/utilities/globalDefinitions.hpp:35,
                       from /home/glaubitz/jdk/src/hotspot/share/memory/allocation.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/logging/logLevel.hpp:27,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/arguments.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/classfile/classLoader.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/arguments.cpp:27:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
        488 | static int i_offset(int j) { return offset_of(RegistersForDebugging, i[j]); }
            | ^
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:39: note: in expansion of macro 'offset_of'
        488 | static int i_offset(int j) { return offset_of(RegistersForDebugging, i[j]); }
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_arguments.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_arrayKlass.o:\n"
      * For target hotspot_variant-server_libjvm_objs_arrayKlass.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_arrayKlass.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/mutex.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/classfile/classLoaderData.hpp:34,
                       from /home/glaubitz/jdk/src/hotspot/share/classfile/systemDictionary.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/classfile/javaClasses.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/oops/arrayKlass.cpp:26:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
        488 | static int i_offset(int j) { return offset_of(RegistersForDebugging, i[j]); }
            | ^
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:39: note: in expansion of macro 'offset_of'
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_arrayKlass.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_asPSOldGen.o:\n"
      * For target hotspot_variant-server_libjvm_objs_asPSOldGen.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_asPSOldGen.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/relocInfo.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/codeBuffer.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/code/codeBlob.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/stubRoutines.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/utilities/copy.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/gc/parallel/mutableSpace.hpp:30,
                       from /home/glaubitz/jdk/src/hotspot/share/gc/parallel/asPSOldGen.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/gc/parallel/asPSOldGen.cpp:26:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_asPSOldGen.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_asPSYoungGen.o:\n"
      * For target hotspot_variant-server_libjvm_objs_asPSYoungGen.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_asPSYoungGen.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/relocInfo.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/codeBuffer.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/code/codeBlob.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/stubRoutines.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/utilities/copy.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/gc/parallel/mutableSpace.hpp:30,
                       from /home/glaubitz/jdk/src/hotspot/share/gc/parallel/asPSYoungGen.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/gc/parallel/asPSYoungGen.cpp:26:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_asPSYoungGen.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_assembler.o:\n"
      * For target hotspot_variant-server_libjvm_objs_assembler.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_assembler.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/code/relocInfo.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/codeBuffer.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/asm/assembler.cpp:26:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
        488 | static int i_offset(int j) { return offset_of(RegistersForDebugging, i[j]); }
            | ^
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:39: note: in expansion of macro 'offset_of'
        488 | static int i_offset(int j) { return offset_of(RegistersForDebugging, i[j]); }
            | ^~~~~~~~~
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_assembler.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_attachListener.o:\n"
      * For target hotspot_variant-server_libjvm_objs_attachListener.o:
      (/bin/grep -v -e "^Note: including file:" < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_attachListener.o.log || true) | /usr/bin/head -n 15
      In file included from /usr/include/sparc64-linux-gnu/bits/socket.h:27,
                       from /usr/include/sparc64-linux-gnu/sys/socket.h:33,
                       from /home/glaubitz/jdk/src/hotspot/os/posix/include/jvm_md.h:84,
                       from /home/glaubitz/jdk/src/hotspot/share/include/jvm.h:32,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/os.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/runtime/mutex.hpp:29,
                       from /home/glaubitz/jdk/src/hotspot/share/classfile/classLoaderData.hpp:34,
                       from /home/glaubitz/jdk/src/hotspot/share/classfile/systemDictionary.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/classfile/javaClasses.hpp:28,
                       from /home/glaubitz/jdk/src/hotspot/share/services/attachListener.cpp:26:
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp: In static member function 'static int RegistersForDebugging::i_offset(int)':
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:74: error: 'j' cannot appear in a constant-expression
        488 | static int i_offset(int j) { return offset_of(RegistersForDebugging, i[j]); }
            | ^
      /home/glaubitz/jdk/src/hotspot/cpu/sparc/macroAssembler_sparc.hpp:488:39: note: in expansion of macro 'offset_of'
      if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_attachListener.o.log` -gt 15; then /bin/echo " ... (rest of output omitted)" ; fi
         ... (rest of output omitted)
      /usr/bin/printf "\n* All command lines available in /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs.\n"

      * All command lines available in /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs.
      /usr/bin/printf "=== End of repeated output ===\n"
      === End of repeated output ===

      Looks like this issue occurs because of the redefinition of offset_of().

            glaubitz John Paul Adrian Glaubitz
            glaubitz John Paul Adrian Glaubitz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: