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=-17.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham 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 6CD6CC64E7C for ; Wed, 2 Dec 2020 18:57:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 17F5522250 for ; Wed, 2 Dec 2020 18:57:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389691AbgLBS5g (ORCPT ); Wed, 2 Dec 2020 13:57:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387784AbgLBS5d (ORCPT ); Wed, 2 Dec 2020 13:57:33 -0500 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67EC4C0613CF for ; Wed, 2 Dec 2020 10:56:47 -0800 (PST) Received: by mail-pg1-x543.google.com with SMTP id n10so1486540pgv.8 for ; Wed, 02 Dec 2020 10:56:47 -0800 (PST) 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=2df0cgPfG2SAK1g7NT0O8N+0jOgAdMPH5rFcEcsmtzM=; b=Cu7Xt7Qn/3aPgdAkS2syTqxV41qdValgrBZYQqryrysoVtGdgBLW1Umm+ymeWh5B7+ kZqrtKf1iwCkHCjz0PqySSBrzAlqEGJUcEnELClsLXBywkDw+tIHAGkRJUpSf4r5si2X U71QWOp65achEjowERhc1Pgww2DGhtmolmAck= 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=2df0cgPfG2SAK1g7NT0O8N+0jOgAdMPH5rFcEcsmtzM=; b=tOJKEFpcsgy8BB2AiIpwVVFuMqkkkAat80nykBTZ5/zpLLEuTCgjQIWKuDOK+7Xz2/ gs9lD7wF83AH+gjHq8GYmP61soHCYd3pPZHzk2vnWNc0d1xFs9cEDQkdrqI4puNjli0k smMJCGKhsJ3LnrnoLyN4rtWzFp55Fge4uKYPil9DmNe5HHMgnoFuvxL2CqUyU6HtwUJx KXKk3f+JTFM95wQVCp+q/KQYYrBVojdr56qi/O4/F8q6ExDMKBes3rDRU+97Tguh+Q9C AizSqwk/2jQRfz57kxOFYAHWY5Wv8b0djLco3JHZ1MVQ3Z8RoufImD//xN9oAlAdk7Hw NH2Q== X-Gm-Message-State: AOAM533T499FXWHXGaUgbSvrUTqwBrlUgNzrSmFIQQojAFYYGBx6yi6Z LkEpw8aPPN83qR9DrNSv6DWocA== X-Google-Smtp-Source: ABdhPJwDihIdf9Kj1zww9pUzlRPKReVIPkPu886DIRfJAubQGRXMJaWo5MU1jtqDrgcMhi9+DatHIQ== X-Received: by 2002:a63:f308:: with SMTP id l8mr1179038pgh.68.1606935406993; Wed, 02 Dec 2020 10:56:46 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id u3sm512394pfu.47.2020.12.02.10.56.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2020 10:56:45 -0800 (PST) Date: Wed, 2 Dec 2020 10:56:44 -0800 From: Kees Cook To: Masahiro Yamada 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 Subject: Re: [PATCH v2 2/2] kbuild: Disable CONFIG_LD_ORPHAN_WARN for ld.lld 10.0.1 Message-ID: <202012021056.3EA0BBFDD@keescook> References: <20201113195553.1487659-1-natechancellor@gmail.com> <20201119204656.3261686-2-natechancellor@gmail.com> <202011241421.A2F3062A70@keescook> <202012011255.9D677ED3@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org On Wed, Dec 02, 2020 at 11:37:38AM +0900, Masahiro Yamada wrote: > 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? > > I will send a kbuild pull request myself this week. Okay, thanks! I've removed it from my -next tree now. -- Kees Cook 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=-13.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 ECAAFC64E7C for ; Wed, 2 Dec 2020 18:58:52 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (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 060062224D for ; Wed, 2 Dec 2020 18:58:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 060062224D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4CmStK2BF4zDqB3 for ; Thu, 3 Dec 2020 05:58:49 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=chromium.org (client-ip=2607:f8b0:4864:20::443; helo=mail-pf1-x443.google.com; envelope-from=keescook@chromium.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=Cu7Xt7Qn; dkim-atps=neutral Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4CmSr52MVfzDqD3 for ; Thu, 3 Dec 2020 05:56:50 +1100 (AEDT) Received: by mail-pf1-x443.google.com with SMTP id w6so1839058pfu.1 for ; Wed, 02 Dec 2020 10:56:49 -0800 (PST) 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=2df0cgPfG2SAK1g7NT0O8N+0jOgAdMPH5rFcEcsmtzM=; b=Cu7Xt7Qn/3aPgdAkS2syTqxV41qdValgrBZYQqryrysoVtGdgBLW1Umm+ymeWh5B7+ kZqrtKf1iwCkHCjz0PqySSBrzAlqEGJUcEnELClsLXBywkDw+tIHAGkRJUpSf4r5si2X U71QWOp65achEjowERhc1Pgww2DGhtmolmAck= 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=2df0cgPfG2SAK1g7NT0O8N+0jOgAdMPH5rFcEcsmtzM=; b=qBNGwxECoS+th1Ehxn1N81hlmC9HI/Z436NdZQGqpfLeNY+paejiOnRmgzVjGVH0Zr hfeXkEkOpjdCNaMHeuf+xFPfRLqTU+otp3QnOEcIGnpQmcCtD2B56yiYot9jMd0fc8x7 5ngRveH6rMEKQrs4RqhFkV77fb2O255Jlj4VnCVgps/0kdMEfr8iPKrZZEhnAJ7egS0R E8NSI44DTigMcKFdIOlC5xAAjhnvOXnhg/9Ano8zey0y4++aCZdTu132W/DjD9riq0w3 8Iae4QcZhqAeYQ8OIeu/jnIovPCexwTzYBjgmi/otXkTkWX0VgynZYy1d5gqq5ufgCOm sB/Q== X-Gm-Message-State: AOAM533zyJOP6mTAxh/jv1iofigtRFptCwmPzmGB/yanvoELmsy8wc2b BiiWKhR8ql5MRVxBC6YOuynKyA== X-Google-Smtp-Source: ABdhPJwDihIdf9Kj1zww9pUzlRPKReVIPkPu886DIRfJAubQGRXMJaWo5MU1jtqDrgcMhi9+DatHIQ== X-Received: by 2002:a63:f308:: with SMTP id l8mr1179038pgh.68.1606935406993; Wed, 02 Dec 2020 10:56:46 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id u3sm512394pfu.47.2020.12.02.10.56.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2020 10:56:45 -0800 (PST) Date: Wed, 2 Dec 2020 10:56:44 -0800 From: Kees Cook To: Masahiro Yamada Subject: Re: [PATCH v2 2/2] kbuild: Disable CONFIG_LD_ORPHAN_WARN for ld.lld 10.0.1 Message-ID: <202012021056.3EA0BBFDD@keescook> References: <20201113195553.1487659-1-natechancellor@gmail.com> <20201119204656.3261686-2-natechancellor@gmail.com> <202011241421.A2F3062A70@keescook> <202012011255.9D677ED3@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michal Marek , "kernelci . org bot" , Linux Kbuild mailing list , Catalin Marinas , Mark Brown , "maintainer:X86 ARCHITECTURE \(32-BIT AND 64-BIT\)" , Nick Desaulniers , Russell King , LKML , linuxppc-dev , Arvind Sankar , Ingo Molnar , Borislav Petkov , clang-built-linux , Nathan Chancellor , Will Deacon , Thomas Gleixner , Linux ARM Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Wed, Dec 02, 2020 at 11:37:38AM +0900, Masahiro Yamada wrote: > 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? > > I will send a kbuild pull request myself this week. Okay, thanks! I've removed it from my -next tree now. -- Kees Cook 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=-15.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 79608C64E7C for ; Wed, 2 Dec 2020 18:58:01 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 F1F762173E for ; Wed, 2 Dec 2020 18:58:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F1F762173E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject: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=3LNsRcHJcA0Zqr8PirGiDkYAbeNVcQwKUM9f4rfcLXE=; b=e7qQFqz8a8LQFUeM+kmP7ZJAP t+Ha8oXhAGeD6qArDz6qLUZJGZWIoObDKMJqvK3XnAsZxuO5xXowWEVxnypVlY2awkzKQVMtQFSyx A6fQb6EixCeqd9rIALBNync1cGgMWcpgnnwEEsRuP3l+VH2No5I1v0CGlerqWj6Nul+WnCBvD1oXq g0YFL97Adlbk/BtW2nKEPlkvxounHMiU2C0ShJq5BGXkDRAuhKyCsjUQQ+zcm7z15CPGhV62V/O2H oCWm5Kwt6VfAYXo4Rlv7k/NSo04j8dZmIC0CJBzepNN7pN0G1LQ6I4RwYmieksng9YkyTrp5Q7JMu br5DwMnjQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kkXJ7-00074x-27; Wed, 02 Dec 2020 18:56:53 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kkXJ3-000736-JT for linux-arm-kernel@lists.infradead.org; Wed, 02 Dec 2020 18:56:50 +0000 Received: by mail-pf1-x442.google.com with SMTP id c79so1538828pfc.2 for ; Wed, 02 Dec 2020 10:56:48 -0800 (PST) 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=2df0cgPfG2SAK1g7NT0O8N+0jOgAdMPH5rFcEcsmtzM=; b=Cu7Xt7Qn/3aPgdAkS2syTqxV41qdValgrBZYQqryrysoVtGdgBLW1Umm+ymeWh5B7+ kZqrtKf1iwCkHCjz0PqySSBrzAlqEGJUcEnELClsLXBywkDw+tIHAGkRJUpSf4r5si2X U71QWOp65achEjowERhc1Pgww2DGhtmolmAck= 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=2df0cgPfG2SAK1g7NT0O8N+0jOgAdMPH5rFcEcsmtzM=; b=h5KqhR66v9XNkT0TGTKNq0GBmd7bXHyYvgMwn/WQUv10fhj19JjZx2jzdiat/mIcGU 19fLmmqP0onTdzXm/pMKn24jQ6oRDxbe2Jjn5/Q73CwhtLZ2J1mlHVWz7lMTZEs3UTUf BYJZ8GWjc9cTOo66xf2ORL980Xtw3fqJWgssYn8qfC+TW4jEoPfSCEKEVk9Iq2+A6suY O46ZYWjln68XTrGeDDnM0syKfNUXPy5xYZG1etWVdYHWS+APBo2hiUvBs1kLpb035R5l ZYF/rTO2rvCsknsF9Ndv96cLipLnThJTzA8Fq1d5LXUFKZGPKVs7pXI/K2FPUPOO1tDs JbQA== X-Gm-Message-State: AOAM533AH1IHlXvpGAGPpWvsooATFSYngz3BMLCl239ZuhcmZ8H+nfYJ c3+9Prgcz8ZLXozcHfsNnAlQwQ== X-Google-Smtp-Source: ABdhPJwDihIdf9Kj1zww9pUzlRPKReVIPkPu886DIRfJAubQGRXMJaWo5MU1jtqDrgcMhi9+DatHIQ== X-Received: by 2002:a63:f308:: with SMTP id l8mr1179038pgh.68.1606935406993; Wed, 02 Dec 2020 10:56:46 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id u3sm512394pfu.47.2020.12.02.10.56.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2020 10:56:45 -0800 (PST) Date: Wed, 2 Dec 2020 10:56:44 -0800 From: Kees Cook To: Masahiro Yamada Subject: Re: [PATCH v2 2/2] kbuild: Disable CONFIG_LD_ORPHAN_WARN for ld.lld 10.0.1 Message-ID: <202012021056.3EA0BBFDD@keescook> References: <20201113195553.1487659-1-natechancellor@gmail.com> <20201119204656.3261686-2-natechancellor@gmail.com> <202011241421.A2F3062A70@keescook> <202012011255.9D677ED3@keescook> 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-20201202_135649_693609_4B48C771 X-CRM114-Status: GOOD ( 26.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michal Marek , "kernelci . org bot" , Linux Kbuild mailing list , Catalin Marinas , Mark Brown , "maintainer:X86 ARCHITECTURE \(32-BIT AND 64-BIT\)" , Nick Desaulniers , Russell King , LKML , linuxppc-dev , Arvind Sankar , Ingo Molnar , Borislav Petkov , clang-built-linux , Michael Ellerman , Nathan Chancellor , Will Deacon , Thomas Gleixner , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Dec 02, 2020 at 11:37:38AM +0900, Masahiro Yamada wrote: > 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? > > I will send a kbuild pull request myself this week. Okay, thanks! I've removed it from my -next tree now. -- Kees Cook _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel