From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgNCg-0002Rj-1W for qemu-devel@nongnu.org; Sun, 17 Jun 2012 17:40:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SgNCe-0007Oq-5F for qemu-devel@nongnu.org; Sun, 17 Jun 2012 17:40:13 -0400 Received: from mail-ee0-f45.google.com ([74.125.83.45]:46313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgNCd-0007Ng-ST for qemu-devel@nongnu.org; Sun, 17 Jun 2012 17:40:12 -0400 Received: by eekd41 with SMTP id d41so1885215eek.4 for ; Sun, 17 Jun 2012 14:40:08 -0700 (PDT) Message-ID: <4FDE4E02.7020208@gmail.com> Date: Mon, 18 Jun 2012 01:37:06 +0400 From: Max Filippov MIME-Version: 1.0 References: <1339396324-21368-1-git-send-email-proljc@gmail.com> In-Reply-To: <1339396324-21368-1-git-send-email-proljc@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v4 00/16] QEMU OpenRISC support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jia Liu Cc: qemu-devel@nongnu.org On 06/11/2012 10:31 AM, Jia Liu wrote: > This is the OpenCores OpenRISC 1200 support for QEMU. > Full implementation of the system-model and linux-user-model support. Hi Jia. When I configure the tree with openrisc patches for the debug build: $ configure --target-list='or32-softmmu,or32-linux-user' --enable-debug the build fails due to multiple helper function argument type violations: ... qemu/target-openrisc/translate.c: In function ‘dec_calc’: qemu/target-openrisc/translate.c:441:17: error: incompatible type for argument 1 of ‘tcg_temp_free_i32’ qemu/tcg/tcg.h:443:6: note: expected ‘TCGv_i32’ but argument is of type ‘TCGv_i64’ qemu/target-openrisc/translate.c:442:17: error: incompatible type for argument 1 of ‘tcg_temp_free_i32’ qemu/tcg/tcg.h:443:6: note: expected ‘TCGv_i32’ but argument is of type ‘TCGv_i64’ qemu/target-openrisc/translate.c:443:17: error: incompatible type for argument 1 of ‘tcg_gen_shri_i64’ qemu/tcg/tcg-op.h:1183:20: note: expected ‘TCGv_i64’ but argument is of type ‘TCGv_i32’ qemu/target-openrisc/translate.c:452:17: error: incompatible type for argument 1 of ‘tcg_temp_free_i32’ qemu/tcg/tcg.h:443:6: note: expected ‘TCGv_i32’ but argument is of type ‘TCGv_i64’ qemu/target-openrisc/translate.c: In function ‘dec_misc’: qemu/target-openrisc/translate.c:662:13: error: incompatible type for argument 1 of ‘tcg_gen_ext_i32_i64’ qemu/tcg/tcg-op.h:1597:20: note: expected ‘TCGv_i64’ but argument is of type ‘TCGv_i32’ qemu/target-openrisc/translate.c:663:13: error: incompatible type for argument 1 of ‘tcg_gen_concat_i32_i64’ qemu/tcg/tcg-op.h:1749:20: note: expected ‘TCGv_i64’ but argument is of type ‘TCGv_i32’ qemu/target-openrisc/translate.c:664:13: error: incompatible type for argument 1 of ‘tcg_gen_add_i64’ qemu/tcg/tcg-op.h:1104:20: note: expected ‘TCGv_i64’ but argument is of type ‘TCGv_i32’ qemu/target-openrisc/translate.c:664:13: error: incompatible type for argument 2 of ‘tcg_gen_add_i64’ qemu/tcg/tcg-op.h:1104:20: note: expected ‘TCGv_i64’ but argument is of type ‘TCGv_i32’ qemu/target-openrisc/translate.c:664:13: error: incompatible type for argument 3 of ‘tcg_gen_add_i64’ qemu/tcg/tcg-op.h:1104:20: note: expected ‘TCGv_i64’ but argument is of type ‘TCGv_i32’ qemu/target-openrisc/translate.c:665:13: error: incompatible type for argument 2 of ‘tcg_gen_trunc_i64_i32’ qemu/tcg/tcg-op.h:1583:20: note: expected ‘TCGv_i64’ but argument is of type ‘TCGv_i32’ ... -- Thanks. -- Max