All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kbuild: List libelf-devel as an alternative
@ 2016-06-16  8:54 Jean Delvare
  2016-06-16 15:08 ` Josh Poimboeuf
  0 siblings, 1 reply; 3+ messages in thread
From: Jean Delvare @ 2016-06-16  8:54 UTC (permalink / raw)
  To: linux-kbuild
  Cc: Josh Poimboeuf, Jiri Olsa, Michal Marek, Peter Zijlstra,
	Ingo Molnar, Arnaldo Carvalho de Melo

On openSUSE, the libelf development files are in package libelf-devel.

Signed-off-by: Jean Delare <jdelvare@suse.de>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Michal Marek <mmarek@suse.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
---
 Makefile                   |    2 +-
 tools/perf/config/Makefile |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- linux-4.6.orig/Makefile	2016-05-16 00:43:13.000000000 +0200
+++ linux-4.6/Makefile	2016-06-16 10:42:26.990587718 +0200
@@ -1013,7 +1013,7 @@ ifdef CONFIG_STACK_VALIDATION
   ifeq ($(has_libelf),1)
     objtool_target := tools/objtool FORCE
   else
-    $(warning "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev or elfutils-libelf-devel")
+    $(warning "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev, libelf-devel or elfutils-libelf-devel")
     SKIP_STACK_VALIDATION := 1
     export SKIP_STACK_VALIDATION
   endif
--- linux-4.6.orig/tools/perf/config/Makefile	2016-05-16 00:43:13.000000000 +0200
+++ linux-4.6/tools/perf/config/Makefile	2016-06-16 10:43:29.517409971 +0200
@@ -243,7 +243,7 @@ else
       LIBC_SUPPORT := 1
     endif
     ifeq ($(LIBC_SUPPORT),1)
-      msg := $(warning No libelf found, disables 'probe' tool and BPF support in 'perf record', please install elfutils-libelf-devel/libelf-dev);
+      msg := $(warning No libelf found, disables 'probe' tool and BPF support in 'perf record', please install libelf-dev, libelf-devel or elfutils-libelf-devel);
 
       NO_LIBELF := 1
       NO_DWARF := 1


-- 
Jean Delvare
SUSE L3 Support

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

* Re: [PATCH] kbuild: List libelf-devel as an alternative
  2016-06-16  8:54 [PATCH] kbuild: List libelf-devel as an alternative Jean Delvare
@ 2016-06-16 15:08 ` Josh Poimboeuf
  2016-06-16 16:38   ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 3+ messages in thread
From: Josh Poimboeuf @ 2016-06-16 15:08 UTC (permalink / raw)
  To: Jean Delvare
  Cc: linux-kbuild, Jiri Olsa, Michal Marek, Peter Zijlstra,
	Ingo Molnar, Arnaldo Carvalho de Melo

On Thu, Jun 16, 2016 at 10:54:20AM +0200, Jean Delvare wrote:
> On openSUSE, the libelf development files are in package libelf-devel.
> 
> Signed-off-by: Jean Delare <jdelvare@suse.de>
> Cc: Josh Poimboeuf <jpoimboe@redhat.com>
> Cc: Jiri Olsa <jolsa@redhat.com>
> Cc: Michal Marek <mmarek@suse.com>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: Arnaldo Carvalho de Melo <acme@kernel.org>

Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>

