From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934007AbcJLSSb (ORCPT ); Wed, 12 Oct 2016 14:18:31 -0400 Received: from mail-io0-f176.google.com ([209.85.223.176]:33269 "EHLO mail-io0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933901AbcJLSSa (ORCPT ); Wed, 12 Oct 2016 14:18:30 -0400 Subject: Re: Intermittent perf build failures To: Jiri Olsa References: <5812c8e3-4bb3-6419-4e3e-c20748e44f96@redhat.com> <20161011205927.GA24518@krava> <0babd89f-dd38-89f5-7073-6b74c6692995@redhat.com> <20161012101253.GA18362@krava> Cc: Andi Kleen , Arnaldo Carvalho de Melo , Peter Zijlstra , Linux Kernel Mailing List , Ingo Molnar From: Laura Abbott Message-ID: <8f82966d-51ac-7c32-24ca-49e2b43fce06@redhat.com> Date: Wed, 12 Oct 2016 11:18:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20161012101253.GA18362@krava> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/12/2016 03:12 AM, Jiri Olsa wrote: > On Tue, Oct 11, 2016 at 02:18:49PM -0700, Laura Abbott wrote: >> On 10/11/2016 01:59 PM, Jiri Olsa wrote: >>> On Tue, Oct 11, 2016 at 01:43:36PM -0700, Laura Abbott wrote: >>>> Hi, >>>> >>>> While building today's Fedora rawhide kernel, there was a failure >>>> building perf with -j4 [1]: > > ok, the -j 4 is the problem > > running "make -j 4 install-bin install-traceevent-plugins" > > BUILD: Doing 'make -j4' parallel build > BUILD: Doing 'make -j4' parallel build > > will run paralel make instances for install-bin and install-traceevent-plugins > which will eventually touch same files and crash.. > > the main perf Makefile is actualy detecting number of cpus > and runs Makefile.perf with -j X option so there's no need > to specify it on top level.. you can always customize it via > JOBS=X make variable > > so if you don't specify the -j X option it will run the > 'Makefile.perf install-bin install-traceevent-plugins' with > -j X set and it should execute sequentialy and fix your problem > Thanks for pointing that out. The build command has been there a while and apparently has bit rotted. I've removed the extra -j X flags from the command. > thanks, > jirka > Thanks, Laura