From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753521AbcAGUkF (ORCPT ); Thu, 7 Jan 2016 15:40:05 -0500 Received: from mail.kernel.org ([198.145.29.136]:52444 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751534AbcAGUkB (ORCPT ); Thu, 7 Jan 2016 15:40:01 -0500 Date: Thu, 7 Jan 2016 17:39:57 -0300 From: Arnaldo Carvalho de Melo To: "Naveen N. Rao" Cc: "Wangnan (F)" , jolsa@redhat.com, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, sukadev@linux.vnet.ibm.com Subject: Re: [PATCH v4] perf: bpf: Fix build breakage due to libbpf Message-ID: <20160107203957.GG18457@kernel.org> References: <1450150557-127942-4-git-send-email-wangnan0@huawei.com> <1450169473-137129-1-git-send-email-wangnan0@huawei.com> <20151215114046.GG23726@naverao1-tp.in.ibm.com> <20151216194234.GA19926@kernel.org> <56720FFB.5060407@huawei.com> <20151217050714.GB21524@naverao1-tp.ibm.com> <20151217121939.GH19926@kernel.org> <20160107065709.GA2459@naverao1-tp.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160107065709.GA2459@naverao1-tp.ibm.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Jan 07, 2016 at 12:28:15PM +0530, Naveen N. Rao escreveu: > On 2015/12/17 09:19AM, Arnaldo Carvalho de Melo wrote: > > Em Thu, Dec 17, 2015 at 10:37:14AM +0530, Naveen N. Rao escreveu: > > > On 2015/12/17 09:29AM, Wang Nan wrote: > > > > The whole thread is: > > > > > > > > [PATCH v3 0/3] perf build: PowerPC: Fix build breakage due to libbpf: > > > > http://lkml.kernel.org/g/1450150557-127942-1-git-send-email-wangnan0@huawei.com > > > > > > > > [PATCH v3 1/3] perf tools: Fix PowerPC native building > > > > http://lkml.kernel.org/g/1450150557-127942-2-git-send-email-wangnan0@huawei.com > > > > > > > > [PATCH v3 2/3] tools: Move Makefile.arch from perf/config to tools/scripts > > > > http://lkml.kernel.org/g/1450150557-127942-3-git-send-email-wangnan0@huawei.com > > > > > > > > [PATCH v3 3/3] perf: bpf: Fix build breakage due to libbpf > > > > http://lkml.kernel.org/g/1450150557-127942-4-git-send-email-wangnan0@huawei.com > > > > > > > > and [PATCH v3 3/3] breaks local building because the usage of "srctree", and > > ^^ > > > You mean v4 here. > > > > > Anyway, now that you've sent v4, it should be much clearer. > > > > Right, I should've read it more thoroughly, but anyway, I'll process it > > today. > > Bump. > > Arnaldo, > Can you please push at least the initial 3 patches of this for v4.4? > Wang Nan has posted v6 here: > http://thread.gmane.org/gmane.linux.kernel/2110626 So I tried it again today, from the v6, the latest patch with that subject line in my inbox, and I get this, after applying the first three patches: [acme@zoo linux]$ make -C tools clean > /dev/null [acme@zoo linux]$ make -C tools/perf build-test make: Entering directory '/home/git/linux/tools/perf' Testing Makefile tests/make:15: /scripts/Makefile.arch: No such file or directory make[2]: *** No rule to make target '/scripts/Makefile.arch'. Stop. tests/make:5: recipe for target 'all' failed make[1]: *** [all] Error 2 Makefile:81: recipe for target 'build-test' failed make: *** [build-test] Error 2 make: Leaving directory '/home/git/linux/tools/perf' [acme@zoo linux]$ [acme@zoo linux]$ git log --oneline | head -10 a1f721fa8b82 perf bpf: Fix build breakage due to libbpf 41020638ceb2 tools: Move Makefile.arch from perf/config to tools/scripts abf316e348da perf tools: Fix PowerPC native building 12ca6ad2e3a8 perf: Fix race in swevent hash c12744994465 perf: Fix race in perf_event_exec() 2d2e7ac14a1f Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent fb202539e61b perf list: Robustify event printing routine d643b5aba848 perf list: Add support for PERF_COUNT_SW_BPF_OUT 03fba21adb19 Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent 4938cf0c7a62 perf hists browser: Fix segfault if use symbol filter in cmdline [acme@zoo linux]$ Trying to figure this out... - Arnaldo