From: "acme@kernel.org" <acme@kernel.org>
To: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Cc: "aaro.koskinen@nokia.com" <aaro.koskinen@nokia.com>,
"linux-arch@vger.kernel.org" <linux-arch@vger.kernel.org>,
"Vineet.Gupta1@synopsys.com" <Vineet.Gupta1@synopsys.com>,
"jolsa@kernel.org" <jolsa@kernel.org>,
"paulus@samba.org" <paulus@samba.org>,
"a.p.zijlstra@chello.nl" <a.p.zijlstra@chello.nl>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Revert "perf tools: Allow to specify custom linker command"
Date: Tue, 14 Jul 2015 11:45:22 -0300 [thread overview]
Message-ID: <20150714144522.GK2885@kernel.org> (raw)
In-Reply-To: <1436882404.2839.28.camel@synopsys.com>
Em Tue, Jul 14, 2015 at 02:00:05PM +0000, Alexey Brodkin escreveu:
> On Tue, 2015-07-14 at 10:46 -0300, Arnaldo Carvalho de Melo wrote:
> > Em Mon, Jul 13, 2015 at 11:24:06PM +0300, Aaro Koskinen escreveu:
> > > > But for now to fix cross-building of perf this revert is enough.
> > > Hmm. You are probably right, my build system always exports LD with
> > > correct linker for cross builds so perhaps that's why I this "worked"
> > > for me when testing. Sorry.
> > So, I think this is an "Acked-by: Aaro Koskinen <aaro.koskinen@iki.fi>"
> > for the revert, right?
> > > I guess the correct fix would be [1], i.e. there should be some new
> > > variable to pass flags to ld command.
> > > Or maybe [2], could we use make "origin" function? If LD is "default",
> > > then use "$(CROSS_COMPILE)ld", otherwise use what the user passed?
> > When you guys get to some conclusion, please submit a new patch, for now
> > I am taking the revert with the (implied) Acked-by Aaro, ok?
> Please find my patch that both reverts initial Aaro's patch and implements
> proper handling of CC, AR and LD substitution here - https://lkml.org/lkml/2015/7/14/149
I saw it, will do.
- Arnaldo
prev parent reply other threads:[~2015-07-14 14:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-13 11:10 [PATCH] Revert "perf tools: Allow to specify custom linker command" Alexey Brodkin
2015-07-13 20:24 ` Aaro Koskinen
2015-07-13 20:24 ` Aaro Koskinen
2015-07-14 6:31 ` Jiri Olsa
2015-07-14 9:05 ` [PATCH] perf tools: Really allow to specify custom CC, AR or LD Alexey Brodkin
2015-07-14 13:46 ` [PATCH] Revert "perf tools: Allow to specify custom linker command" Arnaldo Carvalho de Melo
2015-07-14 14:00 ` Alexey Brodkin
2015-07-14 14:45 ` acme [this message]
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=20150714144522.GK2885@kernel.org \
--to=acme@kernel.org \
--cc=Alexey.Brodkin@synopsys.com \
--cc=Vineet.Gupta1@synopsys.com \
--cc=a.p.zijlstra@chello.nl \
--cc=aaro.koskinen@nokia.com \
--cc=jolsa@kernel.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.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