Bug#759042: glibc getcontext/setcontext not restoring registers correctly on arm64
Investigation (By Edmun Grimley-Evans) for #759040 discovered that a patch for
getcontext/setcontext is in the Debian glibc package but was not being
"It seems that registers d8, d10, d12, d14 are restored correctly, but d9, d11, d13, d15 are not.
I believe this is the bug that is preventing gnupg2 from working, because I have observed pth_select_ev
corrupting those odd-numbered registers, and libpth20 does use getcontext, setcontext, ...
This bug may have been fixed by Will Newton's patch in April, which is mentioned in Debian's changelog:
If I've understood correctly (please help!) this patch is in Debian's source package
(debian/patches/arm64/submitted-setcontext.diff) but is only applied in "experimental"."
This is now fixed in http://anonscm.debian.org/viewvc/pkg-glibc?view=revision&revision=6245
This bug filed to track the issue for affected packages, until a fixed version is in the archive.