From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asBBu-0001va-Nh for qemu-devel@nongnu.org; Mon, 18 Apr 2016 11:34:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asBBp-00077h-OZ for qemu-devel@nongnu.org; Mon, 18 Apr 2016 11:34:22 -0400 Received: from e06smtp07.uk.ibm.com ([195.75.94.103]:45963) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asBBp-00077I-Fk for qemu-devel@nongnu.org; Mon, 18 Apr 2016 11:34:17 -0400 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 18 Apr 2016 16:34:15 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id E27712190061 for ; Mon, 18 Apr 2016 16:33:49 +0100 (BST) Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u3IFYB3I8520166 for ; Mon, 18 Apr 2016 15:34:11 GMT Received: from d06av01.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u3IFYBFT004748 for ; Mon, 18 Apr 2016 09:34:11 -0600 Date: Mon, 18 Apr 2016 17:34:09 +0200 From: Cornelia Huck Message-ID: <20160418173409.44564649.cornelia.huck@de.ibm.com> In-Reply-To: <20160418165116.4a27b947.cornelia.huck@de.ibm.com> References: <1460044433-19282-1-git-send-email-sergey.fedorov@linaro.org> <1460044433-19282-3-git-send-email-sergey.fedorov@linaro.org> <20160418165116.4a27b947.cornelia.huck@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 02/11] pc-bios/s390-ccw: Use correct strip when cross-compiling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sergey Fedorov Cc: qemu-devel@nongnu.org, Alex =?UTF-8?B?QmVubsOpZQ==?= , Sergey Fedorov , Paolo Bonzini , Peter Crosthwaite , Richard Henderson , Christian Borntraeger , Alexander Graf On Mon, 18 Apr 2016 16:51:16 +0200 Cornelia Huck wrote: > On Thu, 7 Apr 2016 18:53:44 +0300 > Sergey Fedorov wrote: > > > From: Sergey Fedorov > > > > Signed-off-by: Sergey Fedorov > > Signed-off-by: Sergey Fedorov > > --- > > pc-bios/s390-ccw/Makefile | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/pc-bios/s390-ccw/Makefile b/pc-bios/s390-ccw/Makefile > > index 4208cb429593..5ce6d4ccbaf5 100644 > > --- a/pc-bios/s390-ccw/Makefile > > +++ b/pc-bios/s390-ccw/Makefile > > @@ -20,7 +20,7 @@ s390-ccw.elf: $(OBJECTS) > > $(call quiet-command,$(CC) $(LDFLAGS) -o $@ $(OBJECTS)," Building $(TARGET_DIR)$@") > > > > s390-ccw.img: s390-ccw.elf > > - $(call quiet-command,strip --strip-unneeded $< -o $@," Stripping $(TARGET_DIR)$@") > > + $(call quiet-command,$(STRIP) --strip-unneeded $< -o $@," Stripping $(TARGET_DIR)$@") > > > > $(OBJECTS): Makefile > > > > Thanks, applied to s390-next. Uhm, scratch that. This fails to build with --disable-strip, as $STRIP is unset in that case: Building s390-ccw/s390-ccw.elf Stripping s390-ccw/s390-ccw.img /bin/sh: --strip-unneeded: command not found make[1]: *** [s390-ccw.img] Error 127 The catch is that we always want to strip that binary. Care to send a patch that deals with that?