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

[PATCH] tests/xenstore: link in librt


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 11 Aug 2021 14:30:08 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zZzJJer0XQpU5PJran3+edB7jLA2yVqcx+tj+afI9/w=; b=DtIfBOODuCj/1O5+N1OK8UDFNIpm8dHU2O615FzXsOxxLbVmWZGmxIPaOyUXHSIq7CHqoMEdx6pIN9P/lUgBWaB/W88WZ4N0X93rNCJr7EzWF70m6xlRWPc6yIHaJ0ogtGKPA46ueaqft2zPcdbmzykqscu0DuRmnjOqpGHaqacnIL+B+ALQc9j8xTqLyvZx9UKCQybhZ+2XYLgyJczsbBwTzXRXOxrC1afPgdLXmtKwR7kT62l2NkgTXxkru6cpXWVOlt6JFZ6qxAOuJsDtcYAGG7XDQh6IfKM5B0YEF0gbq87FV/+3DAfh2m/Todr+I0Fq8YJOV5q1+PGJtNALiw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JlekA9eDUQ8JIxbh0r0GvsrZOPungeGjNpCxKXID6scJiMZ/I1qn5iefSzdzhjHICrM2oa3eAX4JTlFJDbyz8FKaoalhIdRlVdrmDkfq7BnRm/TLJodx+lkVRoD/KPs8xn4hNO9iLn+2l19TaLFz1y4zGOmeV7qaytrtvzsmkdgvSybLYKGhFmKdcejZ5Cow+R/p06ouTGAn+nCQh6EqMwtb2cpJqmFtmaOWJwPF67noIul+sj05pH47+11iq9wBVSwiu6Y1USivH8yrzOeILJeIXNpgFnel/5bUuZD9v2Nwa8R+JWkPmkANtj8jPaCdxqpZWeTBxJ5Ql5N6GhCBZQ==
  • Authentication-results: xen.org; dkim=none (message not signed) header.d=none;xen.org; dmarc=none action=none header.from=suse.com;
  • Cc: Ian Jackson <iwj@xxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Julien Grall <julien@xxxxxxx>
  • Delivery-date: Wed, 11 Aug 2021 12:30:22 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Old enough glibc has clock_gettime() in librt.so, hence the library
needs to be specified to the linker.

Fixes: 93c9edbef51b ("tests/xenstore: Rework Makefile")
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---
Cc list based on the assumption that the XENSTORE section of
./MAINTAINERS probably ought to list the containing directory.

--- a/tools/tests/xenstore/Makefile
+++ b/tools/tests/xenstore/Makefile
@@ -31,6 +31,7 @@ CFLAGS += -Werror
 CFLAGS += $(CFLAGS_libxenstore)
 CFLAGS += $(APPEND_CFLAGS)
 
+LDFLAGS += -lrt
 LDFLAGS += $(LDLIBS_libxenstore)
 LDFLAGS += $(APPEND_LDFLAGS)
 




 


Rackspace

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