All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH lttng-tools] Fix: Add missing pthread.h include
       [not found] <1480970366-14140-1-git-send-email-mjeanson@efficios.com>
@ 2016-12-05 20:40 ` Michael Jeanson
  2016-12-07 21:38 ` Thomas Petazzoni
  2017-01-09 19:11 ` Jérémie Galarneau
  2 siblings, 0 replies; 4+ messages in thread
From: Michael Jeanson @ 2016-12-05 20:40 UTC (permalink / raw)
  To: lttng-dev; +Cc: jgalar

This should be backported to stable-2.9.

On 2016-12-05 15:39, Michael Jeanson wrote:
> Some libc like musl and uClibc requires explicit includes of pthread.h
> 
> Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
> ---
>  src/common/defaults.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/common/defaults.h b/src/common/defaults.h
> index 27f1ddc..37d222a 100644
> --- a/src/common/defaults.h
> +++ b/src/common/defaults.h
> @@ -20,6 +20,7 @@
>  #ifndef _DEFAULTS_H
>  #define _DEFAULTS_H
>  
> +#include <pthread.h>
>  #include <src/common/macros.h>
>  
>  /* Default unix group name for tracing. */
> 

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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

* Re: [PATCH lttng-tools] Fix: Add missing pthread.h include
       [not found] <1480970366-14140-1-git-send-email-mjeanson@efficios.com>
  2016-12-05 20:40 ` [PATCH lttng-tools] Fix: Add missing pthread.h include Michael Jeanson
@ 2016-12-07 21:38 ` Thomas Petazzoni
  2017-01-09 19:11 ` Jérémie Galarneau
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2016-12-07 21:38 UTC (permalink / raw)
  To: Michael Jeanson; +Cc: lttng-dev, jgalar

Hello,

On Mon,  5 Dec 2016 15:39:26 -0500, Michael Jeanson wrote:
> Some libc like musl and uClibc requires explicit includes of pthread.h
> 
> Signed-off-by: Michael Jeanson <mjeanson@efficios.com>

Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

This is indeed needed to fix the build on musl, I've integrated your
patch in Buildroot for the time being.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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

* Re: [PATCH lttng-tools] Fix: Add missing pthread.h include
       [not found] <1480970366-14140-1-git-send-email-mjeanson@efficios.com>
  2016-12-05 20:40 ` [PATCH lttng-tools] Fix: Add missing pthread.h include Michael Jeanson
  2016-12-07 21:38 ` Thomas Petazzoni
@ 2017-01-09 19:11 ` Jérémie Galarneau
  2 siblings, 0 replies; 4+ messages in thread
From: Jérémie Galarneau @ 2017-01-09 19:11 UTC (permalink / raw)
  To: Michael Jeanson; +Cc: lttng-dev, Jeremie Galarneau

Merged, thanks!

Jérémie

On 5 December 2016 at 15:39, Michael Jeanson <mjeanson@efficios.com> wrote:
> Some libc like musl and uClibc requires explicit includes of pthread.h
>
> Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
> ---
>  src/common/defaults.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/common/defaults.h b/src/common/defaults.h
> index 27f1ddc..37d222a 100644
> --- a/src/common/defaults.h
> +++ b/src/common/defaults.h
> @@ -20,6 +20,7 @@
>  #ifndef _DEFAULTS_H
>  #define _DEFAULTS_H
>
> +#include <pthread.h>
>  #include <src/common/macros.h>
>
>  /* Default unix group name for tracing. */
> --
> 2.7.4
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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

* [PATCH lttng-tools] Fix: Add missing pthread.h include
@ 2016-12-05 20:39 Michael Jeanson
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Jeanson @ 2016-12-05 20:39 UTC (permalink / raw)
  To: lttng-dev; +Cc: jgalar

Some libc like musl and uClibc requires explicit includes of pthread.h

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
---
 src/common/defaults.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/common/defaults.h b/src/common/defaults.h
index 27f1ddc..37d222a 100644
--- a/src/common/defaults.h
+++ b/src/common/defaults.h
@@ -20,6 +20,7 @@
 #ifndef _DEFAULTS_H
 #define _DEFAULTS_H
 
+#include <pthread.h>
 #include <src/common/macros.h>
 
 /* Default unix group name for tracing. */
-- 
2.7.4

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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

end of thread, other threads:[~2017-01-09 19:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1480970366-14140-1-git-send-email-mjeanson@efficios.com>
2016-12-05 20:40 ` [PATCH lttng-tools] Fix: Add missing pthread.h include Michael Jeanson
2016-12-07 21:38 ` Thomas Petazzoni
2017-01-09 19:11 ` Jérémie Galarneau
2016-12-05 20:39 Michael Jeanson

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.