** Changed in: qemu
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1824528
Title:
qemu fails to compile on gcc 9 `error: taking address of packed member
The fixes for this issue in dev-mtp.c are now in QEMU git master and
will be in the 4.1 release.
** Changed in: qemu
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.
Fixed in
https://lists.gnu.org/archive/html/qemu-devel/2019-04/msg02524.html
** Changed in: qemu
Status: New => In Progress
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1824528
Title:
qem
** Tags added: compilation gcc9
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1824528
Title:
qemu fails to compile on gcc 9 `error: taking address of packed member
of ‘struct ’ may result in an u
Sure, Thanks, using the workaround to proceed.
Good if each commit goes through a automated build test across different
platforms vs gcc versions.
Regards,
-Satheesh.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.laun
As a workaround, the simplest thing is to configure with --disable-
werror, which will reduce these from errors to warnings. (This is the
default if you're building from one of our release tarballs, but for
builds from git we default to making all warnings into errors so we
catch and fix them quick
This struct represents the MTP protocol wire format so *must* be marked
packed.
There unfortunately quite a few flaws in this MTP code area, so fixing
the gcc warning is not straightforward.
https://lists.gnu.org/archive/html/qemu-devel/2019-03/msg07763.html
--
You received this bug notificatio
Tried to patch as below and it compiles fine, not sure if this is right
fix though,
# git diff
diff --git a/hw/usb/dev-mtp.c b/hw/usb/dev-mtp.c
index ebf210f..7d512e5 100644
--- a/hw/usb/dev-mtp.c
+++ b/hw/usb/dev-mtp.c
@@ -231,7 +231,7 @@ typedef struct {
char date_modified[0]; /*unused*/