From owner-freebsd-stable Fri May 31 10:32:49 2002 Delivered-To: freebsd-stable@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 76F8437B400 for ; Fri, 31 May 2002 10:32:39 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g4VHWBc89680; Fri, 31 May 2002 20:32:11 +0300 (EEST) (envelope-from ru) Date: Fri, 31 May 2002 20:32:11 +0300 From: Ruslan Ermilov To: Stephen Hilton Cc: freebsd-stable@freebsd.org, thrawn@linux.nu Subject: Re: Problems when runing make installworld. Message-ID: <20020531173211.GC88599@sunbay.com> References: <20020528071935.GD53736@sunbay.com> <20020531090140.V40770-200000@thrawn.birch.se> <20020531090156.GB27669@sunbay.com> <20020531115553.3aff789f.nospam@hiltonbsd.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GZVR6ND4mMseVXL/" Content-Disposition: inline In-Reply-To: <20020531115553.3aff789f.nospam@hiltonbsd.com> User-Agent: Mutt/1.3.99i 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 --GZVR6ND4mMseVXL/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 31, 2002 at 11:55:53AM -0500, Stephen Hilton wrote: > On Fri, 31 May 2002 12:01:56 +0300 > Ruslan Ermilov wrote: >=20 > > On Fri, May 31, 2002 at 09:06:23AM +0200, Mattias Bj?rk wrote: > > > Hi, Again, thanks for the answer, i read > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D30276. > > >=20 > > > It says there that if you are building make world with a p3 and run > > > make installworld on a 486 you get this error. But I don't have a > > > p3 I have a dual celeron, I have also attached my make.conf from > > > the building machine. And its a p90 that Im makeing the make > > > worldinstall on. But any way the problem seams too be the same or > > > am I wrong? > > >=20 > > Did you set CPUTYPE=3Di586 just before doing a buildworld? Was it by > > chance set to CPUTYPE=3Di686 before? > >=20 > > If that's the case, your /usr/lib stuff on the build box has some P6 > > CPU instructions, and some tools (like install(1) and strip(1)) that > > are used during installworld on your Pentium box use these libraries > > and fail. To work around this, you'll have to: > >=20 > > 1. Rebuild and reinstall world/kernel on your build box with the > > compatible (with your install box) CPUTYPE setting like > > CPUTYPE=3Di586. > >=20 > > 2. Reboot with the new kernel and world. > >=20 > > 3. Build the world again (!). > >=20 > > 4. Install this second world on a Pentium box. > >=20 >=20 > Ruslan, >=20 > This is good information to have, but it brings to mind, how=20 > do the release engineers build a release that will install=20 > binaries, and then allow you to run a buildworld on machines=20 > types from a Intel 386 to an AMD Athlon? >=20 > Is it a matter of using the lowest common denominator? and=20 > the release building hardware is running the operating=20 > system with out any optimizations? >=20 Yes. "make release" builds the world in a "pristine", chroot(8) environment, where /etc/make.conf is empty. See release(7) for details. > P.S. and to keep this "On-Topic" for the stable list, my=20 > buildworlds and systems have been running great on 4.6-Pre, > Great work and kudos to the Project members and contributers. >=20 Thanks. :-) Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --GZVR6ND4mMseVXL/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE897ObUkv4P6juNwoRAoBEAJ4yfrfrMno5TmqpUU2tf+DXFPLOMgCfbzZw 6w6hUxbXZxYv1vbjZ+pWdr4= =VwkF -----END PGP SIGNATURE----- --GZVR6ND4mMseVXL/-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message