[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



On Tue, Feb 25, 2020 at 12:33:43PM +0000, 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)."
> 
> Unfortunately Centos 6 does have an glibc prior to that version, and the
> libxl Makefile was not updated to add '-lrt' so the build will fail in
> that environment.
> 
> This patch simply adds '-lrt' to LIBXL_LIBS unconditionally, as it does
> no harm in newer environments.
> 
> Signed-off-by: Paul Durrant <pdurrant@xxxxxxxxxx>
> Fixes: 2b02882ebbbc ("libxl: add infrastructure to track and query 'recent' 
> domids")

Acked-by: Wei Liu <wl@xxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.