Linux ppc64le build reports "ppc64" for arch

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 8u31
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: