All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sedat Dilek <sedat.dilek@gmail.com>
To: Ingo Molnar <mingo@kernel.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [3.11-rc7] Building perf-only the "official" way seems to be BROKEN?
Date: Fri, 30 Aug 2013 16:28:34 +0200	[thread overview]
Message-ID: <CA+icZUWNoq2+y511Mk8j_Vmo1_CdTmaG=2nLDz8oh6QPDqr_+A@mail.gmail.com> (raw)
In-Reply-To: <CA+icZUWNrZQgjuXX+7JFgRKfCjYR_fSkfeRxHot_=xpLSaNaxg@mail.gmail.com>

[...]

> [ BUILD PERF-ONLY ]
>
> So, I have finished a Linux-kernel build and wanted to build perf
> (from tools-dir) ONLY!
>
> I followed the advices (I am a "good" guy) seen for example in the
> "tools/Makefile" file.
>
> [ tools/Makefile ]
> ...
>         @echo 'You can do:'
>         @echo ' $$ make -C tools/ <tool>_install' <--- NOTE THIS ONE!
>         @echo ''
>         @echo '  from the kernel command line to build and install one of'
>         @echo '  the tools above'
>         @echo ''
>         @echo '  $$ make tools/install'
>         @echo ''
>         @echo '  installs all tools.'
> ...
>
> OK, so I did this for a perf-only build...
>
>
>    $ LANG=C LC_ALL=C make -C tools/ perf_install 2>&1 | tee ../build-perf.txt
>
> ...this breaks like this...
>
> ...
> make[2]: Entering directory
> `/home/wearefam/src/linux-kernel/linux/tools/lib/traceevent'
> make[2]: Leaving directory
> `/home/wearefam/src/linux-kernel/linux/tools/lib/traceevent'
>     LINK perf
> gcc: error: /home/wearefam/src/linux-kernel/linux/tools/lib/lk/liblk.a:
> No such file or directory
> make[1]: *** [perf] Error 1
> make[1]: Leaving directory `/home/wearefam/src/linux-kernel/linux/tools/perf'
> make: *** [perf_install] Error 2
>

[ From #linux-rt (OFTC) ]

[16:17] <acme> dileks_webchat, there are many, many ways to build the tools
[16:17] <acme> the one I use is:
[16:17] <acme> make O=/tmp/build/perf -C tools/perf install
[16:19] <dileks_webchat> acme:  make -C tools/perf install works as
expected. interesting :-)

- Sedat (dileks on IRC) -

  reply	other threads:[~2013-08-30 14:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-30 12:31 [3.11-rc7] Building perf-only the "official" way seems to be BROKEN? Sedat Dilek
2013-08-30 14:28 ` Sedat Dilek [this message]
2013-08-30 14:54   ` Sedat Dilek
2013-08-30 15:24     ` Sedat Dilek

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='CA+icZUWNoq2+y511Mk8j_Vmo1_CdTmaG=2nLDz8oh6QPDqr_+A@mail.gmail.com' \
    --to=sedat.dilek@gmail.com \
    --cc=acme@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    --cc=torvalds@linux-foundation.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.