Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp564992imu; Wed, 23 Jan 2019 01:27:57 -0800 (PST) X-Google-Smtp-Source: ALg8bN4IJIn4q/IGI6k97ONt4431X2CR++jjJEwxmBIeHaWxhZ+umdKiZ7TImQhPM76AE7ohfVd8 X-Received: by 2002:a63:f1f:: with SMTP id e31mr1321323pgl.274.1548235677736; Wed, 23 Jan 2019 01:27:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548235677; cv=none; d=google.com; s=arc-20160816; b=LWL/9+gfm33xT/PyF+pgP5deNWqhSSuECDdqIcB+wvyvkFgh/enEyQyxluztsByvI4 6KfyWty56vqvR3gi9Aa5Im6Tom2jSyJtzaC0kJFZeROkUtm1gByRwR/M64zrc7s81KO0 1kDuQ1U3YEFDme2VNscSHqg6rS967XmbzCChTN/QOWYIlRkxMzvLaocXADpte26zdu1k AVo7T+0m2zICuty9j0mJHxji3ViNq9EqMqeeesQvgd6M4Vo5xolh4lxFPCV/yPAtH8e2 svWA5TV5fYfpTsAJKgtY4Ce28AzSsTsWfWW1BiqJX9JIEsyQbIjrSrRluRj5KSj838Yr 5Xtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:cc:to :subject:from; bh=44HM6y51Kvs+hANr3R8opqrK77zEjVZ8mHZn2tMicUw=; b=I18h05Z85zt1Q4QaNDd4vFOe84aFffnH0cuGe5Fb143TF7IMGVJKoFXOyCU97mU9KY glecOiTglgYzs8AEo196bj3DVHo4rzt2BLf7KGg+g4ZX/C8yo7QZX0+Z0yGWWVSUetFE N31fJMXGZPO2cw4gSBndDVZBYUvmUB9yqWPTqB0ih/gQuN2Ms3H6dNH8BGGK7ksBuEGg mIwTK2UzK8cElMZO5lN4/X1uMqC7pNo6Djns3vhtX+xYdW16HWLcOdVYkECeJXm3mNQf oe9NkY6gkxrZpuxYSZ3bNT22o9PtpU+iuNQ6O325ZfeLgjnyjUpkeUwbz+mP5QkRMs0m Om5A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z3si18263059pln.430.2019.01.23.01.27.42; Wed, 23 Jan 2019 01:27:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727133AbfAWJZy (ORCPT + 99 others); Wed, 23 Jan 2019 04:25:54 -0500 Received: from mail.cn.fujitsu.com ([183.91.158.132]:64803 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726313AbfAWJZy (ORCPT ); Wed, 23 Jan 2019 04:25:54 -0500 X-IronPort-AV: E=Sophos;i="5.56,510,1539619200"; d="scan'208";a="52645408" Received: from unknown (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 23 Jan 2019 17:25:50 +0800 Received: from G08CNEXCHPEKD02.g08.fujitsu.local (unknown [10.167.33.83]) by cn.fujitsu.com (Postfix) with ESMTP id 729824BAD9D9; Wed, 23 Jan 2019 17:25:50 +0800 (CST) Received: from [10.167.226.60] (10.167.226.60) by G08CNEXCHPEKD02.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 23 Jan 2019 17:25:49 +0800 From: Cao jin Subject: minimal version requirement for ld To: LKML , Linux Kbuild mailing list CC: Masahiro Yamada , Nicholas Piggin Message-ID: <4bec5d62-6033-b3be-d4b2-30d72d381c34@cn.fujitsu.com> Date: Wed, 23 Jan 2019 17:23:11 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.167.226.60] X-yoursite-MailScanner-ID: 729824BAD9D9.A8704 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: caoj.fnst@cn.fujitsu.com X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, (Not sure I am sending the right place) Documentation/process/changes.rst says the minimal version for binutils is 2.20. I am trying the binutils-2.20.51.0.2-5.48.el6.x86_64.rpm of Centos6 on Fedora28, and it give me: HOSTCC scripts/basic/fixdep /usr/bin/ld: unrecognized option '-plugin' /usr/bin/ld: use the --help option for usage information collect2: error: ld returned 1 exit status make[2]: *** [scripts/Makefile.host:90: scripts/basic/fixdep] Error 1 make[1]: *** [Makefile:464: scripts_basic] Error 2 make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'. Stop. make: *** Waiting for unfinished jobs.... HOSTCC scripts/basic/fixdep /usr/bin/ld: unrecognized option '-plugin' /usr/bin/ld: use the --help option for usage information collect2: error: ld returned 1 exit status make[1]: *** [scripts/Makefile.host:90: scripts/basic/fixdep] Error 1 make: *** [Makefile:464: scripts_basic] Error 2 Then I tried adding: HOSTCFLAGS_fixdep.o := -fno-use-linker-plugin in scripts/basic/Makefile, and it give me: HOSTCC scripts/basic/fixdep /usr/bin/ld: BFD version 2.20.51.0.2-5.48.el6 20100205 internal error, aborting at reloc.c line 443 in bfd_get_reloc_size /usr/bin/ld: Please report this bug. collect2: error: ld returned 1 exit status make[2]: *** [scripts/Makefile.host:90: scripts/basic/fixdep] Error 1 make[1]: *** [Makefile:464: scripts_basic] Error 2 make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'. Stop. Any idea on this problem? Or anyone has ever tried ld 2.20 successfully? -- Sincerely, Cao jin