From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 18445 invoked from network); 19 Jul 2022 08:16:10 -0000 Received: from lists.zx2c4.com (165.227.139.114) by inbox.vuxu.org with ESMTPUTF8; 19 Jul 2022 08:16:10 -0000 Received: by lists.zx2c4.com (OpenSMTPD) with ESMTP id d142e040; Tue, 19 Jul 2022 08:15:58 +0000 (UTC) Return-Path: Received: from smtpout-53.fbg1.glesys.net (smtpout-53.fbg1.glesys.net [2a02:751:100:2::53]) by lists.zx2c4.com (OpenSMTPD) with ESMTPS id edd9cd08 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Tue, 19 Jul 2022 08:15:56 +0000 (UTC) X-Sender-ID: 032e621a-073b-11ed-839b-3b1133bf5501 Date: Tue, 19 Jul 2022 10:15:55 +0200 From: Samuel =?ISO-8859-1?Q?Lid=E9n?= Borell To: Bo YU Cc: cgit@lists.zx2c4.com Subject: Re: cgit build on riscv64 machine Message-Id: <20220719101555.541fe80469a251350d237211@kodafritt.se> In-Reply-To: <20220719080230.5avsx37o756ha6pv@debian> References: <20220719093856.03adef0e08d4cb7364b9700f@kodafritt.se> <20220719080230.5avsx37o756ha6pv@debian> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; aarch64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: cgit@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: List for cgit developers and users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: cgit-bounces@lists.zx2c4.com Sender: "CGit" Hi, On Tue, 19 Jul 2022 16:02:30 +0800, Bo YU 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. Best Regards, Samuel