Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2050456ybi; Sat, 13 Jul 2019 05:49:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqypV+s4Dw0X4RL5POwh1Zeuv7thejU7RrisCTqkCQwQx+5hu5E9WH3S1loSuis6wOC8Vb7l X-Received: by 2002:a17:902:8c98:: with SMTP id t24mr18044324plo.320.1563022192079; Sat, 13 Jul 2019 05:49:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563022192; cv=none; d=google.com; s=arc-20160816; b=xAEoPz3Z0y8qEUwhHEXJnG0vv2cjdAPI96mcIhQVSCqKUtj4p4Bt5UZEm3H+51mBpH PIrLqnUY7rgXeSyRHS2uHBbTBKo6SqTfFQRwd453hbZ4sOXyLYTAaVWVEy9EEfaoYa3v uRBd1/qTngfj05o5Kviyabe5uyqZbYKN8l4SvWGClKPYD/T5N3d6KDCTuNTY57VfAZTc MNyZh6PjGnaodN5wi5IeoFwqpiLezUwQTu2qNxSh9Xp1XNmwrRt6xsNZEPQ2VUOuSc3M M/NprqYz6O/grzB6Uv08twWrDIAUkon1Nq/w0/2l8zh1Dfqk4qqB62mb44x3TF8Vlwcg j1IQ== 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=/w0BXh3cyCqdfQGlKKFVpc/qj1s25Q6/oOMu7ML58bg=; b=ytPI6pTakqRCs8LUgvz/6kDKmZcjqb4zeeXRITsbvXyIfnKYZzVw/TNOGYiNEa1aHi Hx7QrtopSqw9KrAAXGG9ZjWL4Vmw0s1l0+S/Vwlj/VcKz1LggTVpFhOC7RJjAGWO3sF0 mkm8jDCVxZvNR7dABIuGJgNOgIW5/4b8AeaDy9TYSz0KcbacsiKaiXFQELMy6pxn9UZB X6n7dNtbXWAY8RH0cmY2xQfhoAEZyFJFLowxCQmbKeI5HInUaw8C9RO64FoHZ3u6Y5kw MXCnyasdH450hhIkT9Up4VQ7mXtrZPZccmiOnZO/PczmKDDU50EQQm8L8AYgH0HlfxwX sv3Q== 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 j5si534054pgm.427.2019.07.13.05.49.36; Sat, 13 Jul 2019 05:49:52 -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 S1727782AbfGMMsV (ORCPT + 99 others); Sat, 13 Jul 2019 08:48:21 -0400 Received: from gate.crashing.org ([63.228.1.57]:56359 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727489AbfGMMsV (ORCPT ); Sat, 13 Jul 2019 08:48:21 -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 x6DCllDH011394; Sat, 13 Jul 2019 07:47:47 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id x6DCliDE011393; Sat, 13 Jul 2019 07:47:44 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Sat, 13 Jul 2019 07:47:44 -0500 From: Segher Boessenkool To: Masahiro Yamada Cc: Michael Ellerman , linuxppc-dev@lists.ozlabs.org, Stephen Rothwell , linux-kernel@vger.kernel.org, Nicholas Piggin , Paul Mackerras Subject: Re: [PATCH] powerpc: remove meaningless KBUILD_ARFLAGS addition Message-ID: <20190713124744.GS14074@gate.crashing.org> References: <20190713032106.8509-1-yamada.masahiro@socionext.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190713032106.8509-1-yamada.masahiro@socionext.com> 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 Sat, Jul 13, 2019 at 12:21:06PM +0900, Masahiro Yamada wrote: > The KBUILD_ARFLAGS addition in arch/powerpc/Makefile has never worked > in a useful way because it is always overridden by the following code > in the top Makefile: > > # use the deterministic mode of AR if available > KBUILD_ARFLAGS := $(call ar-option,D) > > The code in the top Makefile was added in 2011, by commit 40df759e2b9e > ("kbuild: Fix build with binutils <= 2.19"). > > The KBUILD_ARFLAGS addition for ppc has always been dead code from the > beginning. That was added in 43c9127d94d6 to replace my 8995ac870273 from 2007. Is it no longer supported to build a 64-bit kernel with a toolchain that defaults to 32-bit, or the other way around? And with non-native toolchains (this one didn't run on Linux, even). Segher