Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2275839pxm; Fri, 4 Mar 2022 12:55:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJwou2s1ZwjZ8F+Jge5Il4U7UZsrQypRnPH059QK7dtcoDsAMWR8Ojn+zb5+5Bt0+foAWB12 X-Received: by 2002:a05:6a00:1354:b0:4c9:1e96:d15c with SMTP id k20-20020a056a00135400b004c91e96d15cmr558552pfu.30.1646427309483; Fri, 04 Mar 2022 12:55:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646427309; cv=none; d=google.com; s=arc-20160816; b=jbE68pBr5FWveyb5tEu8/7tQoYHeaGhMtxi7RqYcTnFfMFUUQhvltsihZ1ng8UlqEt 9aYdi2ZVhD+m2K0Dn+kBVBRWA0WmTbcTFAOYuZIpmEZPX/ccSWLrDMGC9WZxZNtjQhl+ CTD4RmEDyGJZdWSiDFslpCV1/UeAXtenzklDXJwGiFOFn5AVmVzve2IVxYNJyTIXOOl2 dHDWD1UQ6CaT36v6zbjXFVNeATt9D6pUNjLWB/teuPpow/xe9uzKnDyePbVsWGBeSY0W dx+JqKFXrO1CMAO27jujJwzA5xpUqptC0rGzUZ/HD7hTZEd3UhB4CJVDFznqi1b+E9yu voUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=ae5Yd4J05pJERqgIww/ekBg7J6J/HW2Ax8vCdSSmy7I=; b=Pzn+GXvW9hMQokODBYdOeiFb2ahN6P5++DYrKGekUMj08zFBHBHuVttEF0ktFXinU4 3I1WKWqV1U/t8QaFIeASa0xjA60AL6TE7sky8wzHgLDfjl28Z/U5Puhhge9wipO03r3d YeQwB87K7DK0L8HMqOWDw3OB/i6C1aJjVP6Oom/V8JYAulQalQBCvaeScPJTFXXHsfpb tMxPj9vMwtOwWLG9R5aUBakcFwEKSra6bd6EVIomegZIPzzsbZqQO0+2ev3EwIf6zsbs pgTY6IV6LL6J2l3b+2OSKPuswkIVQSNGVyzt1Jb6jddBH3uxH8Ia5Ib1z7N5/VHOgJZA 7Hag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=WKMGWPQS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b17-20020a056a000cd100b004f6d07f22d9si387411pfv.259.2022.03.04.12.55.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 12:55:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=WKMGWPQS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AFEE827D11F; Fri, 4 Mar 2022 11:49:11 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232041AbiCDS5b (ORCPT + 99 others); Fri, 4 Mar 2022 13:57:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230443AbiCDS5a (ORCPT ); Fri, 4 Mar 2022 13:57:30 -0500 Received: from conssluserg-03.nifty.com (conssluserg-03.nifty.com [210.131.2.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D239F1D6F54; Fri, 4 Mar 2022 10:56:41 -0800 (PST) Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) (authenticated) by conssluserg-03.nifty.com with ESMTP id 224IuJHs020122; Sat, 5 Mar 2022 03:56:19 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com 224IuJHs020122 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1646420179; bh=ae5Yd4J05pJERqgIww/ekBg7J6J/HW2Ax8vCdSSmy7I=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=WKMGWPQS0Angn6t12jeTQy1uq7SLzAJU1sXmgpzQtIHXctTlvx1O0lx3cm1Mn/83A f4BNL0rhAMmm3jEPmI9iYkzOGjqwz0Hw8hAZfrdcUZTTOBv1zl35I0a1QhcjaR1kXg PVNwELdrqMn/QhbIfySunaXJa4W7oHu1fSQ4QdmOYGKONCQzltHfAxL916AOH7qMBD OXSwajo5M5YSX9KY9yONKMtmjySyfsD8mRYrZc0d/CdanYqsmXfRA9sgZ/ZNDwTPa/ 24dEYq9D/tTuJ90JcGf92jiA8byZ6erLknY4PA27638/IAImOhPOSLQl2lZM5bvNyr Js+MOIERcMr6g== X-Nifty-SrcIP: [209.85.216.50] Received: by mail-pj1-f50.google.com with SMTP id m11-20020a17090a7f8b00b001beef6143a8so8748642pjl.4; Fri, 04 Mar 2022 10:56:19 -0800 (PST) X-Gm-Message-State: AOAM533e4EUJWcFmMOPyXUohtVpK3SWdGNf8NFgsB/24D2cbt4fqMdzt QsmQGn5Zz/BwGCNmBhAH+BqBDW5TxlTqexyANiQ= X-Received: by 2002:a17:902:b183:b0:14f:c266:20d5 with SMTP id s3-20020a170902b18300b0014fc26620d5mr43172969plr.136.1646420178457; Fri, 04 Mar 2022 10:56:18 -0800 (PST) MIME-Version: 1.0 References: <20220304170813.1689186-1-nathan@kernel.org> <202203041005.A3B985C@keescook> In-Reply-To: From: Masahiro Yamada Date: Sat, 5 Mar 2022 03:55:36 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] kbuild: Make $(LLVM) more flexible To: Nathan Chancellor Cc: Kees Cook , Nick Desaulniers , Shuah Khan , llvm@lists.linux.dev, Linux Kbuild mailing list , "open list:DOCUMENTATION" , Linux Kernel Mailing List , "open list:KERNEL SELFTEST FRAMEWORK" , Peter Zijlstra Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 Sat, Mar 5, 2022 at 3:15 AM Nathan Chancellor wrote: > > On Fri, Mar 04, 2022 at 10:09:03AM -0800, Kees Cook wrote: > > On Fri, Mar 04, 2022 at 10:08:14AM -0700, Nathan Chancellor wrote: > > > [...] > > > > > > Update and reorder the documentation to reflect these new additions. > > > At the same time, notate that LLVM=0 is not the same as just omitting it > > > altogether, which has confused people in the past. > > > > Is it worth making LLVM=0 actually act the way it's expected to? > > I don't really see the point, omitting $(LLVM) altogether is simpler. > Why specify LLVM=0 if you want GNU tools, since it is the default? > However, I can look into changing that in a new revision or a follow up > if others disagree? Changing the meaning of LLVM=0 is beyond the scope of what we are trying to achieve now. I think documenting it is enough. (If we have a good reason to change it, we can. But, it should be done in a separate patch, at least) -- Best Regards Masahiro Yamada