From owner-freebsd-stable Sat Jun 29 14:15:35 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE82F37B405 for ; Sat, 29 Jun 2002 14:15:30 -0700 (PDT) Received: from servww6.ww.uni-erlangen.de (servww6.ww.uni-erlangen.de [131.188.238.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92D1B43E13 for ; Sat, 29 Jun 2002 14:15:29 -0700 (PDT) (envelope-from ardelean@ww.uni-erlangen.de) Received: from localhost (ardelean@localhost) by servww6.ww.uni-erlangen.de (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id g5TJLUO18961; Sat, 29 Jun 2002 21:21:30 +0200 Date: Sat, 29 Jun 2002 21:21:18 +0200 (CEST) From: Gheorghe Ardelean To: Thierry Herbelot Cc: Subject: Re: Problems installing STABLE In-Reply-To: <3D1E1CD7.B88F6A44@herbelot.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Hi, Sorry, but it seems that I was not very clear. So I am explaining what I've done, stepwise: 1) installed the PII (build machine) with i686 optimizations 2) cd /usr/src; make clean; make cleandir; AND removed /usr/obj/* (according to the instructions in handbook). 3) changed CPUTYPE to i586 in /etc/make.conf 4) cd /usr/src; make buildworld after buildworld finished ok. make installworld on a i586 and I was getting the errors. But this world is build with i586 so it should work! But it isn't! What I am doing wrong? > this is the normal behaviour : you have compiled all of your utilities > to use i686-specific optimizations (CPUTYPE=i686), then try to use one > of these utilities (the newly built "install") on an i586 machine, which > lacks some of the i686-specific instruction codes. > > I also recently did almost the same mistake, compiling an application on > a fast p-III, with i686 instruction codes, to see it dumping core when > run on a p5-200. > > there are two solutions : > > - compile your world and kernel with only the i586 optimizations, and > then share the same binaries between the i686 and i586 machines or > > - compile twice the world, once for i686 machines, and another time for > i586 machines > > TfH Regards, Gheorghe Ardelean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message