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

Linux ppc64le build reports "ppc64" for arch

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 8u31
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description

      As discovered while adding ppc64le support to the Java Native Runtime: https://github.com/jnr/jnr-ffi/issues/33#issuecomment-83059004

      OpenJDK on Linux ppc64le currently reports the platform arch as "ppc64" rather than "ppc64le" as you would find in uname. We believe the little-endian suffix should be included, rather than platform-specific code having to check both arch and endianness.

      I'm not sure where the value for os.arch is defined, but presumably this happens during build. I was also unable to determine if ppc64le is a supported platform in the main OpenJDK codebase, or if it is only supported by individual Linux vendors.

      Unsure about component, but since this is a standard property I'm going with core-libs for now.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                headius Charles Nutter
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: