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

build fails on AIX in hotspot cpp tests (for example getstacktr001.cpp)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b10
    • CPU:
      generic
    • OS:
      aix

      Description

      After recent changes, the night build fails on AIX in some hotspot test related cpp files , example error :

      "/openjdk/nb/rs6000_64/nightly/jdk/test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetStackTrace/getstacktr001/getstacktr001.cpp", line 69.9: 1540-0848 (S)
      The macro name "NUMBER_OF_FRAMES" is already defined with a different definition.
      "/usr/include/sys/mstsave.h", line 260.9: 1540-0425 (I) "NUMBER_OF_FRAMES" is defined on line 260 of "/usr/include/sys/mstsave.h".

      Obviously defines clash with system headers.

        Attachments

          Activity

            People

            Assignee:
            mbaesken Matthias Baesken
            Reporter:
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: