From: Stefan Weil Date: Sun, 18 Nov 2012 19:16:26 +0000 (+0100) Subject: tci: Fix build breakage (unresolved symbol tcg_out_tb_finalize) X-Git-Tag: qemu-xen-4.3.0-rc1~36 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=13586813446054aeff71b359aa627e201094375c;p=qemu-upstream-4.3-testing.git tci: Fix build breakage (unresolved symbol tcg_out_tb_finalize) 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 Signed-off-by: Blue Swirl --- diff --git a/configure b/configure index e6c571272..780b19afd 100755 --- a/configure +++ b/configure @@ -3891,7 +3891,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