Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1499462

Re: Intermittent perf build failures

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: Intermittent perf build failures
Date 2016-10-12 12:20 +0200
Message-ID <sroNH-33M-11@gated-at.bofh.it> (permalink)
References <src9Q-2XG-11@gated-at.bofh.it> <srcjw-30Y-5@gated-at.bofh.it> <sroNH-33M-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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,
jirka

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Intermittent perf build failures Laura Abbott <labbott@redhat.com> - 2016-10-11 22:50 +0200
  Re: Intermittent perf build failures Jiri Olsa <jolsa@redhat.com> - 2016-10-11 23:00 +0200
    Re: Intermittent perf build failures Jiri Olsa <jolsa@redhat.com> - 2016-10-12 12:20 +0200
      Re: Intermittent perf build failures Laura Abbott <labbott@redhat.com> - 2016-10-12 20:20 +0200

csiph-web