Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp172267rwd; Wed, 7 Jun 2023 21:51:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4I0H2P/PaVT8lgCHCZB5na2gEa4o7kWpMeGfFrhnWVMIwbkeBmwgJiDKCJUF8wHgvtaqaL X-Received: by 2002:a05:6359:679c:b0:129:c378:7ae7 with SMTP id sq28-20020a056359679c00b00129c3787ae7mr1278042rwb.31.1686199896774; Wed, 07 Jun 2023 21:51:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686199896; cv=none; d=google.com; s=arc-20160816; b=vjgRRaMaDlyqkNM3QE//xLdWa8hUK3d6hDhKTlq4cD0GloUzvgLqn5CdfWXRIlSMMI hRYyF6WhuIVnp59L8HmPYBuQG5dd9Gcy8bj63a0ZoxxPCixm8DSLAxf+Pb1kLacDubz5 vhc79vWpnWfakrbdYMkLzIdQQjlcPK81j6HGArMKi7rDS8QzApWJsHd1RitYAR4D3+7u rg4G3PXVVIvUFiPr/ra2Mrsc4SCFHyFd2qPSma1bqbK3Uwgp2gDGar1lfT3G4dMsQmr8 IDIVI89dXdAUkwBT4kCbsTihxo1X4N7sb/t7J0ZPz6m31lrkKDiILIt63uJ8tVG5Kwq9 dNFw== 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=JsHrBx/epq8mR8+G/OYD+Nwh1J0sLYMwp31mysrJf10=; b=C/JIsoOQ9d6EghqOAHQCN1aKNN+V9lOOI0xkkNvrXb3yXX8EHtS91P0jSHiwnu2et5 QTofqPAVuZlVMNzkMpjPUaFl1UZqZCkoC/s3z1wX4J1oyn1UtNiwuYYRqZJ4VNd575Ea B5IVEUmYwzKT9iPJ4znr1MnRGe0N1oSoh5v8nZ1GGVQQCjdIgEFB1Pze6pCSNUlszkB8 DIySvIiic8vlLHDbec5G/ZSQ0RaZ3Z3mbQlXe71Px9xXY0VEV/lAg+u45AULRWNOB8sX tMOOVecxwDSY9Uw+tZR6DgXZkg+/bEQoasbu9P1WQF6J7t6xyht4DXNnMS3HwZlSUaOD DppA== 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 w27-20020a63af1b000000b00543ad8b8807si352224pge.826.2023.06.07.21.51.22; Wed, 07 Jun 2023 21:51:36 -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 S233991AbjFHEgs (ORCPT + 99 others); Thu, 8 Jun 2023 00:36:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233629AbjFHEgp (ORCPT ); Thu, 8 Jun 2023 00:36:45 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 321622705; Wed, 7 Jun 2023 21:36:42 -0700 (PDT) Received: (from willy@localhost) by mail.home.local (8.17.1/8.17.1/Submit) id 3584aXeb015730; Thu, 8 Jun 2023 06:36:33 +0200 Date: Thu, 8 Jun 2023 06:36:33 +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> <66c0e446-846c-47a6-ab60-948dc0118cec@paulmck-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <66c0e446-846c-47a6-ab60-948dc0118cec@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 On Wed, Jun 07, 2023 at 03:58:01PM -0700, Paul E. McKenney wrote: > > 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. > > That line of code is in rcu/dev but not in mainline yet. In fact, it > is not yet in -next. > > But it is a bug. One that my Kconfig laziness hid from me. Easy fix, > but it is clearly time for me to stop being lazy about that part of the > Kconfig setup. :-/ > > So thank you for reporting it! Great, I'm happy that it cuold be used to spot a real bug ;-) > Longer term, both to avoid you having to deal with RCU bugs and to make > it easier to have multiple administrative nolibc maintainers, it might > work better for you to base your stack on vX.y-rc1. That way, I could > just pull directly from your tree. (...) > This is something to think about for some upcoming cycle, given that > we are already pretty much set up for the upcoming merge window. Yes I think it makes sense now. Initially tiny changes had implications on rcutorture and needed to be properly sequenced but that's no longer the case and we can indeed simplify this. And it will force us to gather all patches in one single series, which is also easier to review/discuss. So that works for me. Thanks! Willy