Re: [Xen-devel] RFC disable GCC 9 -Waddress-of-packed-member

2019-11-27 Thread Stefano Stabellini
On Wed, 27 Nov 2019, Andrew Cooper wrote: > On 27/11/2019 22:44, Stefano Stabellini wrote: > > Hi all, > > > > GCC 9 introduced a new warning: address-of-packed-member. It warns when > > a pointer points to a member of a packed struct, leading to a build > > failure in Xen (cross compiling Xen on

Re: [Xen-devel] RFC disable GCC 9 -Waddress-of-packed-member

2019-11-27 Thread Andrew Cooper
On 27/11/2019 22:44, Stefano Stabellini wrote: > Hi all, > > GCC 9 introduced a new warning: address-of-packed-member. It warns when > a pointer points to a member of a packed struct, leading to a build > failure in Xen (cross compiling Xen on Arm with GCC 9.2): > > 556 trace.c: In function

[Xen-devel] RFC disable GCC 9 -Waddress-of-packed-member

2019-11-27 Thread Stefano Stabellini
Hi all, GCC 9 introduced a new warning: address-of-packed-member. It warns when a pointer points to a member of a packed struct, leading to a build failure in Xen (cross compiling Xen on Arm with GCC 9.2): 556 trace.c: In function '__trace_hypercall': 557 trace.c:826:19: error: taking