Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3257842pxa; Tue, 25 Aug 2020 16:23:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNtwvMqEbFY+H6lT+4DGSZHuJqI0ySMgWjipxRlxPijJy16NVgDpdQVBnutu2DUu+1XzwW X-Received: by 2002:a17:906:a253:: with SMTP id bi19mr12630092ejb.338.1598397827104; Tue, 25 Aug 2020 16:23:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598397827; cv=none; d=google.com; s=arc-20160816; b=M77RDma8eu64CuWPD+6grU6nMonFmkrUZ7I+T2hUOX62LgLGOzrA/nEwCbu9kmYlKT CQrKLbNcIufwEvJYKpfZ3OQpbZqB2uJxpS8N/ONW0RgDSoOCtGQL3U5tOsXD5hZCh6ge G39o8HUFdZiiC22JRxFbTdFNlTnPv/DNYwY1HziqqdKs/KUSI2yq+xdYBO0yJcgbs/r6 ZDVTUKEHhow1yCf3Itv/g5jVecbXOXmpKCNUDC8WyYrco3d01DNVP4Ua2LYmdRep9a1F Ua+5LPIR7vrTgzsWiJ+WAHG9sY0+/lzIHprOcpRNDT2D2ydxaT9/T6eHthtdQ0GyUVop WZjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject:dkim-signature; bh=qbTX7+RfGTdBt/QiCAJh2phecdvKxL9tHi/iN+H8Res=; b=XESIHFsJPAeasehYs0wkNL7P+N80ppHq+PpWsNEZ53BvQMe7Ejw2WL81BU6Nz+6cuh iDkvI/GujwCe+I4yW4C2xmKJkmvduz4Dp+1ZYnqVs+33kfbqjnVQUMSGkZILSevZ5Vx9 +DOlYYT7R8KLjX7/Az8EOABok9yO72EyswbeWG/HmIBB0rO5ss4jIPw2QJxJRtXF/KI8 u9sd8C+DtemitJG0xgDk4vcu7gFS44XNo+hOUGFhkykelgt/u94jYh9QZo3CbhOBud49 6Vr5kH5sHRkh6qfcAFK/C3XUtxaRmkC75lFWEa2lfIerS48fP/mQACIZYOeAcmDlgXOp kUJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b=tko7O8ws; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f7si228546edk.578.2020.08.25.16.23.24; Tue, 25 Aug 2020 16:23:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b=tko7O8ws; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726923AbgHYXVf (ORCPT + 99 others); Tue, 25 Aug 2020 19:21:35 -0400 Received: from gateway33.websitewelcome.com ([192.185.146.78]:15669 "EHLO gateway33.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726905AbgHYXVc (ORCPT ); Tue, 25 Aug 2020 19:21:32 -0400 Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway33.websitewelcome.com (Postfix) with ESMTP id 3F4D52835E for ; Tue, 25 Aug 2020 17:58:11 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id AhtLkxW66CjCVAhtLkjbI6; Tue, 25 Aug 2020 17:58:11 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=embeddedor.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=qbTX7+RfGTdBt/QiCAJh2phecdvKxL9tHi/iN+H8Res=; b=tko7O8wsfo714hNVhqOuUL4Zuo XgR8Pl1ivGkPYGkAV/YYkv58SH8ePWlSizxnTdWoMzkN7xyE8lwvuPswowDCfTTDDdOWXkwcRw/Ty oP4GM80xHnLw3mrfHiifaoZodjBb0XEoD4lVFxuU57RP8CUg9Vb1TVQXIvs+ICBkBwQLZi+9V2ml/ q15xAk5GxUQM5UXJJdknIZ/N9XJv+mJ7IGYsOjYg9zxzVMBuILjI3AGpxKvo0NDXNDDMsX8m6Zv77 DlmNu8dMGCJLhwMNgJharR33nH91RSvUcPAftA4NAU9YA0Ekzas52C5OVXPwcGjkEMhzOU2Vn/iKA N5cyD+rw==; Received: from 187-162-31-110.static.axtel.net ([187.162.31.110]:40606 helo=[192.168.15.8]) by gator4166.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1kAhtK-004D5n-Ja; Tue, 25 Aug 2020 17:58:10 -0500 Subject: Re: [PATCH] Documentation: add minimum clang/llvm version To: Nathan Chancellor , Nick Desaulniers Cc: Masahiro Yamada , Michal Marek , Jonathan Corbet , Randy Dunlap , Theodore Ts'o , Kees Cook , Will Deacon , Borislav Petkov , "Alexander A. Klimov" , clang-built-linux@googlegroups.com, linux-kbuild@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200825222552.3113760-1-ndesaulniers@google.com> <20200825225131.GA2702183@ubuntu-n2-xlarge-x86> From: "Gustavo A. R. Silva" Autocrypt: addr=gustavo@embeddedor.com; keydata= xsFNBFssHAwBEADIy3ZoPq3z5UpsUknd2v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NlVb9uvWbdznObqcJxSH3SGOZ7kCHuVmXUcqozol6ioMHMb+In rHPP16aVDTBTPEGwgxXI38f7SUEn+NpbizWdLNz2hc907DvoPm6HEGCanpcAEQEAAcLBZQQY AQgADwUCWywcDAIbDAUJCWYBgAAKCRBHBbTLRwbbMdsZEACUjmsJx2CAY+QSUMebQRFjKavw XB/xE7fTt2ahuhHT8qQ/lWuRQedg4baInw9nhoPE+VenOzhGeGlsJ0Ys52sdXvUjUocKgUQq 6ekOHbcw919nO5L9J2ejMf/VC/quN3r3xijgRtmuuwZjmmi8ct24TpGeoBK4WrZGh/1hAYw4 ieARvKvgjXRstcEqM5thUNkOOIheud/VpY+48QcccPKbngy//zNJWKbRbeVnimua0OpqRXhC rEVm/xomeOvl1WK1BVO7z8DjSdEBGzbV76sPDJb/fw+y+VWrkEiddD/9CSfgfBNOb1p1jVnT 2mFgGneIWbU0zdDGhleI9UoQTr0e0b/7TU+Jo6TqwosP9nbk5hXw6uR5k5PF8ieyHVq3qatJ 9K1jPkBr8YWtI5uNwJJjTKIA1jHlj8McROroxMdI6qZ/wZ1ImuylpJuJwCDCORYf5kW61fcr HEDlIvGc371OOvw6ejF8ksX5+L2zwh43l/pKkSVGFpxtMV6d6J3eqwTafL86YJWH93PN+ZUh 6i6Rd2U/i8jH5WvzR57UeWxE4P8bQc0hNGrUsHQH6bpHV2lbuhDdqo+cM9ehGZEO3+gCDFmK rjspZjkJbB5Gadzvts5fcWGOXEvuT8uQSvl+vEL0g6vczsyPBtqoBLa9SNrSVtSixD1uOgyt AP7RWS474w== Message-ID: <8e867824-48ca-f63a-c863-d4ce9f9ebf75@embeddedor.com> Date: Tue, 25 Aug 2020 18:04:09 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200825225131.GA2702183@ubuntu-n2-xlarge-x86> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 187.162.31.110 X-Source-L: No X-Exim-ID: 1kAhtK-004D5n-Ja X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 187-162-31-110.static.axtel.net ([192.168.15.8]) [187.162.31.110]:40606 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 15 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/25/20 17:51, Nathan Chancellor wrote: > On Tue, Aug 25, 2020 at 03:25:51PM -0700, Nick Desaulniers wrote: >> Based on a vote at the LLVM BoF at Plumbers 2020, we decided to start >> small, supporting just one formal upstream release of LLVM for now. >> >> We can probably widen the support window of supported versions over >> time. Also, note that LLVM's release process is different than GCC's. >> GCC tends to have 1 major release per year while releasing minor updates >> to the past 3 major versions. LLVM tends to support one major release >> and one minor release every six months. >> >> Signed-off-by: Nick Desaulniers >> --- >> Note to reviewers: working remote, I'm having trouble testing/verifying >> that I have the RST links wired up correctly; I would appreciate it if >> someone is able to `make htmldocs` and check >> Documentation/output/process/changes.html properly links to >> Documentation/output/kbuild/llvm.html. > > I ran 'make O=out htmldocs' and can confirm that the link works properly > in process/changes.html, pointing to kbuild/llvm.html. > The same here. Tested-by: Gustavo A. R. Silva Thanks -- Gustavo >> Documentation/kbuild/llvm.rst | 2 ++ >> Documentation/process/changes.rst | 10 ++++++++++ >> 2 files changed, 12 insertions(+) >> >> diff --git a/Documentation/kbuild/llvm.rst b/Documentation/kbuild/llvm.rst >> index 2aac50b97921..70ec6e9a183b 100644 >> --- a/Documentation/kbuild/llvm.rst >> +++ b/Documentation/kbuild/llvm.rst >> @@ -1,3 +1,5 @@ >> +.. _kbuild_llvm: >> + >> ============================== >> Building Linux with Clang/LLVM >> ============================== >> diff --git a/Documentation/process/changes.rst b/Documentation/process/changes.rst >> index ee741763a3fc..6c580ef9f2a3 100644 >> --- a/Documentation/process/changes.rst >> +++ b/Documentation/process/changes.rst >> @@ -30,6 +30,7 @@ you probably needn't concern yourself with pcmciautils. >> Program Minimal version Command to check the version >> ====================== =============== ======================================== >> GNU C 4.9 gcc --version >> +Clang/LLVM (optional) 10.0.1 clang --version > > Maybe it is worth making the "(optional)" a footnote like Sphinx? Seems > to just kind of stick out to me but I do not have a strong opinion > unless others do. > >> GNU make 3.81 make --version >> binutils 2.23 ld -v >> flex 2.5.35 flex --version >> @@ -68,6 +69,15 @@ GCC >> The gcc version requirements may vary depending on the type of CPU in your >> computer. >> >> +Clang/LLVM (optional) >> +--------------------- >> + >> +The latest formal release of clang and LLVM utils (according to >> +`releases.llvm.org `_) are supported for building >> +kernels. Older releases aren't gauranteed to work, and we may drop workarounds >> +from the kernel that were used to support older versions. Please see additional >> +docs on :ref:`Building Linux with Clang/LLVM `. >> + > > Do we maybe want to add a section for LLVM/clang in the "Getting updated > software" section? Maybe just a link to the existing section that we > have in kbuild/llvm.rst? > >> Make >> ---- >> >> -- >> 2.28.0.297.g1956fa8f8d-goog >> > > Regardless of the nits above: > > Reviewed-and-tested-by: Nathan Chancellor >