From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ab6ZR-0003Fy-93 for Qemu-devel@nongnu.org; Wed, 02 Mar 2016 08:12:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ab6ZO-0005Fx-25 for Qemu-devel@nongnu.org; Wed, 02 Mar 2016 08:12:05 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:37213) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ab6ZN-0005Fk-T7 for Qemu-devel@nongnu.org; Wed, 02 Mar 2016 08:12:02 -0500 From: Christopher Covington Message-ID: <56D6E69E.20203@codeaurora.org> Date: Wed, 2 Mar 2016 08:11:58 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Build breakage: error: "ARM_cpsr" redefined List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers , Peter Maydell Hi, Attempting to build QEMU on aarch64, I got the following error. === ./configure --target-list=arm-softmmu,aarch64-softmmu,arm-linux-user,aarch64-linux-user make [...] CC arm-linux-user/exec.o In file included from /root/qemu/linux-user/qemu.h:16:0, from /root/qemu/exec.c:42: /root/qemu/linux-user/arm/target_syscall.h:11:0: error: "ARM_cpsr" redefined [-Werror] #define ARM_cpsr uregs[16] ^ In file included from /usr/include/sys/user.h:25:0, from /usr/include/sys/procfs.h:34, from /usr/include/sys/ucontext.h:26, from /usr/include/signal.h:360, from /root/qemu/include/qemu/osdep.h:79, from /root/qemu/exec.c:19: /usr/include/asm/ptrace.h:64:0: note: this is the location of the previous definition #define ARM_cpsr pstate ^ In file included from /root/qemu/linux-user/qemu.h:16:0, from /root/qemu/exec.c:42: /root/qemu/linux-user/arm/target_syscall.h:12:0: error: "ARM_pc" redefined [-Werror] #define ARM_pc uregs[15] ^ In file included from /usr/include/sys/user.h:25:0, from /usr/include/sys/procfs.h:34, from /usr/include/sys/ucontext.h:26, from /usr/include/signal.h:360, from /root/qemu/include/qemu/osdep.h:79, from /root/qemu/exec.c:19: /usr/include/asm/ptrace.h:65:0: note: this is the location of the previous definition #define ARM_pc pc ^ In file included from /root/qemu/linux-user/qemu.h:16:0, from /root/qemu/exec.c:42: /root/qemu/linux-user/arm/target_syscall.h:14:0: error: "ARM_sp" redefined [-Werror] #define ARM_sp uregs[13] ^ In file included from /usr/include/sys/user.h:25:0, from /usr/include/sys/procfs.h:34, from /usr/include/sys/ucontext.h:26, from /usr/include/signal.h:360, from /root/qemu/include/qemu/osdep.h:79, from /root/qemu/exec.c:19: /usr/include/asm/ptrace.h:66:0: note: this is the location of the previous definition #define ARM_sp sp ^ cc1: all warnings being treated as errors make[1]: *** [exec.o] Error 1 make: *** [subdir-arm-linux-user] Error 2 === git log commit ed6128ebbdd7cd885d39980659dad4b5c8ae8158 Merge: 9c279be 4ade054 Author: Peter Maydell Date: Tue Mar 1 15:54:03 2016 +0000 === Thanks, Christopher Covington -- Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project