From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bu0XM-00011d-Pn for qemu-devel@nongnu.org; Tue, 11 Oct 2016 13:08:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bu0XH-0003tl-HN for qemu-devel@nongnu.org; Tue, 11 Oct 2016 13:08:20 -0400 References: <20161011163202.19720-1-cov@codeaurora.org> From: Christopher Covington Message-ID: <2af79c93-3c45-3f61-60d7-39e04aa15f2b@codeaurora.org> Date: Tue, 11 Oct 2016 13:08:01 -0400 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] hw/intc/arm_gic_kvm: Fix build on aarch64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-arm , QEMU Developers , Shanker Donthineni , Andrew Jones On 10/11/2016 12:43 PM, Peter Maydell wrote: > On 11 October 2016 at 17:32, Christopher Covington wrote: >> Remove unused debugging code to fix native building on aarch64. Without >> this change, the following -Werr output inhibits make from completing. >> >> qemu/hw/intc/arm_gic_kvm.c:38:18: error: debug_gic_kvm defined but not used [-Werror=unused-const-variable=] >> static const int debug_gic_kvm = 0; >> ^~~~~~~~~~~~~ >> cc1: all warnings being treated as errors >> qemu/rules.mak:60: recipe for target 'hw/intc/arm_gic_kvm.o' failed >> make[1]: *** [hw/intc/arm_gic_kvm.o] Error 1 >> Makefile:205: recipe for target 'subdir-aarch64-softmmu' failed > > This builds for me on aarch64, so presumably this is a "newer > compiler is more picky" warning. >>From Fedora 25: gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2) > In any case, since we don't use the DPRINTF macro we may as well > dump it (we should use tracepoints if we want to add interesting > debug-logging in future anyhow). > > Reviewed-by: Peter Maydell Thanks Peter! Cov -- Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.