From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:49846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RibcQ-00035Y-9b for qemu-devel@nongnu.org; Wed, 04 Jan 2012 19:55:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RibcP-00008Z-6R for qemu-devel@nongnu.org; Wed, 04 Jan 2012 19:55:46 -0500 Received: from indium.canonical.com ([91.189.90.7]:35049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RibcP-00008V-0w for qemu-devel@nongnu.org; Wed, 04 Jan 2012 19:55:45 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1RibcO-00089H-9P for ; Thu, 05 Jan 2012 00:55:44 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 452642E811A for ; Thu, 5 Jan 2012 00:55:44 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 05 Jan 2012 00:47:49 -0000 From: Michael Hope <883136@bugs.launchpad.net> Sender: bounces@canonical.com References: <20111028150756.31559.33093.malonedeb@chaenomeles.canonical.com> Message-Id: <20120105004749.29505.13683.launchpad@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 883136] Re: qemu on ARM hosts aborts on startup because makecontext() always fails Reply-To: Bug 883136 <883136@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ** Changed in: qemu-linaro Status: New =3D> In Progress -- = 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