Le 06/03/2020 à 19:24, Alistair Francis a écrit : > New y2038 safe 32-bit architectures (like RISC-V) don't support old > syscalls with a 32-bit time_t. The kernel defines new *_time64 versions > of these syscalls. Add some more #ifdefs to syscall.c in linux-user to > allow us to compile without these old syscalls. > > Signed-off-by: Alistair Francis <alistair.fran...@wdc.com> > --- > linux-user/strace.c | 2 ++ > linux-user/syscall.c | 68 +++++++++++++++++++++++++++++++++++++++++++- > 2 files changed, 69 insertions(+), 1 deletion(-) > ... > diff --git a/linux-user/syscall.c b/linux-user/syscall.c > index 8d27d10807..1a7df23440 100644 > --- a/linux-user/syscall.c > +++ b/linux-user/syscall.c ... > #if defined(TARGET_NR_mq_open) && defined(__NR_mq_open)
You can remove this line ^^ as you check individually for each syscall below. With that fixed: Reviewed-by: Laurent Vivier <laur...@vivier.eu>