|
From: Paul F. <pj...@wa...> - 2020-04-11 19:41:31
|
Hi The build on Solaris is currently failing (I tried 11.4). This patch should fix the problem. The missing define is used in callgrind/main.c. diff --git a/include/vki/vki-solaris.h b/include/vki/vki-solaris.h index 7765a8647..9fdf53c41 100644 --- a/include/vki/vki-solaris.h +++ b/include/vki/vki-solaris.h @@ -1328,6 +1328,7 @@ typedef struct sigaction vki_sigaction_fromK_t; #include #define VKI_CLOCK_MONOTONIC CLOCK_MONOTONIC +#define VKI_CLOCK_THREAD_CPUTIME_ID CLOCK_THREAD_CPUTIME_ID #define vki_clockid_t clockid_t #define vki_timespec timespec I also see a build problem with the mapfile used in linking ( -Wl,-M,$(top_srcdir)/solaris/vgpreload-solaris.mapfile). I haven't worked out why this gets added by configure. I just bodged it from the gmake command. A+ Paul |