This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Building error of latest source using old elfutils.
- From: Mark Wielaard <mjw at redhat dot com>
- To: Wenji Huang <wenji dot huang at oracle dot com>
- Cc: systemtap at sourceware dot org
- Date: Mon, 31 May 2010 09:30:40 +0200
- Subject: Re: Building error of latest source using old elfutils.
- References: <330e3ff5-1281-4276-abbf-927e7d20bfba@default>
Hi Wenji,
On Sun, 2010-05-30 at 23:02 -0700, Wenji Huang wrote:
> I got the following error when building stap using old elfutils 0.141.
>
> translate.cxx:4670: error: Dwarf_CFI_Entry was not declared in this scope
>
> The CFI support was added to elfutils since 0.142. Guess we need to
> give a warning in configuration or code workaround.
My fault, I didn't test the new debug_frame dwarf unwinder speedups
against old elfutils. Should be fixed now:
commit 35410c41751ffee9331166ba8e6c3404643b11cf
Author: Mark Wielaard <mjw@redhat.com>
Date: Mon May 31 09:27:29 2010 +0200
Guard create_debug_frame_hdr body with _ELFUTILS_PREREQ(0,142).
Thanks,
Mark