On Mon, May 7, 2018 at 7:51 PM, Eric Blake <ebl...@redhat.com> wrote:
> 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: ‘/pic@’
>> 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/pic@%llx", soc,
>> MPC8544_MPIC_REGS_OFFSET);
>>                                       ^~~~~
>
>
> Looks like this fixes it:
> https://lists.gnu.org/archive/html/qemu-devel/2018-05/msg01359.html
>

Yes it does. I already did let Greg know, but forget to reply to all. Thanks.

Best, Howard

Reply via email to