Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965050AbbLOLbS (ORCPT ); Tue, 15 Dec 2015 06:31:18 -0500 Received: from e28smtp05.in.ibm.com ([125.16.236.5]:42273 "EHLO e28smtp05.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964922AbbLOLbQ (ORCPT ); Tue, 15 Dec 2015 06:31:16 -0500 X-IBM-Helo: d28dlp02.in.ibm.com X-IBM-MailFrom: naveen.n.rao@linux.vnet.ibm.com X-IBM-RcptTo: linux-kernel@vger.kernel.org Date: Tue, 15 Dec 2015 16:59:47 +0530 From: "Naveen N. Rao" To: Wang Nan Cc: acme@kernel.org, jolsa@redhat.com, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Sukadev Bhattiprolu Subject: Re: [PATCH v3 0/3] perf build: PowerPC: Fix build breakage due to libbpf Message-ID: <20151215112947.GF23726@naverao1-tp.in.ibm.com> References: <1450090232-11437-1-git-send-email-naveen.n.rao@linux.vnet.ibm.com> <1450150557-127942-1-git-send-email-wangnan0@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1450150557-127942-1-git-send-email-wangnan0@huawei.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15121511-0017-0000-0000-0000090250AE Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1868 Lines: 49 On 2015/12/15 03:35AM, Wang Nan wrote: > Hi Naveen, > > Now I know your problem is in native building and the reason is > missing proper $(ARCH). I think other than that there's another problem > in libbpf's building: if your problem is unable to compile libbpf, > feature checker should find it and set NO_LIBBPF=1 for perf, so perf > building won't be blocked, only BPF related features should be turned > off. Also, I think including Makefile.arch from tools/scripts would be > better, because libbpf is at the same level with perf. So I separate > them into 3 patches. Please help me test it on PowerPC. Hi Wang, Thanks for putting this together. Entire series: Tested-by: Naveen N. Rao > > Cc: Arnaldo Carvalho de Melo > Cc: Jiri Olsa > Cc: Naveen N. Rao > Cc: Sukadev Bhattiprolu > > Naveen N. Rao (1): > perf: bpf: Fix build breakage due to libbpf > > Wang Nan (2): > perf tools: Fix PowerPC native building > tools: Move Makefile.arch from perf/config to tools/scripts > > tools/build/feature/test-bpf.c | 20 +++++++++++++++++++- > tools/lib/bpf/Makefile | 3 ++- > tools/lib/bpf/bpf.c | 4 ++-- > tools/perf/config/Makefile | 2 +- > tools/perf/tests/make | 2 +- > tools/{perf/config => scripts}/Makefile.arch | 0 > 6 files changed, 25 insertions(+), 6 deletions(-) > rename tools/{perf/config => scripts}/Makefile.arch (100%) > > -- > 1.8.3.4 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/