[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] build failure with coroutine-gthread
From: |
Aneesh Kumar K.V |
Subject: |
Re: [Qemu-devel] build failure with coroutine-gthread |
Date: |
Mon, 08 Aug 2011 16:18:11 +0530 |
User-agent: |
Notmuch/0.5-318-g52e4ded (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) |
On Mon, 8 Aug 2011 10:29:04 +0100, Stefan Hajnoczi <address@hidden> wrote:
> On Mon, Aug 8, 2011 at 10:01 AM, Aneesh Kumar K.V
> <address@hidden> wrote:
> >
> >
> > LINK qemu-ga
> > coroutine-gthread.o: In function `coroutine_init':
> > /home/opensource/sources/qemu/qemu-upstream/coroutine-gthread.c:39:
> > undefined reference to `g_thread_init'
> > collect2: ld returned 1 exit status
> >
> > The below patch fix the failure. I also added the patch in the VirtFS
> > pull request.
>
> 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
>
> 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/
>
I added a version that applies to master in the pull request
http://article.gmane.org/gmane.comp.emulators.qemu/112648
Message-id:"address@hidden"
http://repo.or.cz/w/qemu/v9fs.git/commit/4b76a481ee28166d5f415ef97833c624f4fc0792
-aneesh