From: Jeff Cody <jcody@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>, Fam Zheng <famz@redhat.com>,
QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] git build from clean broken?
Date: Thu, 27 Feb 2014 15:01:12 -0500 [thread overview]
Message-ID: <20140227200112.GE4165@localhost.localdomain> (raw)
In-Reply-To: <CAFEAcA8aEdntMxibVvTn7P3iZV=hFpWpSAqH=XQqwcu1yt1CYA@mail.gmail.com>
On Thu, Feb 27, 2014 at 07:38:56PM +0000, Peter Maydell wrote:
> $ git clone git://git.qemu.org/qemu.git
> [...]
> $ cd qemu
> $ mkdir build/a64-targets-nodbg/ && (cd build/a64-targets-nodbg/ &&
> '../../configure'
> '--target-list=aarch64-softmmu,arm-softmmu,aarch64-linux-user,arm-linux-user'
> '--cc=ccache gcc' '--disable-tools') && make -C
> build/a64-targets-nodbg/
> [...]
> make[1]: *** No rule to make target `../async.o', needed by
> `qemu-system-aarch64'. Stop.
>
> Make seems to be able to build these files in its top level
> build directory:
>
> make -C build/a64-targets-nodbg async.o
>
> but it can't build them on-demand when the targets in the
> per-target subdirectories reference them via ../object-file.o
>
> git bisect blames this commit:
> commit ba1183da9a10b94611cad88c44a5c6df005f9b55
> Author: Fam Zheng <famz@redhat.com>
> Date: Mon Feb 10 14:48:52 2014 +0800
>
> rules.mak: fix $(obj) to a real relative path
>
> Any ideas?
>
Hi Peter,
It looks like this is the culprit, from that commit:
-common-obj-y = $(block-obj-y) blockdev.o blockdev-nbd.o block/
+common-obj-y = blockdev.o blockdev-nbd.o block/
You are running into this bug since you configured with
--disable-tools.
As a temp workaround, if you build qemu-nbd (or qemu-img) first, that
should build the required block-obj-y objects, which should then allow
everything to build. E.g.:
make -j5 qemu-nbd all
Jeff
prev parent reply other threads:[~2014-02-27 20:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-27 19:38 [Qemu-devel] git build from clean broken? Peter Maydell
2014-02-27 19:57 ` Stefan Weil
2014-02-27 21:50 ` Paolo Bonzini
2014-02-27 22:17 ` Peter Maydell
2014-02-27 22:23 ` Paolo Bonzini
2014-02-27 22:55 ` Peter Maydell
2014-03-03 23:50 ` Peter Maydell
2014-03-04 6:57 ` Stefan Weil
2014-03-04 7:10 ` Paolo Bonzini
2014-02-27 20:01 ` Jeff Cody [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=20140227200112.GE4165@localhost.localdomain \
--to=jcody@redhat.com \
--cc=famz@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/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.