libxc: disable valgrind integration when building for minios
PATCH 1/1 libxc: disable valgrind integration when building for minios
The stubdom build system incorrectly picks up on the hosts installation of Valgrind, which cannot work in a stubdom environment.
--- tools/libxc/xc_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/libxc/xc_private.h +1 -1
@@ -34,7 +34,7 @@#include <xen/sys/privcmd.h> -#if defined(HAVE_VALGRIND_MEMCHECK_H ) && !defined(NDEBUG ) +#if defined(HAVE_VALGRIND_MEMCHECK_H ) && !defined(NDEBUG ) && !define (__MINIOS__)/* Compile in Valgrind client requests? */ #include <valgrind/memcheck.h> #else
Signature · 1 line
1.7.10.4
Quoted 5 lines · Ian Campbell
The stubdom build system incorrectly picks up on the hosts installation of Valgrind, which cannot work in a stubdom environment.
Signed-off-by Ian Campbell <[email protected]>Tested-by Simon Martin <[email protected]>
Quoted 18 lines
Cc Samuel Thibault <[email protected]>--- tools/libxc/xc_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/libxc/xc_private.h +1
-1@@ -34,7 +34,7 @@#include <xen/sys/privcmd.h> -#if defined(HAVE_VALGRIND_MEMCHECK_H ) && !defined(NDEBUG ) +#if defined(HAVE_VALGRIND_MEMCHECK_H ) && !defined(NDEBUG ) && !define (__MINIOS__)/* Compile in Valgrind client requests? */ #include <valgrind/memcheck.h> #else
Quoted 7 lines · Ian Campbell, le Mon 21 Jul 2014 12:29:14 +0100, a écrit :
The stubdom build system incorrectly picks up on the hosts installation of Valgrind, which cannot work in a stubdom environment.
Signed-off-by Ian Campbell <[email protected]>Tested-by Simon Martin <[email protected]>Cc Andrew Cooper <[email protected]>Cc Samuel Thibault <[email protected]>
Quoted 20 lines
--- tools/libxc/xc_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/libxc/xc_private.h +1
-1@@ -34,7 +34,7 @@#include <xen/sys/privcmd.h> -#if defined(HAVE_VALGRIND_MEMCHECK_H ) && !defined(NDEBUG ) +#if defined(HAVE_VALGRIND_MEMCHECK_H ) && !defined(NDEBUG ) && !define (__MINIOS__)/* Compile in Valgrind client requests? */ #include <valgrind/memcheck.h> #else Signature · 1 line
1.7.10.4
Signature · 2 lines
Samuel <g> r: et la marmotte, elle écrit un papier IPDPS
Quoted 10 lines · Samuel Thibault
Quoted 7 lines · Ian Campbell, le Mon 21 Jul 2014 12:29:14 +0100, a écrit :
The stubdom build system incorrectly picks up on the hosts installation of Valgrind, which cannot work in a stubdom environment.
Signed-off-by Ian Campbell <[email protected]>Tested-by Simon Martin <[email protected]>Cc Andrew Cooper <[email protected]>Cc Samuel Thibault <[email protected]>Acked-by Samuel Thibault <[email protected]>
No one spotted the deliberate error (define() vs defined()) ;-)
I fixed that and applied, thanks.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel