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

Add -fno-devirtualize to CFLAGS for gcc 4.9.0 due to gcc bug

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: 14
    • Component/s: infrastructure
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description

      http://mail.openjdk.java.net/pipermail/hotspot-dev/2014-April/013577.html

      A return statement is elided from MacroAssembler::jump_cc(Assembler::Condition,
      AddressLiteral) by devirtualize, causing operation to run into the following function (in this case
      ''MacroAssembler::verify_oop(RegisterImpl*, char const*)").

      See Volker's explanation: http://mail.openjdk.java.net/pipermail/hotspot-dev/2014-April/013602.html

      Passing -fno-devirtualize for macroAssembler_x86.o should fix it.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              andrew Andrew Hughes
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: