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

jdk fails to bootstrap when built by gcc7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: External
    • Icon: P3 P3
    • 10
    • 8u121, 9
    • infrastructure
    • None
    • generic
    • linux

      Jdk8 have sigsev when running bootstrap build on gcc7.
      You may see original issue at: https://bugzilla.redhat.com/show_bug.cgi?id=1423751
      You may also see attached hs_err files for 8u and aarch64-8u

      As for jdk8 this may be resolved by new gcc switch of -fno-split-loops, which is pointing to some hidden error in JIT.


      On contrary jdk9 do not sigsev, but is being compleatly deadlocked and overflowing which suggest bug in gcc:

      Most repeated errors are:

      ++ /usr/bin/tee /builddir/build/BUILD/openjdk/build/linux-x86_64-normal-server-release/bootcycle-build/hotspot/variant-server/libjvm/objs/macroAssembler_x86_exp.o.log
      g++: internal compiler error: Segmentation fault (program cc1plus)
      Please submit a full bug report,
      with preprocessed source if appropriate.
      See <http://bugzilla.redhat.com/bugzilla> for instructions.


      g++: internal compiler error: Killed (program cc1plus)
      Please submit a full bug report,
      with preprocessed source if appropriate.
      See <http://bugzilla.redhat.com/bugzilla> for instructions.
      gmake[5]: *** [lib/CompileJvm.gmk:203: /builddir/build/BUILD/openjdk/build/linux-x86_64-normal-server-release/bootcycle-build/hotspot/variant-server/libjvm/objs/escape.o] Error 4
      gmake[5]: *** Deleting file '/builddir/build/BUILD/openjdk/build/linux-x86_64-normal-server-release/bootcycle-build/hotspot/variant-server/libjvm/objs/escape.o'
      gmake[5]: *** [lib/CompileJvm.gmk:203: /builddir/build/BUILD/openjdk/build/linux-x86_64-normal-server-release/bootcycle-build/hotspot/variant-server/libjvm/objs/ad_x86_clone.o] Error 4
      + exitcode=4


      === Output from failing command(s) repeated here ===
      make/Init.gmk:320: Building on-failure
      /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_ad_x86_clone.o:\n"
      + /usr/bin/printf '* For target hotspot_variant-server_libjvm_objs_ad_x86_clone.o:\n'
      * For target hotspot_variant-server_libjvm_objs_ad_x86_clone.o:
      make/Init.gmk:320: Building on-failure
      (/usr/bin/grep -v -e "^Note: including file:" < /builddir/build/BUILD/openjdk/build/linux-x86_64-normal-server-release/bootcycle-build/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_x86_clone.o.log || true) | /usr/bin/head -n 12
      + /usr/bin/grep -v -e '^Note: including file:'
      + /usr/bin/head -n 12
      {standard input}: Assembler messages:
      {standard input}:15680: Warning: end of file not at end of a line; newline inserted
      {standard input}:15706: Error: unknown pseudo-op: `.cfi'
      {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
      g++: internal compiler error: Killed (program cc1plus)
      Please submit a full bug report,
      with preprocessed source if appropriate.
      See <http://bugzilla.redhat.com/bugzilla> for instructions.
      make/Init.gmk:320: Building on-failure

            Unassigned Unassigned
            jvanek Jiří Vaněk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: