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=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 64977C43331 for ; Thu, 26 Mar 2020 08:04:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3CD7020857 for ; Thu, 26 Mar 2020 08:04:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585209849; bh=kvuW4MRVDRvbY3I2O2TWenun94AE0rR4rDhiiblAoLk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=sK3IO7EBi4dC774zYc9ti1uS96kLpO0jcJ5Oek6GERzd0lmbJWncbdCeNJzTw9gsm N3D60zkLdmEhYqJwgSgeHhbqYjDJ+D98Y4xl/namnDWTwbOWb60j00MiGMbLCoHvYt aiZqzle16kHSqF2DAFF9DRiBOhTGAtqulyiLZ56I= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727895AbgCZIEH (ORCPT ); Thu, 26 Mar 2020 04:04:07 -0400 Received: from conuserg-11.nifty.com ([210.131.2.78]:19078 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727773AbgCZIEE (ORCPT ); Thu, 26 Mar 2020 04:04:04 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id 02Q81Wph002183; Thu, 26 Mar 2020 17:01:55 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com 02Q81Wph002183 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1585209716; bh=LtWeUWp0ttfpJ5z1d5FhHMR2PikZUhMmjkf5NulQvsI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Szxs/tTCNMGXvp9dbnrJo7rWZIdoBHZyT5Fzo7Pbi8ZeffchxaXiSxAtzNtc+vHTz XKAG9pRATbl7MGvsSsrMosTS/bQbh8cH47qdZgh1HA+7jvNEhqT9l0Xmm57aTnS1tX bPIenYGKfU2CHGWFxGlJRrARUMJwDptpPPj4HX9QGYeiOKjNxdzcsCk/ocNjhQVbm6 mmczgzkUY+RRFHWcTlnWpF3LOEjpWaAAIAHpeTlVDDNGDRxeua3gtVAU5mC0gk0d+4 qXI0/uhC/tFy89Od7THEkZdphwBmfu7cxG3P2F6TVhVtEcz9QGjVe2rJ0ZUaHmDN6x 518UG3b49nZXg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Thomas Gleixner , Nick Desaulniers , Borislav Petkov , Peter Zijlstra , "H . Peter Anvin" , x86@kernel.org, "Jason A . Donenfeld" , clang-built-linux@googlegroups.com, Borislav Petkov , Masahiro Yamada , Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 14/16] Documentation/changes: Raise minimum supported binutils version to 2.23 Date: Thu, 26 Mar 2020 17:01:02 +0900 Message-Id: <20200326080104.27286-15-masahiroy@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200326080104.27286-1-masahiroy@kernel.org> References: <20200326080104.27286-1-masahiroy@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Borislav Petkov The currently minimum-supported binutils version 2.21 has the problem of promoting symbols which are defined outside of a section into absolute. According to Arvind: binutils-2.21 and -2.22. An x86-64 defconfig will fail with Invalid absolute R_X86_64_32S relocation: _etext and after fixing that one, with Invalid absolute R_X86_64_32S relocation: __end_of_kernel_reserve Those two versions of binutils have a bug when it comes to handling symbols defined outside of a section and binutils 2.23 has the proper fix, see: https://sourceware.org/legacy-ml/binutils/2012-06/msg00155.html Therefore, up to the fixed version directly, skipping the broken ones. Currently shipping distros already have the fixed binutils version so there should be no breakage resulting from this. For more details about the whole thing, see the thread in Link. Signed-off-by: Borislav Petkov Link: https://lkml.kernel.org/r/20200110202349.1881840-1-nivedita@alum.mit.edu Acked-by: Kees Cook Acked-by: Jason A. Donenfeld Acked-by: Nick Desaulniers Signed-off-by: Masahiro Yamada --- Changes in v2: None Documentation/process/changes.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/process/changes.rst b/Documentation/process/changes.rst index e47863575917..91c5ff8e161e 100644 --- a/Documentation/process/changes.rst +++ b/Documentation/process/changes.rst @@ -31,7 +31,7 @@ you probably needn't concern yourself with pcmciautils. ====================== =============== ======================================== GNU C 4.6 gcc --version GNU make 3.81 make --version -binutils 2.21 ld -v +binutils 2.23 ld -v flex 2.5.35 flex --version bison 2.0 bison --version util-linux 2.10o fdformat --version @@ -76,7 +76,7 @@ You will need GNU make 3.81 or later to build the kernel. Binutils -------- -Binutils 2.21 or newer is needed to build the kernel. +Binutils 2.23 or newer is needed to build the kernel. pkg-config ---------- -- 2.17.1