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

Xcode 9.0 (9A235) problems

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Environment:

      Mac OS X with Xcode Version 9.0 (9A235)

      Description

      A few problems trying to compile VM with latest Xcode:

      #1:

      /Volumes/Work/bugs/8184765/jdk10/hotspot/src/share/vm/memory/virtualspace.cpp:585:14: error: ordered comparison between pointer and zero ('char *' and 'int')
        if (base() > 0) {
            ~~~~~~ ^ ~
      1 error generated.


      #2:

      /Volumes/Work/bugs/8184765/jdk10/hotspot/src/share/vm/opto/loopPredicate.cpp:915:73: error: ordered comparison between pointer and zero ('const TypeInt *' and 'int')
            assert(rng->Opcode() == Op_LoadRange || _igvn.type(rng)->is_int() >= 0, "must be");
                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~


      #3:

      /Volumes/Work/bugs/8184765/jdk10/hotspot/src/share/vm/opto/lcm.cpp:42:35: error: ordered comparison between pointer and zero ('address' (aka 'unsigned char *') and 'int')
        if (Universe::narrow_oop_base() > 0) { // Implies UseCompressedOops.
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~

        Attachments

          Activity

            People

            • Assignee:
              rraghavan Rahul Raghavan
              Reporter:
              gziemski Gerard Ziemski
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: