From patchwork Sun Nov 18 19:16:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: tci: Fix build breakage (unresolved symbol tcg_out_tb_finalize) Date: Sun, 18 Nov 2012 09:16:26 -0000 From: Stefan Weil X-Patchwork-Id: 199907 Message-Id: <1353266186-2890-1-git-send-email-sw@weilnetz.de> To: Blue Swirl Cc: Stefan Weil , qemu-devel@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