[Webkit-unassigned] [Bug 203109] New: [Linux] Avoid usage of <sys/sysctl.h> in MallocBench

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 17 10:19:04 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=203109

            Bug ID: 203109
           Summary: [Linux] Avoid usage of <sys/sysctl.h> in MallocBench
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com

On Linux systems which use glibc ≥2.30 the following will be logged
during compilation:

  In file included from ../PerformanceTests/MallocBench/MallocBench/CPUCount.cpp:29:
  /usr/include/sys/sysctl.h:21:2: warning: "The <sys/sysctl.h> header is deprecated and will be removed." [-W#warnings]
  #warning "The <sys/sysctl.h> header is deprecated and will be removed."
   ^

The release notes for glibc 2.30 read:

  “The Linux-specific <sys/sysctl.h> header and the sysctl function have
   been deprecated and will be removed from a future version of glibc.
   Application should directly access /proc instead.  For obtaining
   random bits, the getentropy function can be used.”

(See also https://sourceware.org/ml/libc-alpha/2019-08/msg00029.html for
the full release notes.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191017/7d313d8a/attachment.html>


More information about the webkit-unassigned mailing list