Re: [Xen-devel] [PATCH] libxl: fix build with older glibc

2020-02-25 Thread Wei Liu
On Tue, Feb 25, 2020 at 12:33:43PM +, Paul Durrant wrote: > Commit 2b02882ebbbc "libxl: add infrastructure to track and query > 'recent' domids" added a call to clock_gettime() into libxl. The man- > page for this states: > > "Link with -lrt (only for glibc versions before 2.17)." > > Unfortu

[Xen-devel] [PATCH] libxl: fix build with older glibc

2020-02-25 Thread Paul Durrant
Commit 2b02882ebbbc "libxl: add infrastructure to track and query 'recent' domids" added a call to clock_gettime() into libxl. The man- page for this states: "Link with -lrt (only for glibc versions before 2.17)." Unfortunately Centos 6 does have an glibc prior to that version, and the libxl Make