From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.kernel.org ([198.145.29.136]:33008 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753942AbcFPQiS (ORCPT ); Thu, 16 Jun 2016 12:38:18 -0400 Date: Thu, 16 Jun 2016 13:38:10 -0300 From: Arnaldo Carvalho de Melo Subject: Re: [PATCH] kbuild: List libelf-devel as an alternative Message-ID: <20160616163810.GD13337@kernel.org> References: <20160616105420.13b4dbf2@endymion> <20160616150809.f3tdj6hxdbypbboc@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160616150809.f3tdj6hxdbypbboc@treble> Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Josh Poimboeuf Cc: Jean Delvare , linux-kbuild@vger.kernel.org, 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 > > Cc: Josh Poimboeuf > > Cc: Jiri Olsa > > Cc: Michal Marek > > Cc: Peter Zijlstra > > Cc: Ingo Molnar > > Cc: Arnaldo Carvalho de Melo > > Acked-by: Josh Poimboeuf 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