https://sourceware.org/bugzilla/show_bug.cgi?id=29113

            Bug ID: 29113
           Summary: Build error for x86_64-w64-mingw32 host since
                    CLOCK_MONOTONIC does not exist
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gprofng
          Assignee: vladimir.mezentsev at oracle dot com
          Reporter: euloanty at live dot com
  Target Milestone: ---

../../../../../../binutils-gdb/gprofng/libcollector/gethrtime.c: In function
'linux_gethrtime':
../../../../../../binutils-gdb/gprofng/libcollector/gethrtime.c:38:11: warning:
implicit declaration of function 'clock_gettime'
[-Wimplicit-function-declaration]
   38 |   int r = clock_gettime (CLOCK_MONOTONIC, &tp);
      |           ^~~~~~~~~~~~~
../../../../../../binutils-gdb/gprofng/libcollector/gethrtime.c:38:26: error:
'CLOCK_MONOTONIC' undeclared (first use in this function)
   38 |   int r = clock_gettime (CLOCK_MONOTONIC, &tp);
      |                          ^~~~~~~~~~~~~~~
../../../../../../binutils-gdb/gprofng/libcollector/gethrtime.c:38:26: note:
each undeclared identifier is reported only once for each function it appears
in

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to