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

more Linux clang compile failures

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b20

      Backports

        Description

        src/hotspot/os_cpu/bsd_x86/os_bsd_x86.cpp got fixed in

        8181503: Can't compile hotspot with c++11
        Summary: Fixed 5 unique c++14 compiler issues
        Reviewed-by: coleenp, dholmes, kbarrett

        but those same fixes need to be applied to the Linux equivalent.

        Here's another one:

        src/hotspot/share/utilities/debug.cpp:718: error: comparison between pointer and integer ('void *' and 'bool')
          if (memcpy(&g_stored_assertion_context, context, sizeof(ucontext_t)) == false) {
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  martin Martin Buchholz
                  Reporter:
                  martin Martin Buchholz
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: