id = 1319 title = "Build warnings when building qemu with 'disable-tcg' for ppc64-softmmu target" state = "closed" created_at = "2022-11-17T02:01:32.621Z" closed_at = "2022-11-17T20:07:38.902Z" labels = [] url = "https://gitlab.com/qemu-project/qemu/-/issues/1319" host-os = "\"CentOS Stream 9\"" host-arch = "ppc64le" qemu-version = "7.1.91" guest-os = "NA" guest-arch = "(ppc64le" description = """Building recent upstream qemu (HEAD 2c8311241d) for 'ppc64-softmmu' target is failing due to following build warnings: ../target/ppc/cpu_init.c:7018:13: error: 'ppc_restore_state_to_opc' defined but not used [-Werror=unused-function] 7018 | static void ppc_restore_state_to_opc(CPUState *cs, """ reproduce = """1. $ git clone --recurse-submodules https://gitlab.com/qemu-project/qemu.git 2. ./configure --target-list=ppc64-softmmu --disable-tcg && make""" additional = """Patch for this issue has been posted and reviewed at https://lore.kernel.org/all/20221116131743.658708-1-vaibhav@linux.ibm.com/"""