strace 4.10 doesn't build on MIPS arch

Arturo Borrero Gonzalez arturo.borrero.glez at gmail.com
Fri Apr 17 10:42:55 UTC 2015


On 17 April 2015 at 11:23, Dmitry V. Levin <ldv at altlinux.org> wrote:
>
>> ../syscall.c:1798:3: error: too few arguments to function 'decode_mips_subcall'
>>    decode_mips_subcall();
>
> That's correct, it has to be decode_mips_subcall(tcp);
>

You are right. In the current HEAD, error is just:

[...]
gcc -DHAVE_CONFIG_H -I.  -I./linux/mips -I./linux/mips -I./linux
-I./linux  -Wall -Wwrite-strings -Wsign-compare -g -O2 -MT
strace-syscall.o -MD -MP -MF .deps/strace-syscall.Tpo -c -o
strace-syscall.o `test -f 'syscall.c' || echo './'`syscall.c
syscall.c: In function 'trace_syscall_entering':
syscall.c:794:3: error: too few arguments to function 'decode_mips_subcall'
   decode_mips_subcall();
   ^
syscall.c:607:1: note: declared here
 decode_mips_subcall(struct tcb *tcp)
 ^
Makefile:2371: recipe for target 'strace-syscall.o' failed
[...]

Could please generate a new patch?

best regards.


-- 
Arturo Borrero González




More information about the Strace-devel mailing list