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.8 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 D4AF6C2D0E4 for ; Tue, 24 Nov 2020 22:23:08 +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 6CC9C20643 for ; Tue, 24 Nov 2020 22:23:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="j+NUZ3hA"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="NfPq1wTh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6CC9C20643 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=2EjyddATFEo8uWsoq6qAraCCTS6pJD4k9bPIK81piik=; b=j+NUZ3hAMa7a6STjxTpITmces tmaJbubTWKzd2W1FVWhX259NC8jUDH1d+uU0y7B2+JtKBDVbG6ea9J93ruvR3Th5Mc8t6ldBwiS97 Tcm1zdjrLwBE18Ku45cY4Eu2grNGQnIQW/VGw8FXe0wLSX3fpwz+erqN+OEpyK6la9eqolCwPej+B 3braUePB5mC+0JGtBQZbkQIxpe4xURdwCtr6R/mtXXObIBjan1qFmZvKMqiPweLbgGdPIfIiz/X6/ mVkJN7SS8ayaHnvqEabN82uwqPBSnx22MkQdrTfXnQt10mCg09rQeYs59heHSOP7MXmQ9ntNCfTHc AkL9mdTkQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1khghs-0008Vb-Ad; Tue, 24 Nov 2020 22:22:40 +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 1khgho-0008UA-N8 for linux-arm-kernel@lists.infradead.org; Tue, 24 Nov 2020 22:22:37 +0000 Received: by mail-pf1-x442.google.com with SMTP id w202so393777pff.10 for ; Tue, 24 Nov 2020 14:22:35 -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=pJHeWjaBdZwomXBYbMExLuGxVcJ2kE2YHepOItpGyl8=; b=NfPq1wThF4bax4Wc54yxmbd3O4JURJngGs75IQyFFftNPqrf6BtVI5PUeVLYwXCsWo iINS0pl5vQHCGOwgdZb5X9Rm99q9n5neOK2PswQDMPhiN/xxNK+OCDBrF0NViCRYw0aQ brlxC/ZOWDeVXmRX9wEDJDnc6oU2xWI9oxtps= 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=pJHeWjaBdZwomXBYbMExLuGxVcJ2kE2YHepOItpGyl8=; b=kFr7C94iEr2n7wnyTU8T6DBwy6Ci0SgmnlYrlWAJbkotal2YQqXjljcydfdLtx+AKb ygcV8Apqg/kdrRMEMKwEptSy7E47G+lpC09vjuxixpfThFZz+bTL87+HOb5F0IBFgRuY fSU/s/kkM7qFLe0iZUxvB0r0pd2vv7fZEY1kOnPEp9twz+MnFcxGPMA1rik6Lh+gHSOE mzo4sJFm96Dfz7rLDd5RgEPHJGApTMWxt5SS4Z986A8VUd02+IheWov/msWolhrE9g/d jE/vKC4DIjZgDL0oGcKYg6xx8rrGoPLrCeIeVky7ZMNXoZcMYZ6MisbLLWteWDBV1xZ0 qZwQ== X-Gm-Message-State: AOAM532TR/Hvxl2lBE4gLjzQrUb8aSJKhK0Fg9u7lRYaTaZhjZas3iHL b/079O9ih5RU56EWzusUbOTfHw== X-Google-Smtp-Source: ABdhPJzzU6ZeykNNsfU1lZsn6jxco0s14as0+LQMRx/IH4f1dYuHck5qrCwgoKmtZ6zQDKyRM8sR0A== X-Received: by 2002:a63:e0f:: with SMTP id d15mr453658pgl.310.1606256553666; Tue, 24 Nov 2020 14:22:33 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id z29sm175922pgc.68.2020.11.24.14.22.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 14:22:32 -0800 (PST) Date: Tue, 24 Nov 2020 14:22:31 -0800 From: Kees Cook To: Nick Desaulniers Subject: Re: [PATCH v2 2/2] kbuild: Disable CONFIG_LD_ORPHAN_WARN for ld.lld 10.0.1 Message-ID: <202011241421.A2F3062A70@keescook> References: <20201113195553.1487659-1-natechancellor@gmail.com> <20201119204656.3261686-2-natechancellor@gmail.com> 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-20201124_172236_935077_D8E51D7F X-CRM114-Status: GOOD ( 16.90 ) 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 , Mark Brown , Catalin Marinas , Masahiro Yamada , "maintainer:X86 ARCHITECTURE \(32-BIT AND 64-BIT\)" , 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel