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

Linux ppc64le build reports "ppc64" for arch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 8u31
    • core-libs
    • None

      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.

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

              Created:
              Updated:
              Resolved: