From owner-freebsd-current@FreeBSD.ORG Mon Mar 22 20:48:23 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB92E106566C for ; Mon, 22 Mar 2010 20:48:23 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout026.mac.com (asmtpout026.mac.com [17.148.16.101]) by mx1.freebsd.org (Postfix) with ESMTP id A4D1C8FC08 for ; Mon, 22 Mar 2010 20:48:23 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp026.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KZP00E05B4J7K60@asmtp026.mac.com>; Mon, 22 Mar 2010 13:48:20 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1003220252 From: Marcel Moolenaar In-reply-to: <20100322175213.GA87475@dragon.NUXI.org> Date: Mon, 22 Mar 2010 13:48:19 -0700 Message-id: <18331E07-2DEA-43C7-A0BF-5B3A2E827FDB@mac.com> References: <4B9E332D.3090909@stillbilde.net> <4B9E5992.6020207@elischer.org> <20100322175213.GA87475@dragon.NUXI.org> To: obrien@freebsd.org X-Mailer: Apple Mail (2.1077) Cc: freebsd-current@freebsd.org Subject: Re: [PATCH] rename COMPAT_FREEBSD32 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2010 20:48:23 -0000 On Mar 22, 2010, at 10:52 AM, David O'Brien wrote: > On Mon, Mar 15, 2010 at 09:00:18AM -0700, Julian Elischer wrote: >> I certainly agree.. can it be changed please? > > I've waited a while to see what other opinions would be expressed on this > topic. I believe there is sufficient support to rename COMPAT_FREEBSD32 > to something else based on responses in the mailing lists. > > I am sorry if some may wish to label this a "bikeshead". But we seem to > have many folks disliking "COMPAT_FREEBSD32". > > > Based on responses to the topic of COMPAT_FREEBSD32, the following > were the suggestions offered: > COMPAT_ARCH32, COMPAT_ARCH_32BIT, COMPAT_32BIT_ARCH, COMPAT_32BIT, > COMPAT_FREEBSD32BIT There's probably a bigger problem than just how we name it. The option really encodes 2 independent aspects: 1. Support for a 32-bit ABI (i.e. ILP32) 2. Support for a particular OS in ILP32. Of course 2 implies 1. For example: COMPAT_IA32 in sys/ia64/ia64/machdep.c enabled code to save and restore IA32 registers as part of cpu_switch(). In this context COMPAT_IA32 was perfectly named. It's now called COMPAT_FREEBSD32, which doesn't make a lot of sense because what if I only want to support Linux/ia32 and not FreeBSD/ia32 (or vice-versa if you club them under a single COMPAT_*32)? -- Marcel Moolenaar xcllnt@mac.com