All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Howard Spoelstra <hsp.cat7@gmail.com>,
	qemu-ppc <qemu-ppc@nongnu.org>,
	QEMU Developers <qemu-devel@nongnu.org>,
	Greg Kurz <groug@kaod.org>
Subject: Re: [Qemu-devel] Compilation error for qemu-system-ppc on Fedora 28
Date: Mon, 7 May 2018 12:51:20 -0500	[thread overview]
Message-ID: <539d5d61-8d58-0ffc-e56a-a3ddec5cea86@redhat.com> (raw)
In-Reply-To: <CABLmASE-AqqfVEZ5Q-vWBuXRTHTHhW9=c5f2PRZ34tVCMiRfdg@mail.gmail.com>

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

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

  reply	other threads:[~2018-05-07 17:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-06 10:56 [Qemu-devel] Compilation error for qemu-system-ppc on Fedora 28 Howard Spoelstra
2018-05-07 17:51 ` Eric Blake [this message]
2018-05-07 20:25   ` Howard Spoelstra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=539d5d61-8d58-0ffc-e56a-a3ddec5cea86@redhat.com \
    --to=eblake@redhat.com \
    --cc=groug@kaod.org \
    --cc=hsp.cat7@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.