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

Xcode 9.0 (9A235) problems

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 10
    • 10
    • hotspot
    • Mac OS X with Xcode Version 9.0 (9A235)

      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.
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~

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

              Created:
              Updated:
              Resolved: