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

Hotspot fails to build on linux-sparc with gcc-9

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b14
    • CPU:
      sparc
    • OS:
      linux

      Backports

        Description

        Trying to build OpenJDK (11, 12, 13, 14) on Linux-sparc with gcc-9 fails with:

        === Output from failing command(s) repeated here ===
        /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 /home/glaubitz/jdk/src/hotspot/share/code/nativeInst.hpp:30,
                         from /home/glaubitz/jdk/src/hotspot/share/code/compiledMethod.inline.hpp:29,
                         from /home/glaubitz/jdk/src/hotspot/share/runtime/frame.inline.hpp:28,
                         from /home/glaubitz/jdk/src/hotspot/cpu/sparc/abstractInterpreter_sparc.cpp:30:
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:347:22: error: friend declaration of ‘NativeCall* nativeCall_overwriting_at(address, address)’ specifies default arguments and isn’t the only declaration [-fpermissive]
          347 | friend NativeCall* nativeCall_overwriting_at(address instr, address destination = NULL) {
              | ^~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:317:20: note: previous declaration of ‘NativeCall* nativeCall_overwriting_at(address, address)’
          317 | inline NativeCall* nativeCall_overwriting_at(address instr,
              | ^~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:455:32: error: friend declaration of ‘NativeFarCall* nativeFarCall_overwriting_at(address, address)’ specifies default arguments and isn’t the only declaration [-fpermissive]
          455 | friend inline NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination = NULL) {
              | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:416:23: note: previous declaration of ‘NativeFarCall* nativeFarCall_overwriting_at(address, address)’
          416 | inline NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination);
        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_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 /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/nativeInst_sparc.hpp:347:22: error: friend declaration of ‘NativeCall* nativeCall_overwriting_at(address, address)’ specifies default arguments and isn’t the only declaration [-fpermissive]
          347 | friend NativeCall* nativeCall_overwriting_at(address instr, address destination = NULL) {
              | ^~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:317:20: note: previous declaration of ‘NativeCall* nativeCall_overwriting_at(address, address)’
          317 | inline NativeCall* nativeCall_overwriting_at(address instr,
              | ^~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:455:32: error: friend declaration of ‘NativeFarCall* nativeFarCall_overwriting_at(address, address)’ specifies default arguments and isn’t the only declaration [-fpermissive]
          455 | friend inline NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination = NULL) {
              | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:416:23: note: previous declaration of ‘NativeFarCall* nativeFarCall_overwriting_at(address, address)’
          416 | inline NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination);
              | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        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
        /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 /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/nativeInst_sparc.hpp:347:22: error: friend declaration of ‘NativeCall* nativeCall_overwriting_at(address, address)’ specifies default arguments and isn’t the only declaration [-fpermissive]
          347 | friend NativeCall* nativeCall_overwriting_at(address instr, address destination = NULL) {
              | ^~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:317:20: note: previous declaration of ‘NativeCall* nativeCall_overwriting_at(address, address)’
          317 | inline NativeCall* nativeCall_overwriting_at(address instr,
              | ^~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:455:32: error: friend declaration of ‘NativeFarCall* nativeFarCall_overwriting_at(address, address)’ specifies default arguments and isn’t the only declaration [-fpermissive]
          455 | friend inline NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination = NULL) {
              | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:416:23: note: previous declaration of ‘NativeFarCall* nativeFarCall_overwriting_at(address, address)’
          416 | inline NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination);
              | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        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
        /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 /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/nativeInst_sparc.hpp:347:22: error: friend declaration of ‘NativeCall* nativeCall_overwriting_at(address, address)’ specifies default arguments and isn’t the only declaration [-fpermissive]
          347 | friend NativeCall* nativeCall_overwriting_at(address instr, address destination = NULL) {
              | ^~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:317:20: note: previous declaration of ‘NativeCall* nativeCall_overwriting_at(address, address)’
          317 | inline NativeCall* nativeCall_overwriting_at(address instr,
              | ^~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:455:32: error: friend declaration of ‘NativeFarCall* nativeFarCall_overwriting_at(address, address)’ specifies default arguments and isn’t the only declaration [-fpermissive]
          455 | friend inline NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination = NULL) {
              | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:416:23: note: previous declaration of ‘NativeFarCall* nativeFarCall_overwriting_at(address, address)’
          416 | inline NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination);
              | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        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
        /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 /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/nativeInst_sparc.hpp:347:22: error: friend declaration of ‘NativeCall* nativeCall_overwriting_at(address, address)’ specifies default arguments and isn’t the only declaration [-fpermissive]
          347 | friend NativeCall* nativeCall_overwriting_at(address instr, address destination = NULL) {
              | ^~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:317:20: note: previous declaration of ‘NativeCall* nativeCall_overwriting_at(address, address)’
          317 | inline NativeCall* nativeCall_overwriting_at(address instr,
              | ^~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:455:32: error: friend declaration of ‘NativeFarCall* nativeFarCall_overwriting_at(address, address)’ specifies default arguments and isn’t the only declaration [-fpermissive]
          455 | friend inline NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination = NULL) {
              | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:416:23: note: previous declaration of ‘NativeFarCall* nativeFarCall_overwriting_at(address, address)’
          416 | inline NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination);
              | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        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
        /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 /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/nativeInst_sparc.hpp:347:22: error: friend declaration of ‘NativeCall* nativeCall_overwriting_at(address, address)’ specifies default arguments and isn’t the only declaration [-fpermissive]
          347 | friend NativeCall* nativeCall_overwriting_at(address instr, address destination = NULL) {
              | ^~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:317:20: note: previous declaration of ‘NativeCall* nativeCall_overwriting_at(address, address)’
          317 | inline NativeCall* nativeCall_overwriting_at(address instr,
              | ^~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:455:32: error: friend declaration of ‘NativeFarCall* nativeFarCall_overwriting_at(address, address)’ specifies default arguments and isn’t the only declaration [-fpermissive]
          455 | friend inline NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination = NULL) {
              | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:416:23: note: previous declaration of ‘NativeFarCall* nativeFarCall_overwriting_at(address, address)’
          416 | inline NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination);
              | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        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
        /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 /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/nativeInst_sparc.hpp:347:22: error: friend declaration of ‘NativeCall* nativeCall_overwriting_at(address, address)’ specifies default arguments and isn’t the only declaration [-fpermissive]
          347 | friend NativeCall* nativeCall_overwriting_at(address instr, address destination = NULL) {
              | ^~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:317:20: note: previous declaration of ‘NativeCall* nativeCall_overwriting_at(address, address)’
          317 | inline NativeCall* nativeCall_overwriting_at(address instr,
              | ^~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:455:32: error: friend declaration of ‘NativeFarCall* nativeFarCall_overwriting_at(address, address)’ specifies default arguments and isn’t the only declaration [-fpermissive]
          455 | friend inline NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination = NULL) {
              | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:416:23: note: previous declaration of ‘NativeFarCall* nativeFarCall_overwriting_at(address, address)’
          416 | inline NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination);
              | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        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
        /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 /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/nativeInst_sparc.hpp:347:22: error: friend declaration of ‘NativeCall* nativeCall_overwriting_at(address, address)’ specifies default arguments and isn’t the only declaration [-fpermissive]
          347 | friend NativeCall* nativeCall_overwriting_at(address instr, address destination = NULL) {
              | ^~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:317:20: note: previous declaration of ‘NativeCall* nativeCall_overwriting_at(address, address)’
          317 | inline NativeCall* nativeCall_overwriting_at(address instr,
              | ^~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:455:32: error: friend declaration of ‘NativeFarCall* nativeFarCall_overwriting_at(address, address)’ specifies default arguments and isn’t the only declaration [-fpermissive]
          455 | friend inline NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination = NULL) {
              | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:416:23: note: previous declaration of ‘NativeFarCall* nativeFarCall_overwriting_at(address, address)’
          416 | inline NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination);
              | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        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
        /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 /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/nativeInst_sparc.hpp:347:22: error: friend declaration of ‘NativeCall* nativeCall_overwriting_at(address, address)’ specifies default arguments and isn’t the only declaration [-fpermissive]
          347 | friend NativeCall* nativeCall_overwriting_at(address instr, address destination = NULL) {
              | ^~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:317:20: note: previous declaration of ‘NativeCall* nativeCall_overwriting_at(address, address)’
          317 | inline NativeCall* nativeCall_overwriting_at(address instr,
              | ^~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:455:32: error: friend declaration of ‘NativeFarCall* nativeFarCall_overwriting_at(address, address)’ specifies default arguments and isn’t the only declaration [-fpermissive]
          455 | friend inline NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination = NULL) {
              | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        /home/glaubitz/jdk/src/hotspot/cpu/sparc/nativeInst_sparc.hpp:416:23: note: previous declaration of ‘NativeFarCall* nativeFarCall_overwriting_at(address, address)’
          416 | inline NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination);
              | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        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
        /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 ===

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                glaubitz John Paul Adrian Glaubitz
                Reporter:
                glaubitz John Paul Adrian Glaubitz
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: