From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Jiri Olsa <jolsa@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>, Wang Nan <wangnan0@huawei.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: tools/build: fixdep versus tools/lib/bpf
Date: Wed, 28 Oct 2015 18:01:25 -0300 [thread overview]
Message-ID: <20151028210125.GE19695@kernel.org> (raw)
In-Reply-To: <20151028204450.GA25553@krava.redhat.com>
Em Wed, Oct 28, 2015 at 09:44:50PM +0100, Jiri Olsa escreveu:
> On Wed, Oct 28, 2015 at 05:37:52PM -0300, Arnaldo Carvalho de Melo wrote:
> > Em Wed, Oct 28, 2015 at 09:13:52PM +0100, Jiri Olsa escreveu:
> > > On Wed, Oct 28, 2015 at 01:30:40PM -0300, Arnaldo Carvalho de Melo wrote:
> > > > Hi Jiri, Wang,
> > > >
> > > > I'm getting these while doing 'make -C tools/perf build-test':
> > > >
> > > > LD fixdep-in.o
> > > > LINK fixdep
> > > > /bin/sh: /home/acme/git/linux/tools/build/fixdep: Permission denied
> > > > make[6]: *** [bpf.o] Error 1
> > > > make[5]: *** [libbpf-in.o] Error 2
> > > > make[4]: *** [/home/acme/git/linux/tools/lib/bpf/libbpf.a] Error 2
> > > > make[4]: *** Waiting for unfinished jobs....
> > > >
> > > >
> > > > It happens at different tests, i.e. seems like a race somewhere in the
> > > > build system, can you take a look? It happens with my perf/ebpf branch.
> > >
> > > could not reproduce, but looks like attached patch should help
> >
> > I'll test this now, i.e. make it go thru a 'make -C tools/perf
> > build-test'.
> >
> > In the interest of speeding up things, please provide an explanation of
> > why this should be applied, so that I can add it to the changeset log.
> >
> > Thanks a bunch!
> >
>
> The fixdep tool needs to be built as the first binary.
> Libraries are built in paralel, so each of them needs
> to depend on fixdep target.
I really need a faster machine, you provided the answer at this point:
- make_tags_O: cd . && make -f Makefile O=/tmp/tmp.xfRz6THR6o
DESTDIR=/tmp/tmp.y0nuN0Fr9n tags
- make_cscope_O: cd . && make -f Makefile O=/tmp/tmp.O6phQXHU4z
DESTDIR=/tmp/tmp.5mdMeF1pH2 cscope
- tarpkg: ./tests/perf-targz-src-pkg .
- make -C <kernelsrc> tools/perf
- make -C <kernelsrc>/tools perf
Almost there :-)
- Arnaldo
next prev parent reply other threads:[~2015-10-28 21:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-28 16:30 Arnaldo Carvalho de Melo
2015-10-28 20:13 ` Jiri Olsa
2015-10-28 20:37 ` Arnaldo Carvalho de Melo
2015-10-28 20:44 ` Jiri Olsa
2015-10-28 21:01 ` Arnaldo Carvalho de Melo [this message]
2015-10-29 2:39 ` Wangnan (F)
2015-10-30 9:13 ` [tip:perf/core] perf tools: Make sure fixdep is built before libbpf tip-bot for Jiri Olsa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151028210125.GE19695@kernel.org \
--to=acme@kernel.org \
--cc=jolsa@kernel.org \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=wangnan0@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome