Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp476065ybi; Tue, 16 Jul 2019 00:16:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqwO9UumAW1sXeOIgreK+QS4FQQBgu43QJSbgQIkil+gv2wdzKVfqNI5JNLx/qI92QwMpvxd X-Received: by 2002:a65:4044:: with SMTP id h4mr31775624pgp.164.1563261408416; Tue, 16 Jul 2019 00:16:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563261408; cv=none; d=google.com; s=arc-20160816; b=Z87h9Nth/ipguHxXwTKhltgCMBI2vFk1NnK+EOJ3C1+uFznlkZCTqZ2SBx59MF33ts AfbCWLHo8A8xcb5RjnpLRyVClRTxaL6Gxcm4Pk0Wl+q1CIsDS9hETO5IwHGFi7JJLCgz hZmq4EabAd9hW/oIRFW0SCnoQf9V78QFZrqDD2aUKLpIwU/WGpG9YIIqWUNqhcZYRvxy t4mWHruCnP3V2dkE3XklyQhD3gmeGMpdnGqqJ3Jqsfc1yZ/O6h0Sp24niPN0x9rqxlT0 u+Ytu8x/EKvK9+JtONWtEoqUxb4syo7hQziMNiUfBoqwofaSAzGd3DzTrOMVuI7rEZJ+ OEhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=QcVnV9OLob7IvgKHrnhoRO7gO5UasK9/m6KCahUPQwk=; b=nuiqVZOQ9vHOu1Ico9B2P/XSxIVaWAD+cTDqlTmS8N7CO7md/4fJcHm0D1v/Q9d019 7HkeMuFcGaxBnlgskboHeEx6Cd7bADcbJBBcARXnFZAhcpJ7CfePJ6OwrDI9mQQ/rkzl nJPy9lpbCAJgu21T6ATsayRZEAi4kANExeKOzO2q+6BSXsExdmpT1DegPKgIKVvbYbWc xBDV6PYsbemUxGF3HINSyphKM8JSn2UEtWddpgrJUtBui1dRujZbJnlOoBdNE6R6mg0J VaYEGfWeDRknPxd6yaWb57leXGKxkGyIRJKS9gJdnOEVtF9tbI19MXlG2BjXHeERaUj2 BWvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Pnlxllme; 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 w10si17245435plq.403.2019.07.16.00.16.19; Tue, 16 Jul 2019 00:16:48 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Pnlxllme; 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 S1726543AbfGPHPV (ORCPT + 99 others); Tue, 16 Jul 2019 03:15:21 -0400 Received: from conssluserg-04.nifty.com ([210.131.2.83]:45493 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726385AbfGPHPV (ORCPT ); Tue, 16 Jul 2019 03:15:21 -0400 Received: from mail-vs1-f52.google.com (mail-vs1-f52.google.com [209.85.217.52]) (authenticated) by conssluserg-04.nifty.com with ESMTP id x6G7FBNZ010098 for ; Tue, 16 Jul 2019 16:15:12 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com x6G7FBNZ010098 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1563261313; bh=QcVnV9OLob7IvgKHrnhoRO7gO5UasK9/m6KCahUPQwk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=PnlxllmeJqxxA6vs4lAjBUgs+Anv5Eb756kryUMe+Wzm6rIjk8nZSInxbfdscQOdG as+UaeR/Cz0lQ4tlEB1hHgm1svWpEl/MlJF7F0WgohHeAlb6iX8mhuMnW5X4qOke76 X+gg+nSWOB0hf5JrJdpHdgXPlmofJrExLOipgLUIQmWjqlzX4b+AEqUiRtDPIRNhDq X1CvBKsXsRyHhdg+d/g6+qPQXuBsPBxTI85pxwNvej/0uNDPEsKXXA70sKdlcHjbgh ZGbOGqjtual2KueHxPUzSixgn0Q6rXMoOVgWVsvpjc1a9qX+/Ei08llwP74ALYoP+C zAMrJLT/W81/w== X-Nifty-SrcIP: [209.85.217.52] Received: by mail-vs1-f52.google.com with SMTP id a186so11574943vsd.7 for ; Tue, 16 Jul 2019 00:15:12 -0700 (PDT) X-Gm-Message-State: APjAAAXxIZzuzF+p0i7Ddsn1cysYXVcEsbyZHkeiaZGNK7M+1HoG73Dh 7TTaq42YedrH6NtUx97VvDJZ2vGqi45jUEjGIWk= X-Received: by 2002:a67:fc45:: with SMTP id p5mr18947906vsq.179.1563261310985; Tue, 16 Jul 2019 00:15:10 -0700 (PDT) MIME-Version: 1.0 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> <20190715181618.GG20882@gate.crashing.org> In-Reply-To: <20190715181618.GG20882@gate.crashing.org> From: Masahiro Yamada Date: Tue, 16 Jul 2019 16:14:34 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] powerpc: remove meaningless KBUILD_ARFLAGS addition To: Segher Boessenkool Cc: Michael Ellerman , Stephen Rothwell , Linux Kernel Mailing List , Nicholas Piggin , Paul Mackerras , linuxppc-dev Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 16, 2019 at 3:16 AM Segher Boessenkool wrote: > > 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. Ah, I see! I had missed the space being required. Since I cannot test old binutils, I will leave this to ppc people. -- Best Regards Masahiro Yamada