|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Failing to build qemu-xen (in dev-mtp.c) with GCC9
Hey,
openSUSE Tumbleweed has: gcc version 9.1.1 20190703
And this fails to build QEMU, like this:
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").
Regards
--
Dario Faggioli, Ph.D
http://about.me/dario.faggioli
Virtualization Software Engineer
SUSE Labs, SUSE https://www.suse.com/
-------------------------------------------------------------------
<<This happens because _I_ choose it to happen!>> (Raistlin Majere)
Attachment:
signature.asc _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |