Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp513623ybt; Wed, 24 Jun 2020 04:59:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1SvOUu0SpWifwCBtSHGTqy5jSZOelxv2STYosS7jgVDAHq7fKmVLs4b6APqfK8QiiDj8l X-Received: by 2002:a05:6402:1b94:: with SMTP id cc20mr5756967edb.177.1592999946498; Wed, 24 Jun 2020 04:59:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592999946; cv=none; d=google.com; s=arc-20160816; b=nmoicNyCEFVbG9WpqXxpvDEuUG7seeySfQ11T9Tz1qpXA29nC4PRZU+S2RENuJNnxP 0+b1oCQqtzqIEhAgKIMp05CU3JlJnwM1nK3Vrbg62XyQhH5BWJ24zOux01ms18LL69+k SGdTfuKFskhmbPzvUaZ4P+ANGLAvmBhEVHIXCK3czBtNpFUfPQ+XSl6wnAEtDJdBmRDL kiJ9T0ukKxABMSLokufYyujNUi1yZNw1ZcXNM1EJ83G9lXiMCbh6kzMrTxH7S2c+0Fp2 e9OWxEPvcglAfXHFJuhBYKqT4syZ+S5U4FqEjxQw0AKZHhmjnW3pWH43Wblw0HmKS9UW 4Gxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=rOGvVUO5Jofmog2XlYA47AUYPd77eAO/iMznUOpsZTA=; b=KANgVSErcZtWCqY1uxkFK1dxOguCcqlwVapO7snBgN7n1GwW33CysuuX6w9AEXNwbS 2ijC9sokzs01DOqcA6cBme6xSU4CAHd2AFMZobbzW7jbVG2VdHeW66XQSxJiibfpc7cc h3fq4+lppVgz5sbEv5hwS2sipbjYcShmKjwBYinlbo8G7kRLRFZ1pxCyfOqY3zZ/lM/y d4KOtVMtx2Ck7uKySL3MGpfLg5WRCYLbnAhMoD5HxZQrgkCsKlfPW6H287XAN/knJk2A 6GKnuHnoXEBWdDRgvuWMRvMiSfaE66jcKsKcxBzslpLOuPDFN26QV+/8RCLNJWimiE5X niag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=FolcO0Lh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jz7si13803153ejb.455.2020.06.24.04.58.42; Wed, 24 Jun 2020 04:59:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=FolcO0Lh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389419AbgFXL53 (ORCPT + 99 others); Wed, 24 Jun 2020 07:57:29 -0400 Received: from hqnvemgate26.nvidia.com ([216.228.121.65]:19503 "EHLO hqnvemgate26.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388522AbgFXL52 (ORCPT ); Wed, 24 Jun 2020 07:57:28 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 24 Jun 2020 04:57:15 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Wed, 24 Jun 2020 04:57:27 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Wed, 24 Jun 2020 04:57:27 -0700 Received: from [10.26.73.205] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 24 Jun 2020 11:57:26 +0000 Subject: Re: linux-next: Tree for Jun 24 [build failure on arm64] To: Will Deacon , Shaokun Zhang CC: Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , linux-tegra References: <20200624165323.3dffcde5@canb.auug.org.au> <7a7e31a8-9a7b-2428-ad83-2264f20bdc2d@hisilicon.com> <20200624105528.GB6134@willie-the-truck> From: Jon Hunter Message-ID: Date: Wed, 24 Jun 2020 12:57:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200624105528.GB6134@willie-the-truck> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1592999835; bh=rOGvVUO5Jofmog2XlYA47AUYPd77eAO/iMznUOpsZTA=; h=X-PGP-Universal:Subject:To:CC:References:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:X-Originating-IP: X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=FolcO0Lhu102UNN+IOpFKapnSg1QpiGhx0+13N/cRopcM27ErziLlkX/cCH586W+R 9SQ9Hjv3LYB+o0qFGxJDBN8LDJSJ+x7JffjkWqoASG9sTA/grgUjrN86dnPm3vVAoT 05atCNOtOG8rqu76ihP+ZS877I7aC8T0JM+2ZNIomdxdagplu4XcibnxCf14+K1KOh E0csrlL//kHH8znL5/tlrwye/1iMBBzutvUIRBuow6kID9osQHebg6mI2osqR3EV0H 6GfOt1DlcHorgQ8tJGYhb4nzpO3/GKrb6u9PnqJSWMZUGjuTq3R7u5IjSZNlEYzNWY srcy8+o0nq6aw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24/06/2020 11:55, Will Deacon wrote: > On Wed, Jun 24, 2020 at 05:08:56PM +0800, Shaokun Zhang wrote: >> +Will Deacon, >> >> Hi Will, >> >> There's a build failure on arm64: >> >> CALL scripts/atomic/check-atomics.sh >> CALL scripts/checksyscalls.sh >> LD arch/arm64/kernel/vdso/vdso.so.dbg >> ld: unrecognized option '--no-eh-frame-hdr' >> ld: use the --help option for usage information >> arch/arm64/kernel/vdso/Makefile:64: recipe for target >> 'arch/arm64/kernel/vdso/vdso.so.dbg' failed >> make[1]: *** [arch/arm64/kernel/vdso/vdso.so.dbg] Error 1 >> arch/arm64/Makefile:175: recipe for target 'vdso_prepare' failed >> make: *** [vdso_prepare] Error 2 >> >> GCC version is followed: >> gcc (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609 >> >> It seems caused by >> 87676cfca141 arm64: vdso: Disable dwarf unwinding through the sigreturn >> trampoline > > Urgh, binutils quality strikes again. If you're able to reproduce locally, > can you try the diff below, please? All the linkers I have kicking around > seem to support --no-eh-frame-hdr. > > Will > > --->8 > > diff --git a/arch/arm64/kernel/vdso/Makefile b/arch/arm64/kernel/vdso/Makefile > index 1e5a940532da..97d3d3632093 100644 > --- a/arch/arm64/kernel/vdso/Makefile > +++ b/arch/arm64/kernel/vdso/Makefile > @@ -23,8 +23,9 @@ btildflags-$(CONFIG_ARM64_BTI_KERNEL) += -z force-bti > # potential future proofing if we end up with internal calls to the exported > # routines, as x86 does (see 6f121e548f83 ("x86, vdso: Reimplement vdso.so > # preparation in build-time C")). > -ldflags-y := -shared -nostdlib -soname=linux-vdso.so.1 --hash-style=sysv \ > - -Bsymbolic --no-eh-frame-hdr --build-id -n $(btildflags-y) -T > +ldflags-y := -shared -nostdlib -soname=linux-vdso.so.1 --hash-style=sysv \ > + -Bsymbolic $(call ld-option, --no-eh-frame-hdr) --build-id -n \ > + $(btildflags-y) -T > > ccflags-y := -fno-common -fno-builtin -fno-stack-protector -ffixed-x18 > ccflags-y += -DDISABLE_BRANCH_PROFILING > I am seeing the same build failure and the above does fix it for me. Thanks Jon -- nvpublic