Message ID | 20141211072351.GI27208@grmbl.mre |
---|---|
State | New |
Headers | show |
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. thanks -- PMM
* 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