From patchwork Thu Nov 24 15:02:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thiago Jung Bauermann X-Patchwork-Id: 698875 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tPjCP56m2z9t0H for ; Fri, 25 Nov 2016 02:04:01 +1100 (AEDT) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3tPjCP4MzVzDw5h for ; Fri, 25 Nov 2016 02:04:01 +1100 (AEDT) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3tPjB41z1XzDw5R for ; Fri, 25 Nov 2016 02:02:52 +1100 (AEDT) Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id uAOExJx1089511 for ; Thu, 24 Nov 2016 10:02:49 -0500 Received: from e24smtp04.br.ibm.com (e24smtp04.br.ibm.com [32.104.18.25]) by mx0a-001b2d01.pphosted.com with ESMTP id 26wy6j7ccg-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 24 Nov 2016 10:02:49 -0500 Received: from localhost by e24smtp04.br.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 24 Nov 2016 13:02:46 -0200 Received: from d24dlp01.br.ibm.com (9.18.248.204) by e24smtp04.br.ibm.com (10.172.0.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 24 Nov 2016 13:02:45 -0200 Received: from d24relay02.br.ibm.com (d24relay02.br.ibm.com [9.18.232.42]) by d24dlp01.br.ibm.com (Postfix) with ESMTP id 7961E3520068 for ; Thu, 24 Nov 2016 10:02:15 -0500 (EST) Received: from d24av05.br.ibm.com (d24av05.br.ibm.com [9.18.232.44]) by d24relay02.br.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id uAOF2iRe21102700 for ; Thu, 24 Nov 2016 13:02:44 -0200 Received: from d24av05.br.ibm.com (localhost [127.0.0.1]) by d24av05.br.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id uAOF2h4D013708 for ; Thu, 24 Nov 2016 13:02:44 -0200 Received: from morokweng.localnet ([9.85.175.93]) by d24av05.br.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id uAOF2gG5013694; Thu, 24 Nov 2016 13:02:43 -0200 From: Thiago Jung Bauermann To: Stephen Rothwell Subject: Re: linux-next: build failure after merge of the akpm-current tree Date: Thu, 24 Nov 2016 13:02:39 -0200 User-Agent: KMail/5.1.3 (Linux/4.4.0-47-generic; KDE/5.23.0; x86_64; ; ) In-Reply-To: <20161124160151.20206af7@canb.auug.org.au> References: <20161124160151.20206af7@canb.auug.org.au> MIME-Version: 1.0 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16112415-0028-0000-0000-0000017484A2 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16112415-0029-0000-0000-0000146E876A Message-Id: <9443137.1vHEJqnA2s@morokweng> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-11-24_04:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1609300000 definitions=main-1611240263 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, linux-next@vger.kernel.org, Andrew Morton , PowerPC Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Hello Stephen, Am Donnerstag, 24. November 2016, 16:01:51 BRST schrieb Stephen Rothwell: > Hi Andrew, > > After merging the akpm-current tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > powerpc-linux-ld: unrecognized option '--no-dynamic-linker' > > Caused by patch > > "powerpc: add purgatory for kexec_file_load implementation" > Sorry about that. --no-dynamic-linker was added in binutils 2.26. The patch below fixes the problem. diff --git a/arch/powerpc/purgatory/Makefile b/arch/powerpc/purgatory/Makefile index 2dfb53ac9944..cf6e78b9af86 100644 --- a/arch/powerpc/purgatory/Makefile +++ b/arch/powerpc/purgatory/Makefile @@ -6,8 +6,10 @@ purgatory-y := purgatory.o string.o v2wrap.o purgatory-ppc64.o crtsavres.o \ targets += $(purgatory-y) PURGATORY_OBJS = $(addprefix $(obj)/,$(purgatory-y)) -LDFLAGS_purgatory.ro := -pie --no-dynamic-linker -e purgatory_start \ - --no-undefined -nostartfiles -nostdlib -nodefaultlibs +LDFLAGS_purgatory.ro := -pie -e purgatory_start --no-undefined -nostartfiles \ + -nostdlib -nodefaultlibs +LDFLAGS_purgatory.ro += $(call ld-option, --no-dynamic-linker) + targets += purgatory.ro KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_FTRACE), $(KBUILD_CFLAGS))