Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1340112rwd; Wed, 7 Jun 2023 14:54:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5bwUo9BIFa/v/bgYz60RcLIDcekQFIRR9LQz7iSu1F2AgqkU9DuWfHjeujdXzpNI6zK8gL X-Received: by 2002:a05:6a21:3285:b0:10b:6e18:b690 with SMTP id yt5-20020a056a21328500b0010b6e18b690mr3594265pzb.32.1686174851346; Wed, 07 Jun 2023 14:54:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686174851; cv=none; d=google.com; s=arc-20160816; b=Lbult2R359Uy3OJHVrJqea0HRi80Q+9oIYMNELDcS4smH/HcR4aoUjDJBbvHKrIXoa ycbvJ/09DdE7guROBZu++dsGYKco4zY0w+JLicw+VXKauK9nvVFgrJYWFSFPjT1EcMsl 8PXkmjhQlvArriDfuCdV0oCnMPrqKactm5SwNMmYOpF5SAR8MddCOK0qguk4tq35iXcL FpjBp4YWLJHeVc+D7TUJIcv8jL4t62WKhwDFnWZezkrtYr39WqhTQVMjXN6SQ4ZVpst2 ZqCYG6wc6xBmEHskUADZrjC6R4fVe2qxGmQzw+C+AoG0OPUSr1IUo6+dAFF7/zRTXwTY 5j7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=nuFx/e8miDhhbRS7/oJnB9UAisdWHBy5Xil31uLR4WU=; b=xSpfA6Cex6sJRa5sFNxBz0bSSBZ94+L8E+GvfydefdqlsaN3kjic0HyV97QP68oSf5 SFZljmThgDab38V3h33iBR2KFjj3FIvqh8QWLhqVSyCytXD6p6EHgD3aDXBOS6VTnFav bh7lnJN24x2cGfRkiN6FryNhW6YMJN4uZoPPvXbMAxZsnlu8OGxvJ3Wk0bHQMIfdzyEb y/wlXmRBmjnMJec8DoYYvhyhYfyz6iccoAa1iZ3FRMWlo1JkG6Ji8vaxoseJjz2Usizs 7CJ5PGBD65xGcXq1Av6j4TIm13fYxduxmhK7NK3z3L0rC+1lZ43pcjYnOL7EOllcdQwp Vhmw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h26-20020a63385a000000b00535bf852410si9424811pgn.313.2023.06.07.14.53.58; Wed, 07 Jun 2023 14:54:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231410AbjFGVUX (ORCPT + 99 others); Wed, 7 Jun 2023 17:20:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231500AbjFGVUV (ORCPT ); Wed, 7 Jun 2023 17:20:21 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6A5691FFE; Wed, 7 Jun 2023 14:20:15 -0700 (PDT) Received: (from willy@localhost) by mail.home.local (8.17.1/8.17.1/Submit) id 357LJhPp013364; Wed, 7 Jun 2023 23:19:43 +0200 Date: Wed, 7 Jun 2023 23:19:43 +0200 From: Willy Tarreau To: "Paul E. McKenney" Cc: Zhangjin Wu , thomas@t-8ch.de, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: nolibc patches, still possible for 6.5 ? Message-ID: References: <5494ac68-b4b9-434f-92c1-7e197c92a4ab@paulmck-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5494ac68-b4b9-434f-92c1-7e197c92a4ab@paulmck-laptop> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Paul, On Sun, Jun 04, 2023 at 03:57:54PM -0700, Paul E. McKenney wrote: > On Sun, Jun 04, 2023 at 03:20:11PM +0200, Willy Tarreau wrote: > > Hello Paul, > > > > Thomas and Zhangjin have provided significant nolibc cleanups, and > > fixes, as well as preparation work to later support riscv32. > > > > These consist in the following main series: > > - generalization of stackprotector to other archs that were not > > previously supported (riscv, mips, loongarch, arm, arm64) > > > > - general cleanups of the makefile, test report output, deduplication > > of certain tests > > > > - slightly better compliance of some tests performed on certain syscalls > > (e.g. no longer pass (void*)1 to gettimeofday() since glibc hates it). > > > > - add support for nanoseconds in stat() and statx() > > > > - fixes for some syscalls (e.g. ppoll() has 5 arguments not 4) > > > > - fixes around limits.h and INT_MAX / INT_FAST64_MAX > > > > I rebased the whole series on top of your latest dev branch (d19a9ca3d5) > > and it works fine for all archs. > > > > I don't know if you're still planning on merging new stuff in this area > > for 6.5 or not (since I know that it involves new series of tests on your > > side as well), but given that Zhangjin will engage into deeper changes > > later for riscv32 that will likely imply to update more syscalls to use > > the time64 ones, I would prefer to split the cleanups from the hard stuff, > > but I'll let you judge based on the current state of what's pending for > > 6.5. > > > > In any case I'm putting all this here for now (not for merge yet): > > > > git://git.kernel.org/pub/scm/linux/kernel/git/wtarreau/nolibc.git 20230604-nolibc-rv32+stkp6 > > > > I'd like Thomas and Zhangjin to perform a last check to confirm they're > > OK with this final integration. > > Given that the testing converges by the end of this week, I can't see > any reason why these cannot make v6.5. (There were some kernel test > robot complaints as well, valid or not I am not sure.) After Thomas' and Zhangjin's reviews and checks, I could run a mostly complete check: - arm64, i386, x86_64 show 100% success - arm, mips: 100% success, stackprotector skipped - s390x, riscv64: run-user OK, kernel build fails (see below) - loongarch: build OK, just not executed (need to upgrade my qemu and I hate doing it late when some tests results are needed) Regarding the build failure affecting s390x and riscv64, it's a regular kernel resulting from "make defconfig". For both archs, I'm getting this failure: In file included from kernel/rcu/update.c:649: kernel/rcu/tasks.h: In function 'get_rcu_tasks_gp_kthread': CC fs/kernfs/dir.o CC security/bpf/hooks.o kernel/rcu/tasks.h:1939:16: error: 'rcu_tasks' undeclared (first use in this function) 1939 | return rcu_tasks.kthread_ptr; | ^~~~~~~~~ kernel/rcu/tasks.h:1939:16: note: each undeclared identifier is reported only once for each function it appears in kernel/rcu/tasks.h:1940:1: error: control reaches end of non-void function [-Werror=return-type] 1940 | } | ^ cc1: some warnings being treated as errors I rebased the branch on top of 6.4-rc5 and got the same. I'm building with gcc-11.3.0 from kernel.org. I'm not sure whether this comes from my build environment or recent changes to the kernel, but I'm sure I haven't seen that error during 6.3-rc cycle. However, given that Zhangjin seems to have successfully built it for riscv, there might be something odd on my side. Given that this build issue is not dependent on the selftest, I'm fine with the branch getting merged as-is, and can provide feedback on this build error if needed: git://git.kernel.org/pub/scm/linux/kernel/git/wtarreau/nolibc.git 20230606-nolibc-rv32+stkp7a Just let me know if you prefer that I resend the whole series or need more info etc, as usual. Thank you! Willy