The _stp_arg() function in tapset/arm/register.stp only handles arguments 1 till 4 as passed in registers, for any other argument it errors out. This causes lots of nd_syscall.exp failures. See also bug #13466 Failures with ARM EABI
Fixed in commit 029130b. We can now get arm arguments from the stack.