[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL v3 00/55] pc, pci, virtio: new features, cleanups
From: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] [PULL v3 00/55] pc, pci, virtio: new features, cleanups, fixes |
Date: |
Fri, 22 Jul 2016 09:13:37 +0800 |
User-agent: |
Mutt/1.6.1 (2016-04-27) |
On Thu, 07/21 11:45, Peter Maydell wrote:
> On 21 July 2016 at 11:36, Peter Xu <address@hidden> wrote:
> > On Thu, Jul 21, 2016 at 10:20:38AM +0100, Peter Maydell wrote:
> >> Fails to build:
> >>
> >> /home/petmay01/linaro/qemu-for-merges/hw/i386/intel_iommu.c: In
> >> function ‘vtd_remap_irq_get’:
> >> /home/petmay01/linaro/qemu-for-merges/hw/i386/intel_iommu.c:2092:5:
> >> error: missing braces around initializer [-Werror=missing-braces]
> >> VTD_IRTE irte = { 0 };
> >> ^
> >> /home/petmay01/linaro/qemu-for-merges/hw/i386/intel_iommu.c:2092:5:
> >> error: (near initialization for ‘irte.<anonymous>’)
> >> [-Werror=missing-braces]
>
> > Is this a compiler specific issue? Since this can pass compile test on
> > my machine (both local build, or make docker-test). Do you have any
> > suggestion on how we can avoid this kind of errors in the future?
>
> It failed on several of my test builds, not just one, but these
> things are tricky to avoid if they don't happen on all compilers.
> In this case I think it is a compiler bug:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119
> so you'll only see it with an older compiler.
Could you name the distro and gcc version? If it's worth to keep the buggy
compiler happy, it probably can be added as a docker test. :)
Fam
- [Qemu-devel] [PULL v3 49/55] virtio-net: Wrap in vmstate, (continued)
- [Qemu-devel] [PULL v3 49/55] virtio-net: Wrap in vmstate, Michael S. Tsirkin, 2016/07/20
- [Qemu-devel] [PULL v3 50/55] virtio-serial: Wrap in vmstate, Michael S. Tsirkin, 2016/07/20
- [Qemu-devel] [PULL v3 51/55] 9pfs: Wrap in vmstate, Michael S. Tsirkin, 2016/07/20
- [Qemu-devel] [PULL v3 52/55] virtio-input: Wrap in vmstate, Michael S. Tsirkin, 2016/07/20
- [Qemu-devel] [PULL v3 53/55] virtio-gpu: Use migrate_add_blocker for virgl migration blocking, Michael S. Tsirkin, 2016/07/20
- [Qemu-devel] [PULL v3 54/55] virtio-gpu: Wrap in vmstate, Michael S. Tsirkin, 2016/07/20
- [Qemu-devel] [PULL v3 55/55] virtio: Update migration docs, Michael S. Tsirkin, 2016/07/20
- Re: [Qemu-devel] [PULL v3 00/55] pc, pci, virtio: new features, cleanups, fixes, Peter Maydell, 2016/07/21
- Re: [Qemu-devel] [PULL v3 00/55] pc, pci, virtio: new features, cleanups, fixes, Peter Xu, 2016/07/21
- Re: [Qemu-devel] [PULL v3 00/55] pc, pci, virtio: new features, cleanups, fixes, Peter Maydell, 2016/07/21
- Re: [Qemu-devel] [PULL v3 00/55] pc, pci, virtio: new features, cleanups, fixes,
Fam Zheng <=
- Re: [Qemu-devel] [PULL v3 00/55] pc, pci, virtio: new features, cleanups, fixes, Peter Maydell, 2016/07/22
- Re: [Qemu-devel] [PULL v3 00/55] pc, pci, virtio: new features, cleanups, fixes, Fam Zheng, 2016/07/24
- Re: [Qemu-devel] [PULL v3 00/55] pc, pci, virtio: new features, cleanups, fixes, Peter Maydell, 2016/07/25
- Re: [Qemu-devel] [PULL v3 00/55] pc, pci, virtio: new features, cleanups, fixes, Fam Zheng, 2016/07/25
- Re: [Qemu-devel] [PULL v3 00/55] pc, pci, virtio: new features, cleanups, fixes, Peter Maydell, 2016/07/25
- Re: [Qemu-devel] [PULL v3 00/55] pc, pci, virtio: new features, cleanups, fixes, Fam Zheng, 2016/07/25