Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp536702pxu; Tue, 1 Dec 2020 18:43:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJwqyMHRBl9uwgIE3yeJhHxMSZlnDdkQk5l2clBkNHzwPTsZLYY3wDPId4p1idsEfa3ZyjHE X-Received: by 2002:a17:906:da08:: with SMTP id fi8mr283565ejb.517.1606876987653; Tue, 01 Dec 2020 18:43:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606876987; cv=none; d=google.com; s=arc-20160816; b=DdS2+NYdcW6JquiA0G2m7LMYV1G7AkFVt1wOisrQ7XlbMe3Wx/zLFqJZN433ryviXK Z/UnK9sJt0Nt7+OYoZD7KcXB823XVixLx7ukGgIWAIKJv5qNn7+7jlkUo0PyG2ScQr7i a6AJmpUbCIEQ9mitA8N+i091VSISXmdmQkQWN6pQYKMTX50qSYsEwlqnnVDVk10eJSgj Gel/qT6kKAjg14CjYztkWnM7yh/foJm7yoQ4h3MAXYP4Adb8740BxGlfczQgixTlkyd2 WZrHW6M5RWFu9VVdNUzslp8ijFZphXE/OIDy7GMCI0Ph2nd/UCgSLL9i5BsJx/2eH/V/ GBcg== 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=vuUMWsxXWrQ01Gfrdczxg27I9JGZI9RgaFpbn6oV8oY=; b=muG257hLCe6ypw/zTGpaNSKVHoDxhynXWoXsLR1xSUn1io40I/h6nteNFwe9sJCRlU oibCa/8Z2SJLPwGmIto0mrzfnHxjpNT8PHFcopTuKAf7r7iAeppEHdEszviZxJjFeVch ohrHZSF18qcJYnuwmKegFxdo3Fa8Ye1L+dTKBnMnMcuqWSdejKeGen4ld7iuSgFm3j4c x8JFoTPcyLxoKqtfs5UhGho46DTV7cLcS2z1ytgjxhYravwnfGcMXwJkeCV1fu3Kkmuh MmU+ZRH0ct4OEkkmQaOZeOCfzxrRa9LpwmM9SsZ2rjql+p+KJKaVNqBRxIB0lfgC3tJ5 +B1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=tOIszf40; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j5si199612eds.113.2020.12.01.18.42.44; Tue, 01 Dec 2020 18:43:07 -0800 (PST) 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=pass header.i=@nifty.com header.s=dec2015msa header.b=tOIszf40; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727973AbgLBCjV (ORCPT + 99 others); Tue, 1 Dec 2020 21:39:21 -0500 Received: from conssluserg-05.nifty.com ([210.131.2.90]:64787 "EHLO conssluserg-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727845AbgLBCjU (ORCPT ); Tue, 1 Dec 2020 21:39:20 -0500 Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 0B22cGcR001905; Wed, 2 Dec 2020 11:38:17 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 0B22cGcR001905 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1606876697; bh=vuUMWsxXWrQ01Gfrdczxg27I9JGZI9RgaFpbn6oV8oY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=tOIszf40xXMr7wl2vaTq0SdMqyYgNDISAPEKaMCWtPJc7Hp7VSpE9XQqWeo0wI8wa QJT9cmpmkD84Ula01K1MNeGpetZlJFnpGMbltg1LZRNMpk7tp87r4N6kGvOK73v+gA XZRLlx1I79vh+HoJvYM2zatzyPRtfXT6GA7Jr7gUbG8Ebdmh872/qj1hsRKNCkhZkR UzYmg9qt4B3+FXpvgo8oIQabd4iow6OW2vwHCf4IVCrJwGSqtiPxq0pwPp9aqoPKJ0 FAGb/tPgifi/N/wKnqaYzE/FgNAfujPHc3ACXjfGSMFLaqZYu1BZbyWDZkypSc+7Yi BhBCJf137b8QA== X-Nifty-SrcIP: [209.85.216.47] Received: by mail-pj1-f47.google.com with SMTP id ms7so130905pjb.4; Tue, 01 Dec 2020 18:38:16 -0800 (PST) X-Gm-Message-State: AOAM532Zc/dw1FvkmpB6bQXGamHu98xRYZjlV/5KHjPprzOvlFIzdttP NI1hXP8TXNGK8o2NqXqttSqZzu0ElL65Sy6TaYc= X-Received: by 2002:a17:90a:fa0c:: with SMTP id cm12mr195096pjb.87.1606876696170; Tue, 01 Dec 2020 18:38:16 -0800 (PST) MIME-Version: 1.0 References: <20201113195553.1487659-1-natechancellor@gmail.com> <20201119204656.3261686-2-natechancellor@gmail.com> <202011241421.A2F3062A70@keescook> <202012011255.9D677ED3@keescook> In-Reply-To: <202012011255.9D677ED3@keescook> From: Masahiro Yamada Date: Wed, 2 Dec 2020 11:37:38 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/2] kbuild: Disable CONFIG_LD_ORPHAN_WARN for ld.lld 10.0.1 To: Kees Cook Cc: Nick Desaulniers , Nathan Chancellor , Michal Marek , Russell King , Catalin Marinas , Will Deacon , Michael Ellerman , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , Arvind Sankar , LKML , Linux Kbuild mailing list , Linux ARM , linuxppc-dev , clang-built-linux , "kernelci . org bot" , Mark Brown Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 2, 2020 at 5:56 AM Kees Cook wrote: > > On Tue, Dec 01, 2020 at 10:31:37PM +0900, Masahiro Yamada wrote: > > On Wed, Nov 25, 2020 at 7:22 AM Kees Cook wrote: > > > > > > On Thu, Nov 19, 2020 at 01:13:27PM -0800, Nick Desaulniers wrote: > > > > On Thu, Nov 19, 2020 at 12:57 PM Nathan Chancellor > > > > wrote: > > > > > > > > > > ld.lld 10.0.1 spews a bunch of various warnings about .rela sections, > > > > > along with a few others. Newer versions of ld.lld do not have these > > > > > warnings. As a result, do not add '--orphan-handling=warn' to > > > > > LDFLAGS_vmlinux if ld.lld's version is not new enough. > > > > > > > > > > Link: https://github.com/ClangBuiltLinux/linux/issues/1187 > > > > > Link: https://github.com/ClangBuiltLinux/linux/issues/1193 > > > > > Reported-by: Arvind Sankar > > > > > Reported-by: kernelci.org bot > > > > > Reported-by: Mark Brown > > > > > Reviewed-by: Kees Cook > > > > > Signed-off-by: Nathan Chancellor > > > > > > > > Thanks for the additions in v2. > > > > Reviewed-by: Nick Desaulniers > > > > > > I'm going to carry this for a few days in -next, and if no one screams, > > > ask Linus to pull it for v5.10-rc6. > > > > > > Thanks! > > > > > > -- > > > Kees Cook > > > > > > Sorry for the delay. > > Applied to linux-kbuild. > > Great, thanks! > > > But, I already see this in linux-next. > > Please let me know if I should drop it from my tree. > > My intention was to get this to Linus this week. Do you want to do that > yourself, or Ack the patches in my tree and I'll send it? > > -Kees > > -- > Kees Cook I will send a kbuild pull request myself this week. -- Best Regards Masahiro Yamada