From: Ian Campbell Subject: Re: [PATCH] qemu build: disable C++ optional code Date: Mon, 7 Jul 2014 13:16:45 +0100 Message-ID: <1404735405.30778.1.camel@kazak.uk.xensource.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: xen-devel@lists.xensource.com, Ian Jackson List-Id: xen-devel@lists.xenproject.org On Mon, 2014-07-07 at 12:47 +0100, Stefano Stabellini wrote: > Disable C++ optimizations for the intruction emulators: we don't need > them and they can cause build issues with Xen. This doesn't help distros who want to use their existing qemu packages with Xen though, or in general people who prefer their own qemu to ours. What sort of build issues do we see? Is this to do with xen/include/public not being C++ safe or is it code issues within the Xen parts or qemu? Ian. > > Signed-off-by: Stefano Stabellini > > > diff --git a/tools/Makefile b/tools/Makefile > index f4aa200..da20f5a 100644 > --- a/tools/Makefile > +++ b/tools/Makefile > @@ -201,6 +201,7 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find > --disable-kvm \ > --disable-docs \ > --disable-guest-agent \ > + --cxx=none \ > --python=$(PYTHON) \ > $(CONFIG_QEMUU_EXTRA_ARGS) \ > $(IOEMU_CONFIGURE_CROSS); \