[PATCH 0/3] Add support for RISC-V 32-bit
Alistair Francis
alistair23 at gmail.com
Mon Mar 2 22:23:24 UTC 2020
On Tue, Feb 25, 2020 at 6:21 PM Dmitry V. Levin <ldv at altlinux.org> wrote:
>
> On Fri, Feb 14, 2020 at 11:40:25AM -0800, Alistair Francis wrote:
> > This adds initial support for 32-bit RISC-V. RV32 is a 32-bit architecture
> > with a 64-bit time_t. It requires the kernel 5.4+ and the glibc support
> > is currently being upstreamed.
> >
> > This is the result from make check on RV32, so there are some errors that
> > need to be fixed:
> >
> > FAIL: clock.gen
> > FAIL: ioctl_v4l2.gen
> > FAIL: ipc_msg.gen
> > FAIL: ipc_msg-Xabbrev.gen
> > FAIL: ipc_msg-Xraw.gen
> > FAIL: ipc_msg-Xverbose.gen
> > FAIL: ipc_sem.gen
> > FAIL: ipc_sem-Xabbrev.gen
> > FAIL: ipc_sem-Xraw.gen
> > FAIL: ipc_sem-Xverbose.gen
> > FAIL: ksysent.gen
> > FAIL: mmap-Xabbrev.gen
> > FAIL: mmap-Xraw.gen
> > FAIL: mmap-Xverbose.gen
> > FAIL: mmap64.gen
> > FAIL: mmap64-Xabbrev.gen
> > FAIL: mmap64-Xraw.gen
> > FAIL: mmap64-Xverbose.gen
> > FAIL: printpath-umovestr.gen
> > FAIL: regex.gen
> > FAIL: sched.gen
> > FAIL: semop.gen
> > FAIL: semtimedop.gen
> > FAIL: sockopt-timestamp.gen
> > FAIL: trace_creds.gen
> > FAIL: trace_fstat.gen
> > FAIL: trace_fstatfs.gen
> > FAIL: trace_lstat.gen
> > FAIL: trace_personality_32.gen
> > FAIL: trace_personality_regex_32.gen
> > FAIL: trace_question.gen
> > FAIL: trace_stat.gen
> > FAIL: trace_stat_like.gen
> > FAIL: trace_statfs.gen
> > FAIL: trace_statfs_like.gen
> > FAIL: wait4.gen
> > FAIL: wait4-v.gen
> > FAIL: xetitimer.gen
> > FAIL: mmap
> > FAIL: delay
> > FAIL: filtering_syscall-syntax
> > FAIL: qual_fault-syscall
> > FAIL: qual_fault
> > FAIL: strace-k
> > FAIL: strace-k-p
>
> This means that either strace itself or its tests (or both) are broken on
> this platform. I suppose it's mostly tests because they still use such
> definitions as struct timespec. Anyway, I'd be very reluctant to merge
> something that fails the test suite so badly. Could you investigate
> or at least provide more details about these test failures, please?
Thanks for the review.
I had made the changes you requested and am working on reducing the
number of failing RV32 tests cases but I noticed you commit patch 1
and 2. Thanks for doing that.
It'll take me some time to reduce the failing RV32 test cases, when I
have a better idea on everything I will send a v2.
Alistair
>
>
> --
> ldv
More information about the Strace-devel
mailing list