|
From: | Eric Blake |
Subject: | Re: [Qemu-ppc] [Qemu-devel] Compilation error for qemu-system-ppc on Fedora 28 |
Date: | Mon, 7 May 2018 12:51:20 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 05/06/2018 05:56 AM, Howard Spoelstra wrote:
Hi all, I get these errors compiling qemu-system-ppc on Fedora 28, gcc 8.0.1: /home/hsp/src/qemu-master/hw/ppc/e500.c: In function ‘ppce500_load_device_tree’: /home/hsp/src/qemu-master/hw/ppc/e500.c:442:37: error: ‘/address@hidden directive output may be truncated writing 5 bytes into a region of size between 1 and 128 [-Werror=format-truncation=] snprintf(mpic, sizeof(mpic), "%s/address@hidden", soc, MPC8544_MPIC_REGS_OFFSET); ^~~~~
Looks like this fixes it: https://lists.gnu.org/archive/html/qemu-devel/2018-05/msg01359.html -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |