|
From: Philippe W. <phi...@sk...> - 2020-04-12 15:19:37
|
Fix to vki-solaris.h pushed as 2381e043544b I however cannot build/test on solaris. Thanks for the report and fix Philippe On Sat, 2020-04-11 at 21:41 +0200, Paul FLOYD wrote: > 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 <sys/time.h> > #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 > > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers |