Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp556325ybb; Wed, 1 Apr 2020 05:30:21 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvmnrnDj0vOirGqYqXBiw8LUOC+QdrbSH6LtqPmdJJGL83QKb7QPciM5wDKpydEEZ6DbZ7V X-Received: by 2002:a9d:7f19:: with SMTP id j25mr17019824otq.129.1585744221495; Wed, 01 Apr 2020 05:30:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585744221; cv=none; d=google.com; s=arc-20160816; b=IN7H4MBynKcl93Y0RKKXrHniPw+hyDaJaw1j90nfiN3/VRFkPQutNmzzJ5qiiAOdDL YKa5JMInleonpDHsGTVYsNk7A0p64AX991Jvfx3vE58lpCGCzD2fEmeRQXaBSm0T5cy3 J03aFLLV7q0vgC/J1tuYD2VWHZYqzxL8SGzTUJ4O8fhfCP/GrgbslI4xy9UCaKIXeFQF h4oMQIumu9C7QfrTLcbZPA0+rxFuPTE7rTwzkFqYw2tYBZ/h0fPHh01RoQ9OK3i2CDpm FNnksJOYDsZDHXi5CyxSxTgBR3ASZSMt3SBKyZu1C5IBVn2X6F+VSxdf2gKrGPOH2uFU 4ISQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=zj1eLRjRD36yEu4XrxHwqWOV8mnpmhLbE4zf9UAMzoQ=; b=PGNYj9GWuDHT7LPU/WwyxrwWOju8MC/f6RX43gJvueaGTwZP4bo/dTQ1FutTnQJh34 fsVu7yap4eMx4Tp1ZhsYt1Kt8aTBXijv+GWSPddJ0rRKSfo8eYDcAJdirs6zNe5dITBd vBjQS5rGQFkscUxpfBjKqw5OwlPTrsCu1oWWWnn2XV4mLt+qchgrjn0GHjE7iACUgzx+ Bb4Hhp9Zp2jc5OUOyq59zRnN9EjW1uM+AdQQFWNmS4tnhLGgSxHDM6V1rW81WRkcC2Cw TYZDeZBPOjCK76VXgdM3B9a3FgTVUI5nL9lnUjqLOEmr9QXLi8f8UZzNocXPyT9jL1d1 wnsg== 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 18si813847oie.242.2020.04.01.05.30.08; Wed, 01 Apr 2020 05:30:21 -0700 (PDT) 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 S1732459AbgDAM20 (ORCPT + 99 others); Wed, 1 Apr 2020 08:28:26 -0400 Received: from foss.arm.com ([217.140.110.172]:50550 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726920AbgDAM20 (ORCPT ); Wed, 1 Apr 2020 08:28:26 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CE64930E; Wed, 1 Apr 2020 05:28:25 -0700 (PDT) Received: from mbp (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 056243F68F; Wed, 1 Apr 2020 05:28:24 -0700 (PDT) Date: Wed, 1 Apr 2020 13:28:22 +0100 From: Catalin Marinas To: Amit Daniel Kachhap Cc: linux-arm-kernel@lists.infradead.org, Vincenzo Frascino , Will Deacon , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] arm64: Kconfig: ptrauth: Add binutils version check to fix mismatch Message-ID: <20200401122805.GD9434@mbp> References: <1585568499-21585-1-git-send-email-amit.kachhap@arm.com> <1585568499-21585-2-git-send-email-amit.kachhap@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1585568499-21585-2-git-send-email-amit.kachhap@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 30, 2020 at 05:11:39PM +0530, Amit Daniel Kachhap wrote: > Recent addition of ARM64_PTR_AUTH exposed a mismatch issue with binutils. > 9.1+ versions of gcc inserts a section note .note.gnu.property but this > can be used properly by binutils version greater than 2.33.1. If older > binutils are used then the following warnings are generated, > > aarch64-linux-ld: warning: arch/arm64/kernel/vdso/vgettimeofday.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000 > aarch64-linux-objdump: warning: arch/arm64/lib/csum.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000 > aarch64-linux-nm: warning: .tmp_vmlinux1: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000 I queued both patches for 5.7. Thanks. -- Catalin