Re: Build issues due to patch "gprofng: a new GNU profiler" – CLOCK_MONOTONIC_RAW not defined
Tobias Burnus
tobias@codesourcery.com
Wed Mar 16 07:56:04 GMT 2022
Hi Nick & Vladimir, hello all,
I still get the following, which I think I missed before because it
first already failed in gprofng/libcollector/ – and my last build was
on a slightly newer system which still required -lrt but did provide
CLOCK_MONOTONIC_RAW:
.../gprofng/src/gethrtime.c: In function 'gethrtime':
.../gprofng/src/gethrtime.c:162:26: error: 'CLOCK_MONOTONIC_RAW' undeclared (first use in this fun
ction); did you mean 'CLOCK_MONOTONIC'?
int r = clock_gettime (CLOCK_MONOTONIC_RAW, &tp);
^~~~~~~~~~~~~~~~~~~
Thanks - and I am sure we have almost fixed everything :-)
Tobias
-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955
More information about the Binutils
mailing list