Hi Jan, > On Sep 1, 2023, at 15:26, Jan Beulich <jbeul...@suse.com> wrote: > > This using a GNU extension, it may not be exposed in general, just like > is done on x86. External consumers need to make this type available up > front (just like we expect {,u}int<N>_t to be supplied) - unlike on x86 > the type is actually needed outside of tools-only interfaces, because > guest handle definitions use it. > > While there also add underscores around "aligned". > > Signed-off-by: Jan Beulich <jbeul...@suse.com> > > --- a/xen/include/public/arch-arm.h > +++ b/xen/include/public/arch-arm.h > @@ -152,8 +152,10 @@ > > #define XEN_HYPERCALL_TAG 0XEA1 > > -#define int64_aligned_t int64_t __attribute__((aligned(8))) > -#define uint64_aligned_t uint64_t __attribute__((aligned(8))) > +#if defined(__XEN__) || defined(__XEN_TOOLS__) > +#define int64_aligned_t int64_t __attribute__((__aligned__(8))) > +#define uint64_aligned_t uint64_t __attribute__((__aligned__(8))) > +#endif
Today I tested this patch by our CI (on top of today’s staging), and it looks like below error will happen for both arm32 and arm64 Yocto build: The arm32 failure: https://pastebin.com/raw/S7ZqmG6z The arm64 failure: https://pastebin.com/raw/HMFh5tuS Kind regards, Henry > > #ifndef __ASSEMBLY__ > #define ___DEFINE_XEN_GUEST_HANDLE(name, type) \ >