From: Milian Wolff <milian.wolff@kdab.com>
To: acme@kernel.org
Cc: wangnan0@huawei.com, jiri@infradead.org, hekuang@huawei.com,
linux-perf-users@vger.kernel.org
Subject: Re: cross compiling perf
Date: Thu, 04 Aug 2016 17:02:01 +0200 [thread overview]
Message-ID: <3173583.b0RsRJyeV2@milian-kdab2> (raw)
In-Reply-To: <20160804132225.GI14639@kernel.org>
[-- Attachment #1: Type: text/plain, Size: 1368 bytes --]
On Thursday, August 4, 2016 10:22:25 AM CEST Arnaldo Carvalho de Melo wrote:
> Em Wed, Aug 03, 2016 at 10:56:20PM +0200, Milian Wolff escreveu:
> > I hope this helps others. I finally have a working up2date perf on my
> > aarch64 platform and it seems to work form my simple 5min tests so far.
>
> Ok, that should help people, but it is way convoluted :-\
>
> How did you obtained your cross compiler environment? Some ready made
> tarball or set of distro packages? I have an ever growing set of perf
> build cointainers that includes a few cross compilers:
The environment was provided to us as a tarball from a customer of ours, who
probably got that from another subcontractor.
<snip>
export INSTALLDIR=/usr/${TARGET} && \
^-- is that path potentially special cased in the build file? I mean you don't
set the sysroot anywhere, nor do you seem to pass special include paths to
perf. This of course works fine in a docker environment, but for "normal"
development machines, where you compile and install stuff somewhere in $HOME,
this won't work at all.
The above wouldn't directly explain the really strange behavior of the feature
detection though (which enables _everything_ for me).
Bye
--
Milian Wolff | milian.wolff@kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt Experts
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5903 bytes --]
next prev parent reply other threads:[~2016-08-04 15:02 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-15 14:24 cross compiling perf Milian Wolff
2016-06-15 15:47 ` Kim Phillips
2016-06-27 11:56 ` Milian Wolff
2016-06-16 16:11 ` Arnaldo Carvalho de Melo
2016-06-17 9:49 ` Milian Wolff
2016-06-17 11:00 ` Arnaldo Carvalho de Melo
2016-06-20 1:56 ` Wangnan (F)
2016-06-27 11:56 ` Milian Wolff
2016-08-03 20:56 ` Milian Wolff
2016-08-04 13:22 ` Arnaldo Carvalho de Melo
2016-08-04 15:02 ` Milian Wolff [this message]
2016-08-04 18:36 ` Arnaldo Carvalho de Melo
2016-08-04 21:58 ` Milian Wolff
2016-08-05 0:13 ` Arnaldo Carvalho de Melo
2016-08-12 10:48 ` Milian Wolff
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=3173583.b0RsRJyeV2@milian-kdab2 \
--to=milian.wolff@kdab.com \
--cc=acme@kernel.org \
--cc=hekuang@huawei.com \
--cc=jiri@infradead.org \
--cc=linux-perf-users@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;
as well as URLs for NNTP newsgroup(s).