hppa stat

Dmitry V. Levin ldv at altlinux.org
Fri May 3 22:51:17 UTC 2013


On Thu, May 02, 2013 at 02:51:26PM -0400, Mike Frysinger wrote:
> On Tuesday 30 April 2013 18:22:24 Dmitry V. Levin wrote:
> > There is quite enough good stuff accumulated in strace.git since v4.7
> > to release a new version.  If you have pending patches to include
> > before the release, please submit them now.  Also, please test HEAD
> > on supported architectures.
> 
> re-testing current master branch (318b0dde768e0b2360082c50b286e003f914a49f),
> some targets are failing the new stat test
> 
> vFAIL: test; armv7l EABI linux-3.4.0-vapier glibc-2.15 gcc-4.6.3
> vFAIL: test; s390 linux-3.4.10 glibc-2.15 gcc-4.6.3
> vFAIL: test; parisc linux-3.8.0 glibc-2.14.1 gcc-4.7.2

This might fix hppa, please give it a try:

* file.c [HPPA]: Do not redefine stat64 to hpux_stat64.
---
 file.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/file.c b/file.c
index 35f2b71..4e11092 100644
--- a/file.c
+++ b/file.c
@@ -171,9 +171,6 @@ struct __old_kernel_stat {
 # define loff_t loff_t
 #endif
 
-#ifdef HPPA	/* asm-parisc/stat.h defines stat64 */
-# undef stat64
-#endif
 #define stat libc_stat
 #define stat64 libc_stat64
 #include <sys/stat.h>
@@ -183,9 +180,6 @@ struct __old_kernel_stat {
 #undef st_atime
 #undef st_mtime
 #undef st_ctime
-#ifdef HPPA
-# define stat64 hpux_stat64
-#endif
 
 #include <fcntl.h>
 #ifdef HAVE_SYS_VFS_H


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20130504/50693b1f/attachment.bin>


More information about the Strace-devel mailing list