From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752103AbcLFKsE (ORCPT ); Tue, 6 Dec 2016 05:48:04 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51374 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751139AbcLFKsB (ORCPT ); Tue, 6 Dec 2016 05:48:01 -0500 Date: Tue, 6 Dec 2016 11:47:57 +0100 From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , lkml , Ingo Molnar , Peter Zijlstra , Namhyung Kim , David Ahern Subject: Re: [PATCH 5/7] perf tools: Force fixdep compilation at the start of the build Message-ID: <20161206104757.GA22902@krava> References: <1480884178-8072-1-git-send-email-jolsa@kernel.org> <1480884178-8072-6-git-send-email-jolsa@kernel.org> <20161205200251.GB28260@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20161205200251.GB28260@kernel.org> User-Agent: Mutt/1.7.1 (2016-10-04) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Tue, 06 Dec 2016 10:48:01 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 05, 2016 at 05:02:51PM -0300, Arnaldo Carvalho de Melo wrote: > Em Sun, Dec 04, 2016 at 09:42:56PM +0100, Jiri Olsa escreveu: > > The fixdep tool needs to be built before everything else, > > because it fixes every object dependency file. > > > > We handle this currently by making all objects to depend > > on fixdep, which is error prone and is easily forgotten > > when new object is added. > > > > Instead of this, this patch force fixdep tool to be built > > as the first target in the separate make session. This way > > we don't need to handle extra fixdep dependencies and we are > > certain there's no fixdep race with any parallel make job. > > With your updated version I'm getting this: > > $ make -k O=/tmp/build/perf -C tools/perf install-bin > > LINK /tmp/build/perf/libperf-gtk.so > INSTALL GTK UI > install: cannot change permissions of ‘/lib64’: Operation not permitted > install: cannot create regular file '/lib64/libperf-gtk.so': Permission denied > Makefile.perf:738: recipe for target 'install-gtk' failed > make[2]: *** [install-gtk] Error 1 > make[2]: *** Waiting for unfinished jobs.... > Makefile.perf:383: recipe for target 'sub-make' failed > make[1]: *** [sub-make] Error 2 > Makefile:108: recipe for target 'install-bin' failed > make: *** [install-bin] Error 2 > make: Leaving directory '/home/acme/git/linux/tools/perf' hum, tests/make does not cover $HOME installation :-\ anyway, I needed to do more changes and I pushed them all into my perf/fixes again and now I'm running all tests.. it also has the check-headers.sh fix we discussed I'll post later today if the tests are ok thanks, jirka