> ---
>  Makefile                   |    2 +-
>  tools/perf/config/Makefile |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> --- linux-4.6.orig/Makefile	2016-05-16 00:43:13.000000000 +0200
> +++ linux-4.6/Makefile	2016-06-16 10:42:26.990587718 +0200
> @@ -1013,7 +1013,7 @@ ifdef CONFIG_STACK_VALIDATION
>    ifeq ($(has_libelf),1)
>      objtool_target := tools/objtool FORCE
>    else
> -    $(warning "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev or elfutils-libelf-devel")
> +    $(warning "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev, libelf-devel or elfutils-libelf-devel")
>      SKIP_STACK_VALIDATION := 1
>      export SKIP_STACK_VALIDATION
>    endif
> --- linux-4.6.orig/tools/perf/config/Makefile	2016-05-16 00:43:13.000000000 +0200
> +++ linux-4.6/tools/perf/config/Makefile	2016-06-16 10:43:29.517409971 +0200
> @@ -243,7 +243,7 @@ else
>        LIBC_SUPPORT := 1
>      endif
>      ifeq ($(LIBC_SUPPORT),1)
> -      msg := $(warning No libelf found, disables 'probe' tool and BPF support in 'perf record', please install elfutils-libelf-devel/libelf-dev);
> +      msg := $(warning No libelf found, disables 'probe' tool and BPF support in 'perf record', please install libelf-dev, libelf-devel or elfutils-libelf-devel);
>  
>        NO_LIBELF := 1
>        NO_DWARF := 1
> 
> 
> -- 
> Jean Delvare
> SUSE L3 Support

-- 
Josh

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

* Re: [PATCH] kbuild: List libelf-devel as an alternative
  2016-06-16 15:08 ` Josh Poimboeuf
@ 2016-06-16 16:38   ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2016-06-16 16:38 UTC (permalink / raw)
  To: Josh Poimboeuf
  Cc: Jean Delvare, linux-kbuild, Jiri Olsa, Michal Marek,
	Peter Zijlstra, Ingo Molnar

Em Thu, Jun 16, 2016 at 10:08:09AM -0500, Josh Poimboeuf escreveu:
> On Thu, Jun 16, 2016 at 10:54:20AM +0200, Jean Delvare wrote:
> > On openSUSE, the libelf development files are in package libelf-devel.
> > 
> > Signed-off-by: Jean Delare <jdelvare@suse.de>
> > Cc: Josh Poimboeuf <jpoimboe@redhat.com>
> > Cc: Jiri Olsa <jolsa@redhat.com>
> > Cc: Michal Marek <mmarek@suse.com>
> > Cc: Peter Zijlstra <peterz@infradead.org>
> > Cc: Ingo Molnar <mingo@redhat.com>
> > Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
> 
> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>

Thanks, applying.

- Arnaldo
 
> > ---
> >  Makefile                   |    2 +-
> >  tools/perf/config/Makefile |    2 +-
> >  2 files changed, 2 insertions(+), 2 deletions(-)
> > 
> > --- linux-4.6.orig/Makefile	2016-05-16 00:43:13.000000000 +0200
> > +++ linux-4.6/Makefile	2016-06-16 10:42:26.990587718 +0200
> > @@ -1013,7 +1013,7 @@ ifdef CONFIG_STACK_VALIDATION
> >    ifeq ($(has_libelf),1)
> >      objtool_target := tools/objtool FORCE
> >    else
> > -    $(warning "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev or elfutils-libelf-devel")
> > +    $(warning "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev, libelf-devel or elfutils-libelf-devel")
> >      SKIP_STACK_VALIDATION := 1
> >      export SKIP_STACK_VALIDATION
> >    endif
> > --- linux-4.6.orig/tools/perf/config/Makefile	2016-05-16 00:43:13.000000000 +0200
> > +++ linux-4.6/tools/perf/config/Makefile	2016-06-16 10:43:29.517409971 +0200
> > @@ -243,7 +243,7 @@ else
> >        LIBC_SUPPORT := 1
> >      endif
> >      ifeq ($(LIBC_SUPPORT),1)
> > -      msg := $(warning No libelf found, disables 'probe' tool and BPF support in 'perf record', please install elfutils-libelf-devel/libelf-dev);
> > +      msg := $(warning No libelf found, disables 'probe' tool and BPF support in 'perf record', please install libelf-dev, libelf-devel or elfutils-libelf-devel);
> >  
> >        NO_LIBELF := 1
> >        NO_DWARF := 1
> > 
> > 
> > -- 
> > Jean Delvare
> > SUSE L3 Support
> 
> -- 
> Josh

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

end of thread, other threads:[~2016-06-16 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-16  8:54 [PATCH] kbuild: List libelf-devel as an alternative Jean Delvare
2016-06-16 15:08 ` Josh Poimboeuf
2016-06-16 16:38   ` Arnaldo Carvalho de Melo

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.