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

[aix] Fix gtests compile error on AIX 7.1 with xlC 12

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b151
    • OS:
      aix

      Description

      Currently, gtests do not build on AIX due to compile errors:

      "/sapmnt/sapjvm_work/d031900/openjdk/jdk9-hs/source/test/fmw/gtest/include/gtest/gtest.h", line 1448.7: 1540-0207 (S) No common type found for operands with type "long" and "Integer *".
      "/sapmnt/sapjvm_work/d031900/openjdk/jdk9-hs/source/test/fmw/gtest/include/gtest/gtest.h", line 1438.17: 1540-0700 (I) The previous message was produced while processing "testing::internal::CmpHelperEQ<long,Integer *>(const char *, const char *, const long &, Integer * c
      onst &)".
      "/sapmnt/sapjvm_work/d031900/openjdk/jdk9-hs/source/test/fmw/gtest/include/gtest/gtest.h", line 1484.12: 1540-0700 (I) The previous message was produced while processing "testing::internal::EqHelper<0>::Compare<long,Integer *>(const char *, const char *, const long &, In
      teger * const &)".

      Build stops at this point.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stuefe Thomas Stuefe
                Reporter:
                stuefe Thomas Stuefe
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: