xen/ppc: Fix tooling FTBFS due to missing definitions in public header
PATCH 1/1 xen/ppc: Fix tooling FTBFS due to missing definitions in public header
int64_aligned_t and uint64_aligned_t need to be exposed when the GNU C compiler is in use.
--- xen/include/public/arch-ppc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/include/public/arch-ppc.h +1 -1
@@ -11,7 +11,7 @@#ifndef __XEN_PUBLIC_ARCH_PPC_H__#define __XEN_PUBLIC_ARCH_PPC_H__ -#if defined(__XEN__) || defined(__XEN_TOOLS__) +#if defined(__XEN__) || defined(__XEN_TOOLS__) || defined(__GNUC__)#define int64_aligned_t int64_t __attribute__((__aligned__(8)))#define uint64_aligned_t uint64_t __attribute__((__aligned__(8)))#endif
Signature · 1 line
2.39.5
Quoted 5 lines · Timothy Pearson
int64_aligned_tanduint64_aligned_tneed to be exposed when the GNU C compiler is in use.--- xen/include/public/arch-ppc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
However, first of all this needs your own S-o-b.
Jan
Quoted 13 lines
xen/include/public/arch-ppc.h +1
-1@@ -11,7 +11,7 @@#ifndef __XEN_PUBLIC_ARCH_PPC_H__#define __XEN_PUBLIC_ARCH_PPC_H__ -#if defined(__XEN__) || defined(__XEN_TOOLS__) +#if defined(__XEN__) || defined(__XEN_TOOLS__) || defined(__GNUC__)#define int64_aligned_t int64_t __attribute__((__aligned__(8)))#define uint64_aligned_t uint64_t __attribute__((__aligned__(8)))#endif
----- Original Message -----
Quoted 13 lines
From: "Jan Beulich" <[email protected]>
To: "Timothy Pearson" <[email protected]>
Cc: "xen-devel" <[email protected]>
Sent: Wednesday, October 29, 2025 2:59:11 AM
Subject: Re: [PATCH] xen/ppc: Fix tooling FTBFS due to missing definitions in public headerQuoted 5 lines · Timothy Pearson
int64_aligned_tanduint64_aligned_tneed to be exposed when the GNU C compiler is in use.--- xen/include/public/arch-ppc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 5 lines
Reviewed-by Jan Beulich <[email protected]>However, first of all this needs your own S-o-b.
Jan
My apologies for that. Was getting a new development box set up for Xen and somehow missed that on the first two patches.