Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2075737ybi; Sat, 13 Jul 2019 06:19:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUn9oFkUYFJwYANPhKYoNP4+A6dZ5QnOOKqb4VeOx01DjwVI4MR0RYjKF2XHHp0G5FWZ/6 X-Received: by 2002:a63:221f:: with SMTP id i31mr17346344pgi.251.1563023994575; Sat, 13 Jul 2019 06:19:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563023994; cv=none; d=google.com; s=arc-20160816; b=pD8K55OlGn6ckIzBIWQAaPBXGOxoLi0n5bE0KtMJHDUy8j6DIqgoZYQG6N/Im/idPP mInA94aekewuGhHcNKuRoL1Az4bFfSJJ6l+8j6Aq8hUAvNFa9bOic75oeac/xlqDMIJp kxj+RvuQSwvUb805PgC2GjqU67vtQ6oXvUP4fQTlDofuiv5Kpn4PV2S80tbTC3bcF8gX DUbxGGuxiuwVbDUz6QUkBXPaWx8JBsLHW/frimy9fb6D4Ajh0rOemXeS3npHvcYwGWfy 1Av1taQUFoU86WRz0UTsbG969KFBSz8yukGRPSX4wsOeOkykWidQGAz6ldfOrvjgj1KZ DujQ== 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=vATXgNmwp7/Acjhw0m+q8xsOzbMX7uTjtvatIux8g5g=; b=0Nz3QqYYLjeqJFBStnvduQ50GWl5Pko5gqcQ5wQaWHK0MzVHRgK7zWiqVWq2kQ65Er nMyoxWkToR0bCBdSPw9Wcd9bzv1gBq0lZl9xFcZhzgjVPzkmuFAUKVVhLlHYrXiUBVbH nm8qHbHaN4wlbzC+ecQfzOC1o++RLHggiCwDf/EbLJo0LZxEeBTUa97SDeLbaPYawNRY er1HBKkUa8QoM/csZWZQRCyFVcQcNaTOzjK03teRRK5DKNo6NraVYMMuR6On4NcsFSPt Mi8Xg0LjkF7MrCNmywUgMr26EwXYX89ArYxkSbO8aQlpeKF2ukLfaZGr3yqFnBWbfPn2 g9Vw== 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 f6si10764392pgc.123.2019.07.13.06.19.39; Sat, 13 Jul 2019 06:19:54 -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 S1727809AbfGMNRG (ORCPT + 99 others); Sat, 13 Jul 2019 09:17:06 -0400 Received: from gate.crashing.org ([63.228.1.57]:40756 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727768AbfGMNRF (ORCPT ); Sat, 13 Jul 2019 09:17:05 -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 x6DDGjIS013036; Sat, 13 Jul 2019 08:16:45 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id x6DDGhtO013034; Sat, 13 Jul 2019 08:16:43 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Sat, 13 Jul 2019 08:16:43 -0500 From: Segher Boessenkool To: Masahiro Yamada Cc: Stephen Rothwell , linux-kernel@vger.kernel.org, Nicholas Piggin , Paul Mackerras , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH] powerpc: remove meaningless KBUILD_ARFLAGS addition Message-ID: <20190713131642.GU14074@gate.crashing.org> References: <20190713032106.8509-1-yamada.masahiro@socionext.com> <20190713124744.GS14074@gate.crashing.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190713124744.GS14074@gate.crashing.org> 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 07:47:44AM -0500, Segher Boessenkool wrote: > 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). It was an --enable-targets=all toolchain, somewhat common for crosses, if that matters. Segher