All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Amit Shah <amit.shah@redhat.com>,
	zhanghailiang <zhang.zhanghailiang@huawei.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	qemu list <qemu-devel@nongnu.org>,
	Juan Quintela <quintela@redhat.com>
Subject: Re: [Qemu-devel] [PULL] Migration pull for 2.3
Date: Thu, 11 Dec 2014 16:58:09 +0000	[thread overview]
Message-ID: <20141211165809.GK2567@work-vm> (raw)
In-Reply-To: <CAFEAcA-nGwMLRbXpRLdOycupkMnsNKkD8r-hku6ck_hEDpvgcg@mail.gmail.com>

* Peter Maydell (peter.maydell@linaro.org) wrote:
> On 11 December 2014 at 07:23, Amit Shah <amit.shah@redhat.com> wrote:
> > The following changes since commit 7fb8da2b8861795e0013e6ee97acd0363d868a35:
> >
> >   Open 2.3 development tree (2014-12-09 21:48:34 +0000)
> >
> > are available in the git repository at:
> >
> >   git://git.kernel.org/pub/scm/virt/qemu/amit/migration.git tags/for-2.3-1
> >
> > for you to fetch changes up to 26b6d4a4c837aeb3655090696d385d1d02f2d313:
> >
> >   MAINTAINERS: Update for migrated migration code (2014-12-11 12:48:06 +0530)
> >
> > ----------------------------------------------------------------
> > Migration pull for 2.3.  Mostly moving the code to the migration/
> > directory, and updating MAINTAINERS.
> >
> > I've also folded my other MAINTAINERS update patches into this, as
> > they're small by themselves.
> 
> Hi. I'm afraid "make check" fails to build on a linux-static config:
> 
>   CC    tests/test-xbzrle.o
>   CC    migration/xbzrle.o
> cc1: error: migration: No such file or directory [-Werror]
> cc1: all warnings being treated as errors
> make: *** [migration/xbzrle.o] Error 1
> 
> The configure line for this build config is:
> exec '../../configure' '--cc=ccache gcc' '--enable-debug' '--static'
> '--disable-system'
> 
> The problem is that the test wants to include the .o from migration/
> 
> gcov-files-test-xbzrle-y = migration/xbzrle.c
> 
> but that .o isn't built (and the migration/ directory in
> the build tree doesn't exist at all), because the line
> common-obj-y += migration/
> in Makefile.objs is inside an ifeq ($(CONFIG_SOFTMMU),y)
> guard.
> 
> This used to work because the test makefile would cause the
> xbzrle.o file to get built even on a non-softmmu build
> (via the dependency), but that no longer works because
> cc won't build into an output directory that doesn't exist.
> 
> The simplest fix might be to make this test only run if
> CONFIG_SOFTMMU, I guess.

OK, thanks for spotting that; I'll guard that test as you suggest.

> 
> thanks
> -- PMM

Dave
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

      reply	other threads:[~2014-12-11 16:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-11  7:23 [Qemu-devel] [PULL] Migration pull for 2.3 Amit Shah
2014-12-11 16:45 ` Peter Maydell
2014-12-11 16:58   ` Dr. David Alan Gilbert [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141211165809.GK2567@work-vm \
    --to=dgilbert@redhat.com \
    --cc=amit.shah@redhat.com \
    --cc=mst@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    --cc=zhang.zhanghailiang@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.