From: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 1824528] Re: qemu fails to compile on gcc 9 `error: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value [-Werror=address-of-packed-member]`
Date: Tue, 16 Apr 2019 10:16:31 -0000 [thread overview]
Message-ID: <155540979138.21524.11685983736784473474.malone@soybean.canonical.com> (raw)
In-Reply-To: 155507354518.20682.14175680260454866144.malonedeb@soybean.canonical.com
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.launchpad.net/bugs/1824528
Title:
qemu fails to compile on gcc 9 `error: taking address of packed member
of ‘struct <anonymous>’ may result in an unaligned pointer value
[-Werror=address-of-packed-member]`
Status in QEMU:
New
Bug description:
Qemu compilation fails with below error on ppc64le host with gcc 9(9.0.1 20190328)
repo: https://github.com/qemu/qemu.git
branch: master
commit e1be98540ee672ef93292b65a986055512237c35
CC net/dump.o
hw/usb/dev-mtp.c: In function ‘usb_mtp_write_metadata’:
hw/usb/dev-mtp.c:1708:36: error: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
1708 | dataset->filename);
| ~~~~~~~^~~~~~~~~~
cc1: all warnings being treated as errors
CC net/eth.o
make: *** [/home/kvmci/qemu-main/rules.mak:69: hw/usb/dev-mtp.o] Error 1
make: *** Waiting for unfinished jobs....
CC net/announce.o
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1824528/+subscriptions
next prev parent reply other threads:[~2019-04-16 10:26 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-12 12:52 [Qemu-devel] [Bug 1824528] [NEW] qemu fails to compile on gcc 9 `error: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value [-Werror=address-of-packed-member]` Satheesh Rajendran
2019-04-12 12:52 ` Satheesh Rajendran
2019-04-12 12:53 ` [Qemu-devel] [Bug 1824528] " Satheesh Rajendran
2019-04-12 12:53 ` Satheesh Rajendran
2019-04-12 13:04 ` Daniel Berrange
2019-04-12 13:04 ` Daniel Berrange
2019-04-12 13:05 ` Peter Maydell
2019-04-12 13:05 ` Peter Maydell
2019-04-16 10:16 ` Satheesh Rajendran [this message]
2019-04-16 10:16 ` Satheesh Rajendran
2019-04-16 12:28 ` Satheesh Rajendran
2019-04-16 12:28 ` Satheesh Rajendran
2019-04-18 10:21 ` Daniel Berrange
2019-04-18 10:21 ` Daniel Berrange
2019-05-09 16:35 ` Peter Maydell
2019-08-16 5:16 ` Thomas Huth
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=155540979138.21524.11685983736784473474.malone@soybean.canonical.com \
--to=sathnaga@linux.vnet.ibm.com \
--cc=1824528@bugs.launchpad.net \
--cc=qemu-devel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).