From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8924FC4338F for ; Sat, 21 Aug 2021 05:43:57 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 32A6F611EE for ; Sat, 21 Aug 2021 05:43:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 32A6F611EE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6zfsUXRd0bawOuInCx4lpC7rhB84/z5SzbWPVWGQuoE=; b=yEHJzCJSvEYTJI BCTv3t/XmcfGCgTpc3GDJFkNt+GkLyW7gNonqQmZtv3lVtqLVR6+dk6Q2GAde+6wzkmngCk4OLIB0 4z38xPxshMYl8lTB2WhFJ4BgG6NJn5IBOeYrpZp4jFvYYlH+2Lx/JmSPCfBybv33dP1dH3Ska8YLx CbiUNruwFHpePIA/f0wOw1k/Mq30Z4o/trKS+jzzgnP40RsSK+cfl5iiRaHf4r/F93/6alFxgkn8S U057OplyCKL0xHwyWon1Pc20j6s2CqI2GD0TUyFs/vuLhOYRj2k9vU7AZNtkZmZH9W61kJk6ltYNb eusV8XD/FFuraWkULhMg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mHJmr-00CUPq-VP; Sat, 21 Aug 2021 05:43:21 +0000 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mHJmh-00CUOg-DM for linux-riscv@lists.infradead.org; Sat, 21 Aug 2021 05:43:16 +0000 Received: by mail-pj1-x102f.google.com with SMTP id j10-20020a17090a94ca00b00181f17b7ef7so2425026pjw.2 for ; Fri, 20 Aug 2021 22:43:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=9sE8/Gezsq3ktVT1yBNWUnjMOxfVYbA50Rdyo+0rKjg=; b=i+WrkoXjNKg4kf7Ku0gUlQx7eIoc5b0b0YLG92TKYL9BVo0rPqj+uzdLB+MjPabU3J HjWDWfEsdrVtR+NH2G9+XReIX26V18hHaRdIgzgV8JpSXS7H5HUc9NyL4mjtoZdJexDM PZIXoQghEQmI+ZcvoTlg3lVMhlUTAKbTqJLVM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=9sE8/Gezsq3ktVT1yBNWUnjMOxfVYbA50Rdyo+0rKjg=; b=UbbTA229pJ/giUlaHNpqMPG6JeDulLzs1UJl51FHLbck8KGzRdGcJCBWo6RUhhavZ+ WC4kQI7w5KvgpXfyC4lyP1N8BzXDUfTbXktwuHwKdUbqLjV1VpwEyk30g2jAME7qiGA7 qylLtIyKhkwhmWYZOG/iMbub6/zBUmkD85dXI8NXKQYNy4DWdN9a4He8Qtxjsgo26Sc3 rNsLVn0WL+v0FtfhC4nmHjI4GTJBwbfCaD4ZCJ91+Zsi+TP779N6l8+MezdMahdyD0Rh 1s2Xd8Ug5y9Gq59uKzVmSHvpq2WMTi6rzNY2pRhLzSeyxSbj7AWLlFayGpW0lOx/mCtw GyiA== X-Gm-Message-State: AOAM530j6/rcVvK0K63+Vx7BiWDJSedxuolLR+7dUVmoYKSK5r985Gkm bBvzQzkaLtykdvaMItVUuFsMyA== X-Google-Smtp-Source: ABdhPJzgQUYdkk9J8dqAROFTOnmvvqyCpq+uP6WafjZ2SeuiM0a5Vtnmi8qv2wGXx2oleUl8CurB6g== X-Received: by 2002:a17:902:bb92:b0:12d:ad99:7fb6 with SMTP id m18-20020a170902bb9200b0012dad997fb6mr19095378pls.49.1629524590503; Fri, 20 Aug 2021 22:43:10 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id n11sm7570761pjf.17.2021.08.20.22.43.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Aug 2021 22:43:09 -0700 (PDT) Date: Fri, 20 Aug 2021 22:43:08 -0700 From: Kees Cook To: Matthew Wilcox Cc: Joe Perches , LKML , Dave Hansen , Dwaipayan Ray , LukasBulwahn , linux-doc@vger.kernel.org, devicetree@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-hardening@vger.kernel.org, linux-riscv@lists.infradead.org, netdev@vger.kernel.org, linux-csky@vger.kernel.org Subject: Re: What is the oldest perl version being used with the kernel ? update oldest supported to 5.14 ? Message-ID: <202108201856.41AB391@keescook> References: <37ec9a36a5f7c71a8e23ab45fd3b7f20efd5da24.camel@perches.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210820_224311_523450_574C0A88 X-CRM114-Status: GOOD ( 20.23 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Fri, Aug 20, 2021 at 07:25:50PM +0100, Matthew Wilcox wrote: > On Fri, Aug 20, 2021 at 10:27:59AM -0700, Joe Perches wrote: > > Perl 5.8 is nearly 20 years old now. > > > > https://en.wikipedia.org/wiki/Perl_5_version_history > > > > checkpatch uses regexes that are incompatible with perl versions > > earlier than 5.10, but these uses are currently runtime checked > > and skipped if the perl version is too old. This runtime checking > > skips several useful tests. > > > > There is also some desire for tools like kernel-doc, checkpatch and > > get_maintainer to use a common library of regexes and functions: > > https://lore.kernel.org/lkml/YR2lexDd9N0sWxIW@casper.infradead.org/ > > > > It'd be useful to set the minimum perl version to something more modern. > > > > I believe perl 5.14, now only a decade old, is a reasonable target. > > > > Any objections or suggestions for a newer minimum version? > > Not an objection per se, but some data points. > > Oracle Linux 5 (released 2007, still under support) has perl 5.8.8 > Oracle Linux 6 (released 2011) has perl 5.10.1 > Oracle Linux 7 (released 2014) has perl 5.16.3 > Oracle Linux 8 (released 2019) has perl 5.26.3 > > I don't know that we need to be able to build on a distro from 2007 > or even from 2011. I think it's reasonable to require updating to a > 2014 distro in order to build a 2021 kernel. > > For comparison, we currently require gcc-4.9 to build the kernel, and > 4.9.0 was released in 2014. So perl-5.16 wouldn't be an unreasonable > requirement, I believe. Ubuntu name/version mapping: https://wiki.ubuntu.com/ Ubuntu Perl versions: https://launchpad.net/ubuntu/+source/perl The oldest publicly supported Ubuntu (18.04 Bionic) uses Perl 5.26. -- Kees Cook _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv