From: George Dunlap <george.dunlap@citrix.com>
To: Jan Beulich <JBeulich@suse.com>, Roger Pau Monne <roger.pau@citrix.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>,
Wei Liu <wei.liu2@citrix.com>,
George Dunlap <George.Dunlap@eu.citrix.com>,
Andrew Cooper <andrew.cooper3@citrix.com>,
IanJackson <ian.jackson@eu.citrix.com>, Tim Deegan <tim@xen.org>,
xen-devel@lists.xenproject.org
Subject: Re: [PATCH 1/2] build/clang: remove the address-of-packed-member warning
Date: Mon, 6 Mar 2017 14:36:56 +0000 [thread overview]
Message-ID: <73ce9349-b593-8dbe-2aa6-79cb977b4014@citrix.com> (raw)
In-Reply-To: <58BD79270200007800140856@prv-mh.provo.novell.com>
On 06/03/17 13:58, Jan Beulich wrote:
>>>> On 06.03.17 at 13:31, <roger.pau@citrix.com> wrote:
>> --- a/Config.mk
>> +++ b/Config.mk
>> @@ -216,6 +216,7 @@ $(call cc-option-add,HOSTCFLAGS,HOSTCC,-Wdeclaration-after-statement)
>> $(call cc-option-add,CFLAGS,CC,-Wdeclaration-after-statement)
>> $(call cc-option-add,CFLAGS,CC,-Wno-unused-but-set-variable)
>> $(call cc-option-add,CFLAGS,CC,-Wno-unused-local-typedefs)
>> +$(call cc-option-add,CFLAGS,CC,-Wno-address-of-packed-member)
>
> Actually, having thought some more about this, the warning
> should be suppressed only for x86 imo. ARM wants aligned
> accesses after all.
Looking at Roger's complaint, it appears that the warning is issued even
if the member actually is aligned, if *on some unknown system*, it might
someday be un-aligned.
-George
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-03-06 14:37 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-06 12:31 [PATCH 0/2] Build fixes for clang 4.0 Roger Pau Monne
2017-03-06 12:31 ` [PATCH 1/2] build/clang: remove the address-of-packed-member warning Roger Pau Monne
2017-03-06 12:47 ` Jan Beulich
2017-03-06 13:41 ` Andrew Cooper
2017-03-06 13:58 ` Jan Beulich
2017-03-06 14:36 ` George Dunlap [this message]
2017-03-06 15:16 ` Tim Deegan
2017-03-06 15:33 ` Andrew Cooper
2017-03-06 12:31 ` [PATCH 2/2] build/clang: fix XSM dummy policy when using clang 4.0 Roger Pau Monne
2017-03-06 12:52 ` Jan Beulich
2017-03-06 14:42 ` Boris Ostrovsky
2017-03-06 14:54 ` Jan Beulich
2017-03-06 15:07 ` Boris Ostrovsky
2017-03-06 15:21 ` Roger Pau Monne
2017-03-11 0:42 ` Daniel De Graaf
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=73ce9349-b593-8dbe-2aa6-79cb977b4014@citrix.com \
--to=george.dunlap@citrix.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=roger.pau@citrix.com \
--cc=sstabellini@kernel.org \
--cc=tim@xen.org \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.