This is the mail archive of the
mailing list for the elfutils project.
Re: frame unwinding patches
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Milian Wolff <mail at milianw dot de>
- Cc: elfutils-devel at sourceware dot org, Mark Wielaard <mark at klomp dot org>, Ulf Hermann <ulf dot hermann at qt dot io>
- Date: Mon, 3 Apr 2017 23:23:25 +0200
- Subject: Re: frame unwinding patches
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jan dot kratochvil at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 29771EEF3C
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 29771EEF3C
- References: <firstname.lastname@example.org> <3915502.JGE1jdPxOT@milian-kdab2>
On Mon, 03 Apr 2017 11:00:03 +0200, Milian Wolff wrote:
> I just got a report from a colleague. As-is, elfutils would fail to unwind
> from the following location in his application:
> With the x86_64 patch applied, he got a proper backtrace:
S/he has something wrong with the compiler. With -fasynchronous-unwind-tables
frame pointer unwinding is never needed
and gcc defaults to -fasynchronous-unwind-tables on x86_64.
This is why I haven't implemented it originally as it only paper overs the
real problem and it leads to unreliable backtraces in longterm.