mips test failures

Dmitry V. Levin ldv at altlinux.org
Tue Mar 3 01:30:22 UTC 2015


On Tue, Mar 03, 2015 at 04:07:45AM +0300, Dmitry V. Levin wrote:
> On Mon, Mar 02, 2015 at 07:26:08PM -0500, Mike Frysinger wrote:
> > FAIL: uio.test
> > pread64(3, "\0\0\0\0", 4, 1004211379570065135) = 4
> > preadv(3, [{"\0\0\0\0", 4}], 1, 18446744073150512879) = 4
> > pwrite64(3, "\0\0\0\0", 4, 1004211379570065135) = 4
> > pwritev(3, [{"\0\0\0\0", 4}], 1, 18446744073150512879) = 4
> 
> 
> Decoding of preadv/pwritev offsets is wrong.
> Must be a bug in print_llu_from_low_high_val().

Does this patch fix uio.test on n32?

--- a/io.c
+++ b/io.c
@@ -227,8 +227,6 @@ print_llu_from_low_high_val(struct tcb *tcp, int arg)
 			((unsigned long) tcp->u_arg[arg + 1] << current_wordsize * 8)
 			| (unsigned long) tcp->u_arg[arg]);
 # endif
-#elif defined(LINUX_MIPSN32)
-	tprintf("%llu", (unsigned long long) tcp->ext_arg[arg]);
 #else
 # ifdef X32
 	if (current_personality == 0)


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


More information about the Strace-devel mailing list