[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 883136] Re: qemu on ARM hosts aborts on startup becaus
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [Bug 883136] Re: qemu on ARM hosts aborts on startup because makecontext() always fails |
Date: |
Thu, 12 Jan 2012 10:17:11 -0000 |
Plan:
(a) get makecontext added to eglibc
(b) see if upstream eglibc are open to the idea of some sort of #define for
MAKECONTEXT_ACTUALLY_IMPLEMENTED_NOW so we can detect it at compile time
(c) otherwise, work around in qemu (probably by adding another layer of
indirection)
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/883136
Title:
qemu on ARM hosts aborts on startup because makecontext() always fails
Status in QEMU:
New
Status in Linaro QEMU:
In Progress
Bug description:
qemu has recently grown a coroutines implementation. There are two
versions, one using the makecontext/setcontext/swapcontext functions
from ucontext.h, and one falling back to implementing coroutines as
separate glib threads. configure chooses the former if the platform
has a makecontext().
Unfortunately ARM eglibc provides a makecontext() which always fails
ENOSYS, which means the configure check passes but when qemu starts it
abort()s.
The best fix for this is probably going to involve making the
coroutine implementation runtime-selectable.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/883136/+subscriptions