Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4587170ybi; Mon, 15 Jul 2019 11:17:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqzlYvlqWVD80M6xIcVdmwZn7hBKtGObImfFjoccXgPA+WVZkUDdx9nE0gTjKm9iezfEGVgV X-Received: by 2002:a17:90a:d14b:: with SMTP id t11mr30741162pjw.79.1563214646138; Mon, 15 Jul 2019 11:17:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563214646; cv=none; d=google.com; s=arc-20160816; b=xlHeBFdFxKkGpy/vqrIu//rKZ9wUOsAxVY8OAiphzgJPpCGbKTA3hI5iuQnhbdIaoQ gp/kQI37MPGAuF6F7FJj+zLil1AM9Cm76BAq9i6gSVsGfomwQ/hss2VjA3HI/SZOUqiq tEcecVwwEgxQvQ60eZdvBhJTvZvJXkr1V0QtKxX55RPbEqSOpfijY8iq0F7DayJu5Ul/ ZS8w5L6aoKEtpvILtuHB7e5PcQt4VZx1ahi0enLZIACZzxdFwb/QCR4oJFh7O2wxCwEM xxSMJSCuynvBhgogYX1qMlnV2ASqAJrC114MV5TRjo1uNYfdYdVMBVAvK3EQNkDNxqcr nEBg== 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=y0Ew+BoZrBTnx4B0THxmTSXJbF74XjE5dMyFAFpzlxU=; b=TOMrvKx/lDY+irhlxcLbqchUg9yUaBxR7UPDOYcO3I3qtmnhSPOu6xv+XCBOlfKCR7 QBQznKN3qrsv6THYdiJ8WF6rYPXJZl8Zybeupt8V910WojiVUQr+OqCuM/DFiaynbVZV mwtkPHWJL9C+ci0CQmgvPMXjIqNgHP/Sm+NBLtYio+fGhCRTTcD+E/kSuRpfRRW23Www aoDuVYK5oeu9FLrhlROl2ws4rVv6w+WkADTYtFqWGIRSt9XqwcAdmKieuFQQAP0Ohe9O TJFHfuf6vDcR9CswIXHKBHwrplvkh2MZyga6Zdb0wcW6Kmxo01BObve8aBgWviFJ1h1S GAjQ== 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 l191si16787808pge.94.2019.07.15.11.17.09; Mon, 15 Jul 2019 11:17:26 -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 S1731988AbfGOSQp (ORCPT + 99 others); Mon, 15 Jul 2019 14:16:45 -0400 Received: from gate.crashing.org ([63.228.1.57]:53430 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729513AbfGOSQo (ORCPT ); Mon, 15 Jul 2019 14:16:44 -0400 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id x6FIGLFP018897; Mon, 15 Jul 2019 13:16:21 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id x6FIGJFp018896; Mon, 15 Jul 2019 13:16:19 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Mon, 15 Jul 2019 13:16:18 -0500 From: Segher Boessenkool To: Masahiro Yamada Cc: Michael Ellerman , Stephen Rothwell , Linux Kernel Mailing List , Nicholas Piggin , Paul Mackerras , linuxppc-dev Subject: Re: [PATCH] powerpc: remove meaningless KBUILD_ARFLAGS addition Message-ID: <20190715181618.GG20882@gate.crashing.org> References: <20190713032106.8509-1-yamada.masahiro@socionext.com> <20190713124744.GS14074@gate.crashing.org> <20190713131642.GU14074@gate.crashing.org> <20190713235430.GZ14074@gate.crashing.org> <87v9w393r5.fsf@concordia.ellerman.id.au> <20190715072959.GB20882@gate.crashing.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 15, 2019 at 09:03:46PM +0900, Masahiro Yamada wrote: > On Mon, Jul 15, 2019 at 4:30 PM Segher Boessenkool > wrote: > > > > On Mon, Jul 15, 2019 at 05:05:34PM +1000, Michael Ellerman wrote: > > > Segher Boessenkool writes: > > > > Yes, that is why I used the environment variable, all binutils work > > > > with that. There was no --target option in GNU ar before 2.22. > > I use binutils 2.30 > It does not understand --target option. > > $ powerpc-linux-ar --version > GNU ar (GNU Binutils) 2.30 > Copyright (C) 2018 Free Software Foundation, Inc. > This program is free software; you may redistribute it under the terms of > the GNU General Public License version 3 or (at your option) any later version. > This program has absolutely no warranty. > > If I give --target=elf$(BITS)-$(GNUTARGET) option, I see this: > powerpc-linux-ar: -t: No such file or directory You need to provide a valid command line, like $ powerpc-linux-ar tv smth.a --target=elf32-powerpc ar is a bit weird. Segher