Received: from eggs.gnu.org ([2001:4830:134:3::10]:49125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZI9L-0006HE-JM for qemu-devel@nongnu.org; Wed, 10 Jan 2018 10:18:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZI9I-00050b-CG for qemu-devel@nongnu.org; Wed, 10 Jan 2018 10:18:43 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:40310) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZI9I-0004zT-5M for qemu-devel@nongnu.org; Wed, 10 Jan 2018 10:18:40 -0500 Received: by mail-wm0-f68.google.com with SMTP id f206so27679284wmf.5 for ; Wed, 10 Jan 2018 07:18:40 -0800 (PST) References: <1515433749-5839-1-git-send-email-jcmvbkbc@gmail.com> From: Paolo Bonzini Message-ID: <3fb38502-b0d6-7eda-be09-8d98902eeebe@redhat.com> Date: Wed, 10 Jan 2018 16:18:35 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL v2 00/16] target/xtensa updates List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Max Filippov Cc: QEMU Developers On 09/01/2018 18:44, Peter Maydell wrote: > On 8 January 2018 at 17:49, Max Filippov wrote: >> Hi Peter, >> >> please pull the following batch of updates for the target/xtensa. >> Changes v1->v2: >> - Drop no longer used function option_bits_enabled. >> >> The following changes since commit 0a0dc59d27527b78a195c2d838d28b7b49e5a639: >> >> Update version for v2.11.0 release (2017-12-13 14:31:09 +0000) >> >> are available in the git repository at: >> >> git://github.com/OSLL/qemu-xtensa.git tags/20180108-xtensa >> >> for you to fetch changes up to 7ffb3123b24e42a3a94e865434b4180025b9f9ca: >> >> target/xtensa: implement disassembler (2018-01-08 09:37:32 -0800) >> >> ---------------------------------------------------------------- >> target/xtensa updates: >> >> - add libisa to the xtensa target; >> - change xtensa instruction translator to use it; >> - switch existing xtensa cores to use it; >> - add support for a number of instructions: salt/saltu, const16, >> GPIO32 group, debug mode and MMU-related; >> - add disassembler for Xtensa. > > /Users/pm215/src/qemu-for-merges/target/xtensa/helper.c:63:26: error: > implicit declaration of function 'g_malloc_n' is invalid in C99 > [-Werror,-Wimplicit-function-declaration] > config->opcode_ops = g_malloc_n(opcodes, sizeof(XtensaOpcodeOps *)); > ^ > > g_malloc_n() only came in in glib 2.24, so this doesn't build on > glib 2.22 (our minimum required version). And g_new is better anyway in this particular case. Paolo