Re: [PATCH] perf: fix Makefile check for libdward

From: Stephane Eranian
Date: Mon May 17 2010 - 15:36:54 EST

On Mon, May 17, 2010 at 9:24 PM, Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:
> Hi Stephane,
> Stephane Eranian wrote:
>> On Ubuntu 9.10, the elfutils/libdw package is 0.141, yet it is
>> not sufficient to compile util/probe-finder.c as it uses a type,
>> namely Dwarf_CFI, which is introduced sometime after version 0.141.
>> This patch updates the libdwarf test in the Makefile to check
>> for the definition of Dwarf_CFI. If is is not there, the test
>> fails and dwarf support is disabled.
>> It is not clear to me which version introduces Dwarf_CFI,
>> thus I adjusted the version message to 0.142, could be more
>> recent.
> Yeah, I see. I had sent a fix patch which just ignores Dwarf_CFI
> related code if the libdw version is younger than supporting it.
> Could you try the patch here?
Does compile now on Ubuntu 9.10 (Karmic).

> Thank you,
> --
> Masami Hiramatsu
> e-mail: mhiramat@xxxxxxxxxx

Stephane Eranian | EMEA Software Engineering
Google France | 38 avenue de l'OpÃra | 75002 Paris
Tel : +33 (0) 1 42 68 53 00
This email may be confidential or privileged. If you received this
communication by mistake, please
don't forward it to anyone else, please erase all copies and
attachments, and please let me know that
it went to the wrong person. Thanks
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at