Somehow, post 0.9.1, the stat64 structure on PPC got broken. The attached patch fixes it.
-- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Index: linux-user/syscall_defs.h =================================================================== --- linux-user/syscall_defs.h (revision 4115) +++ linux-user/syscall_defs.h (revision 4116) @@ -1131,18 +1131,19 @@ unsigned int st_uid; unsigned int st_gid; unsigned long long st_rdev; - unsigned short pad0; - long long st_size; - int st_blksize; - long long st_blocks; /* Number 512-byte blocks allocated. */ - int target_st_atime; - unsigned int target_st_atime_nsec; - int target_st_mtime; - unsigned int target_st_mtime_nsec; - int target_st_ctime; - unsigned int target_st_ctime_nsec; - unsigned int __unused4; - unsigned int __unused5; + long long pad0; + long long st_size; + target_ulong st_blksize; + target_ulong pad1; + long long st_blocks; /* Number 512-byte blocks allocated. */ + target_ulong target_st_atime; + target_ulong target_st_atime_nsec; + target_ulong target_st_mtime; + target_ulong target_st_mtime_nsec; + target_ulong target_st_ctime; + target_ulong target_st_ctime_nsec; + target_ulong __unused4; + target_ulong __unused5; }; #elif defined(TARGET_M68K)