Re: linux-next: build failure after merge of the tip tree

Arnaldo Carvalho de Melo
2015-09-16T14:17:13Z

Em Wed, Sep 16, 2015 at 05:30:25PM +1000, Stephen Rothwell escreveu:
> Hi Jiri,
>
> On Wed, 16 Sep 2015 08:38:17 +0200 Jiri Olsa <jolsa@redhat.com> wrote:
> >
> > > > Also, building perf seems to ignore O= on the make invocation.
> > > > Is that expected?
> > >
> > > hum, not sure about this one.. I'm not using it, but we have
> > > tests for this and I thought we're ok.. I'll check
> >
> > seems to work on latest Arnaldo's perf/core,
> > what command line failed for you?
> >
> > [jolsa@krava perf]$ make O=/tmp/krava/
> > ...
> > [jolsa@krava perf]$ ll /tmp/krava/perf
> > -rwxrwxr-x. 1 jolsa jolsa 12669704 Sep 16 08:36 /tmp/krava/perf
>
> Thanks for the hint. I was using a relative path and starting in the
> top of the kernel tree, so:

> $ cd kernel
> $ mkdir ../perf
> $ make -s -C tools/perf JOBS=24 O=../perf
>
> put everything in toos/perf (no suprise really)
>
> I will change my script to use an absolute path (which I checked does
> work fine). Sorry for the noise.

Nice workaround, but I guess relative paths should be supported as well,
right? :)

- Arnaldo