hi, On Tue, Jul 19, 2022 at 10:15:55AM +0200, Samuel Lid�n Borell wrote:
Hi,On Tue, 19 Jul 2022 16:02:30 +0800, Bo YU <[email protected]> wrote:>Are you using qemu-user? It is interesting. In fact, I build it on real riscv64 hardware(Unmatched boards). ``` vimer@unmatched:~/build/07/31_cgit/cgit-master/tests$ uname -a Linux unmatched 5.18.0-2-riscv64 #1 SMP Debian 5.18.5-1 (2022-06-16) riscv64 GNU/Linux ``` > >That test uses strace, which in turn uses the ptrace() system call. >qemu-user does not support ptrace(). At least it didn't when I tried a couple of years ago. I just test strace cmd after see your hint, but it looks ok(If I do wrong please conrect me)The strace output looks good to me. But did you check the strace.out file, that the test creates? The test will fail if it contains this string: /path/to/some/place/that/does/not/possibly/exist Maybe something is causing that string to be printed.
Maybe I did not get your point, but now some people submit a patch: https://lists.debian.org/debian-riscv/2022/09/msg00009.html Bo
Best Regards, Samuel
-- Regards, -- Bo YU
signature.asc
Description: PGP signature
