Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2002 20:32:11 +0300
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Stephen Hilton <nospam@hiltonbsd.com>
Cc:        freebsd-stable@freebsd.org, thrawn@linux.nu
Subject:   Re: Problems when runing make installworld.
Message-ID:  <20020531173211.GC88599@sunbay.com>
In-Reply-To: <20020531115553.3aff789f.nospam@hiltonbsd.com>
References:  <20020528071935.GD53736@sunbay.com> <20020531090140.V40770-200000@thrawn.birch.se> <20020531090156.GB27669@sunbay.com> <20020531115553.3aff789f.nospam@hiltonbsd.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Fri, May 31, 2002 at 11:55:53AM -0500, Stephen Hilton wrote:
> On Fri, 31 May 2002 12:01:56 +0300
> Ruslan Ermilov <ru@FreeBSD.ORG> wrote:
> 
> > 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=30276.
> > > 
> > > 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?
> > > 
> > Did you set CPUTYPE=i586 just before doing a buildworld?  Was it by
> > chance set to CPUTYPE=i686 before?
> > 
> > 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:
> > 
> > 1.  Rebuild and reinstall world/kernel on your build box with the
> >     compatible (with your install box) CPUTYPE setting like
> >     CPUTYPE=i586.
> > 
> > 2.  Reboot with the new kernel and world.
> > 
> > 3.  Build the world again (!).
> > 
> > 4.  Install this second world on a Pentium box.
> > 
> 
> Ruslan,
> 
> This is good information to have, but it brings to mind, how 
> do the release engineers build a release that will install 
> binaries, and then allow you to run a buildworld on machines 
> types from a Intel 386 to an AMD Athlon?
> 
> Is it a matter of using the lowest common denominator? and 
> the release building hardware is running the operating 
> system with out any optimizations?
> 
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 
> buildworlds and systems have been running great on 4.6-Pre,
> Great work and kudos to the Project members and contributers.
> 
Thanks.  :-)


Cheers,
-- 
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE897ObUkv4P6juNwoRAoBEAJ4yfrfrMno5TmqpUU2tf+DXFPLOMgCfbzZw
6w6hUxbXZxYv1vbjZ+pWdr4=
=VwkF
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020531173211.GC88599>