Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp34348pxu; Tue, 1 Dec 2020 05:36:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJyf5rS7RXXM2U5aj+p4L/bFy/3fnxWZe+d1k65wrr5X+5LxbK8Kug7wlKIPOuOp53wqzCrR X-Received: by 2002:a17:906:b309:: with SMTP id n9mr2894770ejz.365.1606829810266; Tue, 01 Dec 2020 05:36:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606829810; cv=none; d=google.com; s=arc-20160816; b=E6o6PU8hJzspDHFA+LVamek5HNtmQP3uydqpBrvqtYDz1gV33YkaI7e1Eknl3XpQMV C5/GN22aGUQLs09ZIdnoc5QYgXcrntP7+yjTUgSolULZtJZWzWscrBasu4bnbQlqMhYJ XmRGCQDSals3oBC5urWMsoxiSVWgatn3F1JY8mzEUZ7NRlyUVEOgSoIZ/lCNeKtZ/MQu 4ELDKTeSHFW6crf7L3Zwv4XYpyGTt9afg2lvFsDblgQS0xrkN70Ejz0lkgzIlxenNeXK jzte1EF1zfflt3m1eNGam/anUFsy44SehiOET5UFHnum2htZ1oPfHQtcKiVVtyRSTAjU pIag== 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=BCmIt+mXGDdopPkiBBw+3x1M8rDQB/5oH9HpU4uQ5qA=; b=ShEctCn+GEdefo2VK0e0XkrrxGNCq5VVCtrTA3RN5CyOd+H2cb4qiFnnDwlsPw7Vad +F+9Y4GmDJFCY7hF1vqmziebNTiywFaloVz61DV2gk4ESXM5cDKnICiiGNgWNevdZSHU ETOeR83TuwIda2PDlvpnPCnGeiBkt8ig4gN5q2vA57+JNt7LmkdtbQxXAUP4OL5mg2Ix JTsiZ/rDHc0nTL+chb/UUXyeYU41fjHAhGF6vIkoNjNuLtIbhEshkieh9uyjDO9B6sRJ nbCe7kmAT1mcFj3vxUbCQXFTr76Duya31j8Q3DOuMciZ4WGmFzW2Z6UwkrSLM6orqAh3 AW+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=THr+eUx4; 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 z59si1108227ede.218.2020.12.01.05.36.15; Tue, 01 Dec 2020 05:36:50 -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=THr+eUx4; 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 S2388517AbgLANdU (ORCPT + 99 others); Tue, 1 Dec 2020 08:33:20 -0500 Received: from conssluserg-02.nifty.com ([210.131.2.81]:49427 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387578AbgLANdU (ORCPT ); Tue, 1 Dec 2020 08:33:20 -0500 Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) (authenticated) by conssluserg-02.nifty.com with ESMTP id 0B1DWG8g009356; Tue, 1 Dec 2020 22:32:17 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 0B1DWG8g009356 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1606829537; bh=BCmIt+mXGDdopPkiBBw+3x1M8rDQB/5oH9HpU4uQ5qA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=THr+eUx4SWCPegG1uRLmRHq1mlzwZIBJZfMOhYfUi9PvS1ZmkPpZzJJvSBKEXI9sU hGC9IjavC/i0M1vYGEAMjvM98V1iWPC3aWRaEJSIOHHtzxpNfyiU+Xwd2P6gXrIQPS SBI2ODfn0nhkwR8fjb1OQE+Yjh/NV9bSiWHzDE2LI9RpqgZs+QdPfBpe51hHlxXvAJ RCvvpEU+nYui6Z2WZAO+0K3fgTe6V0Jz2Wi18KbjOr7S2LM8NCEoX5aV0ocxOflfoN 1puiE9MAIrJw5ZvQfSeKd0GYgw0KCnvdZxS7Qn+x0fA5AwGdHaaXZErK79XdW2aK8u bNGE8JRlo2tXA== X-Nifty-SrcIP: [209.85.214.180] Received: by mail-pl1-f180.google.com with SMTP id 4so1140537plk.5; Tue, 01 Dec 2020 05:32:16 -0800 (PST) X-Gm-Message-State: AOAM530Gi31sgn5oXBL3YkiyqrPbHWceFo05ZdWsqGVM8Bl8yf7VxBn2 WqmLJOj65504lMCLIX93Weui6VkEdW638itm2aE= X-Received: by 2002:a17:902:402:b029:da:2cb9:56e8 with SMTP id 2-20020a1709020402b02900da2cb956e8mr2703980ple.1.1606829536018; Tue, 01 Dec 2020 05:32:16 -0800 (PST) MIME-Version: 1.0 References: <20201113195553.1487659-1-natechancellor@gmail.com> <20201119204656.3261686-2-natechancellor@gmail.com> <202011241421.A2F3062A70@keescook> In-Reply-To: <202011241421.A2F3062A70@keescook> From: Masahiro Yamada Date: Tue, 1 Dec 2020 22:31:37 +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, 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. But, I already see this in linux-next. Please let me know if I should drop it from my tree. -- Best Regards Masahiro Yamada