Skip to contentSkip to conversation

xen/ppc: Fix tooling FTBFS due to missing definitions in public header

PATCH Superseded Timothy Pearson 2 participants 3 messages Oct 28, 2025 – Oct 29, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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
index 4ca453a284..264e20b89e 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Timothy Pearson

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(-)

However, first of all this needs your own S-o-b.

Jan

Quoted 13 lines
xen/include/public/arch-ppc.h +1 -1
index 4ca453a284..264e20b89e 100644
@@ -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
#2 lore raw

----- 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 header

Quoted 5 lines · Timothy Pearson

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(-)
Quoted 5 lines

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.