linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Ahern <dsahern@gmail.com>
To: Suresh Nagarajan <sureshnagaraja@gmail.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: perf cross compilation on yocto-linux for ARM fails
Date: Tue, 19 Aug 2014 20:35:45 -0600	[thread overview]
Message-ID: <53F40981.6050707@gmail.com> (raw)
In-Reply-To: <CACbZ9VKTbvfiWmmvhSx3Po4rOaGALNJwk9_Zi_seteCf3ac-Cw@mail.gmail.com>

On 8/19/14, 8:17 PM, Suresh Nagarajan wrote:
> can you pls expand on "you should create a recipe to build perf within
> the yocto framework"
>
> there is perf.bb <http://perf.bb> in recipes-kernel/perf.

ok. We use my version of perf internally so I had to write my own. Was 
not aware that there was a perf.bb file.


   The issue I'm
> running into is
> that perf builds (is put under /works/perf/images/usr/bin)
>
> However, when run it complains that
> root@socfpga_cyclone5:~# ./perf
> .*/perf: error while loading shared libraries:
> /lib/libbfd-2.23.1.20121113.so <http://libbfd-2.23.1.20121113.so>:
> Unable to run arch-specific checks*
> *
> *
> *what does it mean? * Kernel boots fine with uImage...

hmmm... did not hit that problem building ppc images on x86.

Does that lib exist in the image? If not is it in the build env sysroot 
(should be)?

David

      parent reply	other threads:[~2014-08-20  2:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-12 21:49 perf cross compilation on yocto-linux for ARM fails Suresh Nagarajan
2014-08-20  1:54 ` David Ahern
     [not found]   ` <CACbZ9VKTbvfiWmmvhSx3Po4rOaGALNJwk9_Zi_seteCf3ac-Cw@mail.gmail.com>
2014-08-20  2:35     ` David Ahern [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=53F40981.6050707@gmail.com \
    --to=dsahern@gmail.com \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=sureshnagaraja@gmail.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).