[Buildroot] elfutils and the perf userspace tool

Bogdan Radulescu bogdan_radulescu99 at yahoo.com
Thu Dec 6 16:10:12 UTC 2012


Hello Thomas,



----- Original Message -----
> From: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> To: Bogdan Radulescu <bogdan_radulescu99 at yahoo.com>
> Cc: Stefan Fröberg <stefan.froberg at petroprogram.com>; "buildroot at busybox.net" <buildroot at busybox.net>
> Sent: Wednesday, December 5, 2012 4:31 PM
> Subject: Re: [Buildroot] elfutils and the perf userspace tool
> 
> Dear Bogdan Radulescu,
> 
> On Wed, 5 Dec 2012 07:07:53 -0800 (PST), Bogdan Radulescu wrote:
>>  I had a look at the yoctoproject patches and they are a bit confusing
>>  to me. There are way to many patches. Some of them fix problems I
>>  don't have and are very old. I decided to go with Stefans suggestions
>>  and I could go further, but now I am stuck again. Yes, I am using
>>  uClibc. Do you guys have a suggestion for this:
>>  http://pastie.org/pastes/5484094/text
>> 
>>  I would really like to have perf in buildroot and this thing is in
>>  the way.
> 
> Did you notice that you can build perf without libelf, by passing
> NO_LIBELF=1 to perf's Makefile?
> 
> Thomas
> -- 
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
>

I noticed now that this is in the newer versions. I tried to build it without libelf even though it will be pretty crippled but still I didn't have any luck.
http://pastie.org/pastes/5489305/text

I tried with using 3.7-rc3. In 3.4.22 isn't patched for building without libelf.
On which version did you manage to build it for ARM?

Bogdan




More information about the buildroot mailing list