All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libxc: disable valgrind integration when building for minios
@ 2014-07-21 11:29 Ian Campbell
  2014-07-21 11:30 ` Andrew Cooper
  2014-07-21 11:34 ` Samuel Thibault
  0 siblings, 2 replies; 4+ messages in thread
From: Ian Campbell @ 2014-07-21 11:29 UTC (permalink / raw)
  To: xen-devel
  Cc: Simon Martin, ian.jackson, Ian Campbell, Samuel Thibault,
	Andrew Cooper

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 <ian.campbell@citrix.com>
Tested-by: Simon Martin <furryfuttock@gmail.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
---
 tools/libxc/xc_private.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/libxc/xc_private.h b/tools/libxc/xc_private.h
index ce7e81e..43826e5 100644
--- a/tools/libxc/xc_private.h
+++ b/tools/libxc/xc_private.h
@@ -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
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] libxc: disable valgrind integration when building for minios
  2014-07-21 11:29 [PATCH] libxc: disable valgrind integration when building for minios Ian Campbell
@ 2014-07-21 11:30 ` Andrew Cooper
  2014-07-21 11:34 ` Samuel Thibault
  1 sibling, 0 replies; 4+ messages in thread
From: Andrew Cooper @ 2014-07-21 11:30 UTC (permalink / raw)
  To: Ian Campbell, xen-devel; +Cc: Simon Martin, ian.jackson, Samuel Thibault

On 21/07/14 12:29, Ian Campbell wrote:
> 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 <ian.campbell@citrix.com>
> Tested-by: Simon Martin <furryfuttock@gmail.com>

Reviewed-by: Andrew Cooper<andrew.cooper3@citrix.com>

> Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
> ---
>  tools/libxc/xc_private.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/libxc/xc_private.h b/tools/libxc/xc_private.h
> index ce7e81e..43826e5 100644
> --- a/tools/libxc/xc_private.h
> +++ b/tools/libxc/xc_private.h
> @@ -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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] libxc: disable valgrind integration when building for minios
  2014-07-21 11:29 [PATCH] libxc: disable valgrind integration when building for minios Ian Campbell
  2014-07-21 11:30 ` Andrew Cooper
@ 2014-07-21 11:34 ` Samuel Thibault
  2014-07-24 15:55   ` Ian Campbell
  1 sibling, 1 reply; 4+ messages in thread
From: Samuel Thibault @ 2014-07-21 11:34 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Simon Martin, Andrew Cooper, ian.jackson, xen-devel

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 <ian.campbell@citrix.com>
> Tested-by: Simon Martin <furryfuttock@gmail.com>
> Cc: Andrew Cooper <andrew.cooper3@citrix.com>
> Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>

Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

> ---
>  tools/libxc/xc_private.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/libxc/xc_private.h b/tools/libxc/xc_private.h
> index ce7e81e..43826e5 100644
> --- a/tools/libxc/xc_private.h
> +++ b/tools/libxc/xc_private.h
> @@ -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
> -- 
> 1.7.10.4
> 

-- 
Samuel
<g> r: et la marmotte, elle écrit un papier IPDPS

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] libxc: disable valgrind integration when building for minios
  2014-07-21 11:34 ` Samuel Thibault
@ 2014-07-24 15:55   ` Ian Campbell
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Campbell @ 2014-07-24 15:55 UTC (permalink / raw)
  To: Samuel Thibault; +Cc: Simon Martin, Andrew Cooper, ian.jackson, xen-devel


On Mon, 2014-07-21 at 13:34 +0200, Samuel Thibault wrote:
> 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 <ian.campbell@citrix.com>
> > Tested-by: Simon Martin <furryfuttock@gmail.com>
> > Cc: Andrew Cooper <andrew.cooper3@citrix.com>
> > Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
> 
> Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

No one spotted the deliberate error (define() vs defined()) ;-)

I fixed that and applied, thanks.

Ian.





_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-24 15:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-21 11:29 [PATCH] libxc: disable valgrind integration when building for minios Ian Campbell
2014-07-21 11:30 ` Andrew Cooper
2014-07-21 11:34 ` Samuel Thibault
2014-07-24 15:55   ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.