From: TJ <linux@iam.tj>
To: linux-kernel@vger.kernel.org
Subject: Bug 116411: tools/perf_clean: output directory does not exist. Stop.
Date: Fri, 15 Apr 2016 21:05:07 +0100 [thread overview]
Message-ID: <68839217fa31b5cafb7c60a049e54a3c@iam.tj> (raw)
v4.6-rc3
tools/perf then tools/perf_clean fails in the source tree:
*** output directory
"/home/all/SourceCode/linux/linux/tools/perf/tools/perf/" does not
exist. Stop.
https://bugzilla.kernel.org/show_bug.cgi?id=116411
The problem is that recursive/sub-makes effectively doing
O=$(O)/$(subdir) is changing the base directory resulting in
$(O)/$(subdir)/$(subdir)/ : "tools/perf" "/" "tools/perf" "/". This is
done in tools/scripts/Makefile.include:
OUTPUT := $(ABSOLUTE_O)/$(if $(subdir),$(subdir)/)
This is another symptom of the bug I reported to the mailing-list and
bugzilla on Sun, 10 Apr 2016 22:36:14 +0100, which said:
Trying to do an out-of-tree build using either absolute or relative
paths for O= fails when trying to build tools/perf.
More details in ""Directory does not exist" when doing tools
perf_install out-of-tree build"
https://bugzilla.kernel.org/show_bug.cgi?id=116131
git blame shows commits c883122a and bf35182f are responsible for the
path calculation code.
next reply other threads:[~2016-04-15 20:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-15 20:05 TJ [this message]
2016-04-15 20:06 TJ
[not found] <9e79969b0c42c9a9454a8838451945ce@iam.tj>
[not found] ` <20160415160002.GP9056@kernel.org>
2016-04-17 0:31 ` TJ
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=68839217fa31b5cafb7c60a049e54a3c@iam.tj \
--to=linux@iam.tj \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®