From patchwork Sun Nov 18 19:16:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 199907 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 164EC2C008E for ; Mon, 19 Nov 2012 06:16:43 +1100 (EST) Received: from localhost ([::1]:42847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaAMD-0003In-6T for incoming@patchwork.ozlabs.org; Sun, 18 Nov 2012 14:16:41 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaAM3-0003IM-Oa for qemu-devel@nongnu.org; Sun, 18 Nov 2012 14:16:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaAM0-0002uH-Ln for qemu-devel@nongnu.org; Sun, 18 Nov 2012 14:16:31 -0500 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:42811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaAM0-0002uD-F3 for qemu-devel@nongnu.org; Sun, 18 Nov 2012 14:16:28 -0500 Received: from localhost (v220110690675601.yourvserver.net.local [127.0.0.1]) by v220110690675601.yourvserver.net (Postfix) with ESMTP id 74744728002F; Sun, 18 Nov 2012 20:16:27 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at weilnetz.de Received: from v220110690675601.yourvserver.net ([127.0.0.1]) by localhost (v220110690675601.yourvserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kjCt4MxuThWO; Sun, 18 Nov 2012 20:16:26 +0100 (CET) Received: by v220110690675601.yourvserver.net (Postfix, from userid 1000) id BE89D728003A; Sun, 18 Nov 2012 20:16:26 +0100 (CET) From: Stefan Weil To: Blue Swirl Date: Sun, 18 Nov 2012 20:16:26 +0100 Message-Id: <1353266186-2890-1-git-send-email-sw@weilnetz.de> X-Mailer: git-send-email 1.7.10.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 78.47.199.172 Cc: Stefan Weil , qemu-devel@nongnu.org Subject: [Qemu-devel] [PATCH] tci: Fix build breakage (unresolved symbol tcg_out_tb_finalize) X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Commit 32761257c0b9fa7ee04d2871a6e48a41f119c469 enabled qemu_ld/st optimization unconditionally for some hosts. The TCG interpreter still does not support this kind of optimization. Therefore builds with TCI fail with an unresolved symbol tcg_out_tb_finalize. This is fixed here. Signed-off-by: Stefan Weil --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 19775bc..7cf990c 100755 --- a/configure +++ b/configure @@ -3908,7 +3908,10 @@ upper() { case "$cpu" in i386|x86_64|ppc) - echo "CONFIG_QEMU_LDST_OPTIMIZATION=y" >> $config_target_mak + # The TCG interpreter currently does not support ld/st optimization. + if test "$tcg_interpreter" = "no" ; then + echo "CONFIG_QEMU_LDST_OPTIMIZATION=y" >> $config_target_mak + fi ;; esac