Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1798567pxm; Fri, 4 Mar 2022 03:52:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJzI/HuYe+a5xxJL840CUlHbij+YDXoLV9fubinKLRWfEyvslDXlSUvnkIGYkpJhVqwTVQbn X-Received: by 2002:a17:903:2285:b0:151:4b38:298e with SMTP id b5-20020a170903228500b001514b38298emr30650760plh.36.1646394722450; Fri, 04 Mar 2022 03:52:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646394722; cv=none; d=google.com; s=arc-20160816; b=LKk08A6LWjqHz6GxXMA9ZkbDLMzTtdmf6Fw3SYJHJJ3P2csSDLBjdjA8y5t99xKMnI ev6YRbmqQ/EgMkWLww9YKxFOzWLMfMgiVDYG1wjJRt8IQb1mstXwyGjaOJObHoxmNND3 3P4HmmtYj1MmyKNLbs+MrKgNOH+4h60lsWmsdTb7guzoyL1PJOyeRSSn4T2PxAT9lYu2 5JCNVBDl06iDMtaRiN0v1DvQbQ9EmREdfn1g6MJTlEo9IND5GZbgMOEshbvRaY6x17Br sRr8SFUpMnriob7Qhnuu4r0TopZb7OdG1J+zNF57qBLzoCMC1qCCPMzG6erMZT8IAcGN lU1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:reply-to:in-reply-to:references:mime-version :dkim-signature; bh=Em4vIFtbnAfHzqImau3wflNwYLrEwWXRRPlRb6fFAik=; b=Atp3H/avVrx6yqu0TRzq0wTec5pBWHQSq/cjokNdL8UsTp8g+bsypuQcWtrBAYH//I IwyfnexdNy+toh8QN4Rg8HQM0bF9qbsOtQt0p1qH0F3hp+CRKx5Y+oAjD9+uAmxy3SOM TEzA7NXQfv27jrykFZlz9syPnjFzcQEHSUAy/T8wyhXK8c2R0ooXhuVPN37bkQnQIpTp yhLgixaweTf0AACjX41UjP/WsCzlnjL4XQWq/C5ZxOZGIIpkR3/Kl0H0ihtgUdEhdUWl jmNHp+SORj0CPuy+Los23BEaUjV0EMOVQ4JCIswHqSAF8MXLMt/s/xgYJUWaM4sVllGF 4N8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AQ+vItkC; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g13-20020a63b14d000000b003783b1e3ca2si4667890pgp.337.2022.03.04.03.51.46; Fri, 04 Mar 2022 03:52:02 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AQ+vItkC; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235477AbiCDHTm (ORCPT + 99 others); Fri, 4 Mar 2022 02:19:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229934AbiCDHTk (ORCPT ); Fri, 4 Mar 2022 02:19:40 -0500 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE0F3EDF3D; Thu, 3 Mar 2022 23:18:52 -0800 (PST) Received: by mail-il1-x12c.google.com with SMTP id q4so5950622ilt.0; Thu, 03 Mar 2022 23:18:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=Em4vIFtbnAfHzqImau3wflNwYLrEwWXRRPlRb6fFAik=; b=AQ+vItkCK/KQHEUSzHxM2ukwePVCTPXqZLpjiIIjLSzXBM/fx496O/ME8K9a7ToBPr Zq/k+3ePgMPSe6/WF3bnzmmZU5Ug/g+LbCGqp5NhR3bRqIRxVh+Y8849i/zi+5H2xKa+ WvKzoo/YAHjnKJpu/mzRt1wMIvnb7xB16f6eaX/nkdpqFUQR3ARHHwvH4TNBStQ4qI7u lyApT9q8gW3izpqDEn/R6+kyou2u7qEWkYx+SintwAhnrMjMom0UDKV/p3KqrFFl1kd2 rxrbIa3NgFagkcYzZik+r/acVk4SrJVa5BOMLQtPg5ZqGFw64XI63tPA+UOUQNwzvtqS wwYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc:content-transfer-encoding; bh=Em4vIFtbnAfHzqImau3wflNwYLrEwWXRRPlRb6fFAik=; b=M4pcmKU6/EOuG4htYGYfCuv4tGApsniVloDfgkOW25FEMAOEDquhgklukQvS+Q+7Am YIDjcDll9J710qqw7gQPOZlebfWIpBZxAXfYNx8bH2qs8jP78YEOdiJM4vzykb8AIAMh Th2SDusumXriXuAQSatIcdgPWfP9nQ0OC0AFcwJmkRmE27oPC5P2lkVhOGR3rkdxKyX0 GLCnL/QEG1sVihyD3c1xLNLWNS8vSxIjChf3vkJHuRTpLq11g6xLV6vaORmO5TtUidAe Wg1O4mCfZvsh0+5TMmigSROAYm1pVKYUdQU7uuMocxgodY27yebNlcHOsRSFM066yK6J VCoQ== X-Gm-Message-State: AOAM530sMNn6mTWxSq2X72snOyZHFOnUKTdchqse4IgN7MV3uC/aIchY iDmScH8lVi1YOlf3uIElqe8CT9o9veXFI0hh8gs= X-Received: by 2002:a05:6e02:de2:b0:2c6:f14:884a with SMTP id m2-20020a056e020de200b002c60f14884amr2995481ilj.100.1646378332178; Thu, 03 Mar 2022 23:18:52 -0800 (PST) MIME-Version: 1.0 References: <20220301145233.3689119-1-arnd@kernel.org> <20220301145233.3689119-3-arnd@kernel.org> In-Reply-To: Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Fri, 4 Mar 2022 08:18:15 +0100 Message-ID: Subject: Re: [PATCH 3/3] Kbuild: use -std=gnu11 for KBUILD_USERCFLAGS To: Nathan Chancellor Cc: Nick Desaulniers , Arnd Bergmann , Masahiro Yamada , Arnd Bergmann , Linus Torvalds , Marco Elver , Jani Nikula , David Sterba , Alex Shi , Miguel Ojeda , Mark Rutland , linux-kbuild@vger.kernel.org, llvm@lists.linux.dev, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 Fri, Mar 4, 2022 at 7:47 AM Sedat Dilek wrote: > > On Thu, Mar 3, 2022 at 6:37 PM Nathan Chancellor wrot= e: > > > > Hi Sedat, > > > > On Thu, Mar 03, 2022 at 07:26:05AM +0100, Sedat Dilek wrote: > > > Hey Nick! > > > > > > This only applies 1/3. > > > > > > $ b4 --version > > > 0.8.0 > > > > > > $ b4 am https://lore.kernel.org/lkml/20220301145233.3689119-1-arnd@ke= rnel.org/ > > > -o - | git am -3 > > > Analyzing 14 messages in the thread > > > Will use the latest revision: v3 > > > You can pick other revisions using the -vN flag > > > Checking attestation on all messages, may take a moment... > > > --- > > > =E2=9C=93 [PATCH v3 1/3] Kbuild: move to -std=3Dgnu11 > > > =E2=9C=93 Signed: DKIM/kernel.org > > > + Reviewed-by: Nathan Chancellor (=E2=9C=93 DK= IM/kernel.org) > > > ERROR: missing [2/3]! > > > ERROR: missing [3/3]! > > > --- > > > NOTE: install patatt for end-to-end signature verification > > > --- > > > Total patches: 1 > > > --- > > > WARNING: Thread incomplete! > > > Link: https://lore.kernel.org/r/20220301145233.3689119-1-arnd@kernel.= org > > > Base: not specified > > > Wende an: Kbuild: move to -std=3Dgnu11 > > > > It looks like the threading somehow got broken, likely due to the [v3] > > on the first patch and not the second or third: > > > > This worked for me on v5.17-rc6: > > > > $ for i in $(seq 1 3); do b4 shazam -P _ 20220301145233.3689119-"$i"-ar= nd@kernel.org; done > > > > "b4 shazam" is the equivalent of "b4 am -o - ... | git am" and the > > "-P _" tells b4 to only fetch that exact message ID, not the whole > > thread. > > > > Hmm, the universe is not good to me... > > $ for i in $(seq 1 3); do b4 shazam -P _ > 20220301145233.3689119-"$i"-arnd@kernel.org; done > usage: b4 [-h] [--version] [-d] [-q] {mbox,am,attest,pr,ty,diff,kr} ... > b4: error: argument subcmd: invalid choice: 'shazam' (choose from > 'mbox', 'am', 'attest', 'pr', 'ty', 'diff', 'kr') > usage: b4 [-h] [--version] [-d] [-q] {mbox,am,attest,pr,ty,diff,kr} ... > b4: error: argument subcmd: invalid choice: 'shazam' (choose from > 'mbox', 'am', 'attest', 'pr', 'ty', 'diff', 'kr') > usage: b4 [-h] [--version] [-d] [-q] {mbox,am,attest,pr,ty,diff,kr} ... > b4: error: argument subcmd: invalid choice: 'shazam' (choose from > 'mbox', 'am', 'attest', 'pr', 'ty', 'diff', 'kr') > > Do I need a higher version of b4 (here: v0.8.0)? > > Check myself... b4.git: > > commit 7c1d044ff1d5235e598d4c777c4abfe60e0a09a8 > ("shazam: change default behaviour to be "apply-here"") > > ...is post-v0.8.0. > I brutally applied the post-v0.8.0 patches stolen from b4.git over my local distro b4 files. And was able to apply the triple: $ git log --oneline --no-merges 5.17.0-rc6-1-amd64-clang13-lto..5.17.0-rc6-2-amd64-clang13-lto 96a4222bdd4c (for-5.17/kbuild-std_gnu11-arndb-20220301) Kbuild: use -std=3Dgnu11 for KBUILD_USERCFLAGS c4e8cef401a8 treewide: use -Wdeclaration-after-statement 6a7cc105b238 Kbuild: move to -std=3Dgnu11 - sed@ -