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

Build failure after "8202794: Native Unix code should use readdir rather than readdir_r"

    Details

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

      Debian 8, x86_64, GCC 6.3.0

      Description

      * For target support_native_jdk.management_libmanagement_ext_OperatingSystemImpl.o:
      /pool/buildbot/slaves/sobornost/jdkX/build/src/jdk.management/unix/native/libmanagement_ext/OperatingSystemImpl.c: In function 'Java_com_sun_management_internal_OperatingSystemImpl_getOpenFileDescriptorCount0':
      /pool/buildbot/slaves/sobornost/jdkX/build/src/jdk.management/unix/native/libmanagement_ext/OperatingSystemImpl.c:445:19: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
           while ((dentp = readdir64(dirp)) != NULL) {
                         ^
      cc1: all warnings being treated as errors

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bpb Brian Burkhalter
                Reporter:
                shade Aleksey Shipilev
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: