Description of problem: qemu on ARM aborts early on because it uses a home-brewed coroutine implementation which relies on working getcontext/etc functions. On ARM these all return ENOSYS. glibc-ports upstream has a patch which implements enough ucontext functionality to get qemu working. The attached patch backports this patch to Fedora glibc (in Rawhide). I compiled and tested glibc with this patch, and it fixes the initial problem with qemu on ARM (although qemu fails a bit later on for an unrelated reason). Version-Release number of selected component (if applicable): glibc-2.15-32.fc18.armv7hl Additional info: https://bugs.launchpad.net/qemu-linaro/+bug/883136 http://sourceware.org/ml/libc-ports/2012-02/msg00077.html Upstream patch: http://sourceware.org/git/?p=glibc-ports.git;a=commit;h=402a76b62dded0ee93cfec0471aaeccb989196d2
Created attachment 580976 [details] 0001-glibc-Backport-ARM-implementation-of-ucontext-from-u.patch
It looks like the patch is missing all the new files?
That's bizarre. Here is the actual patch: http://oirase.annexia.org/tmp/0001-glibc-Backport-ARM-implementation-of-ucontext-from-u.patch
Comment on attachment 580976 [details] 0001-glibc-Backport-ARM-implementation-of-ucontext-from-u.patch See comment 3 for the real patch.
Installed into rawhide. Do y'all need this in f17 as well?
Please pull into F17 as well.
Done. If there's a way I can test this, let me know... My only verification was that what appear to be the right files appeared to be in the right place :-)
glibc-2.15-35.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/glibc-2.15-35.fc17
glibc-2.15-35.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.