From owner-freebsd-stable Mon Sep 3 9:47:53 2001 Delivered-To: freebsd-stable@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id DD9AA37B403; Mon, 3 Sep 2001 09:47:04 -0700 (PDT) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.11.4/8.11.4) with ESMTP id f83Gl4600520; Mon, 3 Sep 2001 09:47:04 -0700 (PDT) (envelope-from marcel@kayak.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.11.6/8.11.3) id f83Gl2p00728; Mon, 3 Sep 2001 09:47:02 -0700 (PDT) (envelope-from marcel) Date: Mon, 3 Sep 2001 09:47:02 -0700 From: Marcel Moolenaar To: Eric Masson Cc: Larry Rosenman , John Baldwin , freebsd-stable@FreeBSD.org, qa@FreeBSD.org Subject: Re: cputype=486 Message-ID: <20010903094702.A554@dhcp01.pn.xcllnt.net> References: <20010901114903.D11062@athlon.pn.xcllnt.net> <20010901161054.B13047@athlon.pn.xcllnt.net> <20010902084832.B2510@lerami.lerctr.org> <20010902111131.B478@dhcp01.pn.xcllnt.net> <20010902163046.A26933@lerami.lerctr.org> <20010902144728.A41762@dhcp01.pn.xcllnt.net> <86elppyxhp.fsf@notbsdems.nantes.kisoft-services.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86elppyxhp.fsf@notbsdems.nantes.kisoft-services.com> User-Agent: Mutt/1.3.21i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Sep 03, 2001 at 01:38:26AM +0200, Eric Masson wrote: > >>>>> "Marcel" == Marcel Moolenaar writes: > > Marcel> You simply assumed that different processor models within the > Marcel> same architecture would be treated as different architectures. > Marcel> This is not the case. > > > > Wouldn't it be the easiest and costless method ? > > I think it would be better to keep the definition of architecture as it is but decorate it with model for build purposes. This means that you need a simple way to extract the arch+model string from the runtime environment so that you can use it in make(1). A build is then started by saying something like: make buildworld HOST_MACH=i386-p3 or make buildworld HOST_MACH=alpha-ev5 In this scenario, building on Pentium III (BUILD_MACH=i386-p3) for use on an i386 (HOST_MACH=i386-i386), where the install happens on the i386 itself (BUILD_MACH=i386-i386) would do the right thing. The tools built on the P3 will not be used during installation by the i386 machine itself. Consequently, we need to make sure that during install we check and optionally build the minimal set of tools we need during installation. This solution is not undoable, but needs care to implement and can easily take weeks or maybe months to do it right. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message