e2fsprogs conflict with asm-sparc64/types.h
When building e2fsprogs, it checks to see if long long is valid on the platform, and detects that it is for sparc64. Thus, it defines:
#define __S64_TYPEDEF __signed__ long long
#define __U64_TYPEDEF unsigned long long
Unfortunately, that conflicts with asm-sparc64/types.h, which says only "long", not "long long" for these typedefs.
Is the kernel wrong? Or is e2fsprogs?
Thanks in advance,
~spot
From: "Tom \"spot\" Callaway" <[email protected]>
Date: Sat, 22 Sep 2007 17:21:08 -0400
Quoted 10 lines
When building e2fsprogs, it checks to see if long long is valid on the platform, and detects that it is for sparc64. Thus, it defines:
#define
__S64_TYPEDEF__signed__long long
#define__U64_TYPEDEFunsigned long longUnfortunately, that conflicts with
asm-sparc64/types.h, which says only "long", not "long long" for these typedefs.Is the kernel wrong? Or is e2fsprogs?
The kernel is right.
Several other 64-bit platforms happen to choose to use "long long" for the 64-bit types, but this is absolutely not universal and is a per-platform decision to make.