From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:59459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqNNf-0000Ky-Ax for qemu-devel@nongnu.org; Mon, 08 Aug 2011 06:48:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QqNNc-0005uh-4Z for qemu-devel@nongnu.org; Mon, 08 Aug 2011 06:48:23 -0400 Received: from e6.ny.us.ibm.com ([32.97.182.146]:36802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqNNb-0005ub-Ug for qemu-devel@nongnu.org; Mon, 08 Aug 2011 06:48:20 -0400 Received: from d01relay01.pok.ibm.com (d01relay01.pok.ibm.com [9.56.227.233]) by e6.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id p78AO9mq001660 for ; Mon, 8 Aug 2011 06:24:09 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay01.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p78AmHTj251946 for ; Mon, 8 Aug 2011 06:48:17 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p78AmGFv022466 for ; Mon, 8 Aug 2011 06:48:16 -0400 From: "Aneesh Kumar K.V" In-Reply-To: References: <87fwlc9t0v.fsf@skywalker.in.ibm.com> Date: Mon, 08 Aug 2011 16:18:11 +0530 Message-ID: <8762m89o2c.fsf@skywalker.in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] build failure with coroutine-gthread List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , Anthony Liguori , Stefan Hajnoczi , QEMU Developers On Mon, 8 Aug 2011 10:29:04 +0100, Stefan Hajnoczi wro= te: > On Mon, Aug 8, 2011 at 10:01 AM, Aneesh Kumar K.V > wrote: > > > > > > =C2=A0LINK =C2=A0qemu-ga > > coroutine-gthread.o: In function `coroutine_init': > > /home/opensource/sources/qemu/qemu-upstream/coroutine-gthread.c:39: und= efined reference to `g_thread_init' > > collect2: ld returned 1 exit status > > > > The below patch fix the failure. =C2=A0I also added the patch in the Vi= rtFS > > pull request. >=20 > It appears coroutine-core v7 was merged instead of v8. The > differences are minor: > * Bisectability: introduce gthread implementation before ucontext/fibers > * Depend on gthread, not just glib, for multithreaded programming >=20 > Here is the patchwork link to the gthread dependency patch in case a > committer wants to merge it immediately: > http://patchwork.ozlabs.org/patch/106810/ >=20 I added a version that applies to master in the pull request http://article.gmane.org/gmane.comp.emulators.qemu/112648 Message-id:"87bow09sw1.fsf@skywalker.in.ibm.com" http://repo.or.cz/w/qemu/v9fs.git/commit/4b76a481ee28166d5f415ef97833c624f4= fc0792 -aneesh