Source: linux-tools Version: 3.14-1 Severity: important Tags: patch upstream Usertags: ppc64 alpha
FTBFS on ppc64 and alpha of linux-tools is brought by using u32 and u64. http://buildd.debian-ports.org/status/package.php?p=linux-tools&suite=sid http://buildd.debian-ports.org/status/fetch.php?pkg=linux-tools&arch=ppc64&ver=3.14-1&stamp=1399098596 http://buildd.debian-ports.org/status/fetch.php?pkg=linux-tools&arch=alpha&ver=3.14-1&stamp=1398794797 I think that __u32 and __u64 should be used in kernel headers instead of u32 and u64. Here is a patch and buildlog attached. Regards, -- Hiroyuki Yamamoto A75D B285 7050 4BF9 AEDA 91AC 3A10 59C6 5203 04DC
diff -Nurd linux-tools-3.14.orig/include/linux/types.h linux-tools-3.14/include/linux/types.h --- linux-tools-3.14.orig/include/linux/types.h 2014-03-31 12:40:15.000000000 +0900 +++ linux-tools-3.14/include/linux/types.h 2014-05-06 09:02:25.000000000 +0900 @@ -127,8 +127,8 @@ * blkcnt_t is the type of the inode's block count. */ #ifdef CONFIG_LBDAF -typedef u64 sector_t; -typedef u64 blkcnt_t; +typedef __u64 sector_t; +typedef __u64 blkcnt_t; #else typedef unsigned long sector_t; typedef unsigned long blkcnt_t; @@ -143,9 +143,9 @@ #endif #ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT -typedef u64 dma_addr_t; +typedef __u64 dma_addr_t; #else -typedef u32 dma_addr_t; +typedef __u32 dma_addr_t; #endif /* dma_addr_t */ #ifdef __CHECKER__ @@ -159,9 +159,9 @@ typedef unsigned __bitwise__ oom_flags_t; #ifdef CONFIG_PHYS_ADDR_T_64BIT -typedef u64 phys_addr_t; +typedef __u64 phys_addr_t; #else -typedef u32 phys_addr_t; +typedef __u32 phys_addr_t; #endif typedef phys_addr_t resource_size_t;
linux-tools_3.14-1_ppc64.build.xz
Description: application/xz