[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Failing to build qemu-xen (in dev-mtp.c) with GCC9
On Fri, Jul 26, 2019 at 02:24:23AM +0200, Dario Faggioli wrote: > Hey, Hi, > openSUSE Tumbleweed has: gcc version 9.1.1 20190703 > > And this fails to build QEMU, like this: I'm sorry I have to ask, which version of QEMU or qemu-xen are speaking about? I'm pretty sure it's unstable, but it's better to ask :-). > CC hw/watchdog/wdt_ib700.o > /build/tools/qemu-xen-dir/hw/usb/dev-mtp.c: In function > ‘usb_mtp_write_metadata’: > /build/tools/qemu-xen-dir/hw/usb/dev-mtp.c:1715:36: error: taking address of > packed member of ‘struct <anonymous>’ may result in an unaligned pointer > value [-Werror=address-of-packed-member] > 1715 | dataset->filename); > | ~~~~~~~^~~~~~~~~~ > > This seems to be fixed, for me, if I apply upstream patch 1259f27ec2 > ("usb-mtp: fix alignment of access of ObjectInfo filename field"). Thanks, I'll probably apply that to qemu-xen unstable. -- Anthony PERARD _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |