[PATCH] libdwfl: Make sure to set the CFI return register only once (for ppc64).

Mark Wielaard mjw at redhat.com
Mon Dec 23 20:54:26 UTC 2013


On Mon, 2013-12-23 at 15:19 +0100, Jan Kratochvil wrote:
> On Sat, 21 Dec 2013 21:56:35 +0100, Mark Wielaard wrote:
> > On PPC64 there are two DWARF registers numbers that can represent the
> > same register. If that register is the CIE return register then we only
> > want to set it once. The second setting will confuse the unwinder.
> 
> Could you provide reproducibility information?

See the original bug report for the exact libgcc.so version and the CFI
that caused the issue. It was on the machine that I gave you access to
last week.
https://lists.fedorahosted.org/pipermail/elfutils-devel/2013-December/003639.html

> I have already tried ppc64 (with ppc biarch enabled) on RHEL-6 and F-19 and
> both machines PASS all the testcases (one is SKIPped).

Yes, they only needed one patch [tests: backtrace.c only check we caught
the last instruction on x86_64.] which is now on master.

Cheers,

Mark



More information about the elfutils-devel mailing list