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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • None
    • core-libs
    • None
    • Debian 8, x86_64, GCC 6.3.0

      * 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

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

              Created:
              Updated:
              Resolved: