From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761909AbXKDCt3 (ORCPT ); Sat, 3 Nov 2007 22:49:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753689AbXKDCtV (ORCPT ); Sat, 3 Nov 2007 22:49:21 -0400 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:39289 "EHLO mailhub.stusta.mhn.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753294AbXKDCtU (ORCPT ); Sat, 3 Nov 2007 22:49:20 -0400 Date: Sun, 4 Nov 2007 03:48:56 +0100 From: Adrian Bunk To: Jeff Garzik Cc: Sam Ravnborg , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , LKML , Andrew Morton Subject: Re: [PATCH] replace "make ARCH=i386/x86_64 with make ARCH=x86" Message-ID: <20071104024856.GK12045@stusta.de> References: <20071103234826.GA26654@uranus.ravnborg.org> <472D282B.2000208@garzik.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <472D282B.2000208@garzik.org> User-Agent: Mutt/1.5.16 (2007-06-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 03, 2007 at 10:02:19PM -0400, Jeff Garzik wrote: > Sam Ravnborg wrote: >> This patchset unify the i386 and x86_64 Kconfig >> files for x86. >> In addition it replaces the use of ARCH=i386 and >> ARCH=x86_64 with the more intuitive ARCH=x86. >> The primary purpose of this patch serie is to enable make ARCH=x86 and let >> the config decide >> if we are building for 32 or 64 bit. > > Yuck, I dislike. Please don't take away this nice development workflow. > the current workflow of > > make ARCH=i386 allmodconfig && make ARCH=i386 -sj5 > > no longer works. Now, the new and ungainly step of editing the .config is > added, with vi or sed. You could say the same about allmodconfig and 32bit on powerpc. Or about allmodconfig and 64bit on mips. Or about allmodconfig and little endian on mips. Or about allmodconfig and drivers depending on !SMP on x86. ... > This also opens a chicken-and-egg problem... What kind of config is > generated by allmodconfig when ARCH==x86? There is no good answer. This option won't be different from all the other similar options allmodconfig already handles in a non-random way... > The existing tradition of switching between 32-bit and 64-bit was quite > nice, and it was done in The Obvious Way(tm) -- via the method for > specifying the architecture/platform. Switching to Kconfig for that > decision is a step backwards in usability and IMO violates the Principle of > Least Surprise. The existing tradition on the powerpc and mips ports that have 32bit and 64bit together in one directory is to switch in Kconfig, and doing it differently in the x86 port would violate the Principle of the Least Surprise. > Jeff cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed