Received: from [140.186.70.92] (port=38483 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7knX-0000fW-JV for qemu-devel@nongnu.org; Thu, 07 Apr 2011 04:42:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7knW-0001XF-5n for qemu-devel@nongnu.org; Thu, 07 Apr 2011 04:42:39 -0400 Received: from cantor2.suse.de ([195.135.220.15]:38581 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7knV-0001WK-V5 for qemu-devel@nongnu.org; Thu, 07 Apr 2011 04:42:38 -0400 Subject: Re: [Qemu-devel] [PATCH 1/5] ppce500_mpc8544ds: Fix compile with --enable-debug and --disable-kvm Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Alexander Graf In-Reply-To: <1302145325-4634-2-git-send-email-david@gibson.dropbear.id.au> Date: Thu, 7 Apr 2011 10:42:34 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1302145325-4634-1-git-send-email-david@gibson.dropbear.id.au> <1302145325-4634-2-git-send-email-david@gibson.dropbear.id.au> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson Cc: aik@ozlabs.ru, qemu-devel@nongnu.org On 07.04.2011, at 05:02, David Gibson wrote: > From: Alexey Kardashevskiy >=20 > When configured with --enable-debug, the makefile does not use any > optimization and compilation of hw/ppce500_mpc8544ds.c fails because = gcc > does not remove the never called without kvm function > mpc8544_copy_soc_cell(), which will fail to link without the kvm code. I'm not sure I can follow. So the problem is that we call = kvmppc_read_host_property and don't provide a stub wrapper for it? Let's = provide a wrapper then instead of crippling the target code :) Alex