From owner-freebsd-stable Fri May 31 10:31:35 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 D181E37B406 for ; Fri, 31 May 2002 10:31:26 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g4VHTbV89410; Fri, 31 May 2002 20:29:37 +0300 (EEST) (envelope-from ru) Date: Fri, 31 May 2002 20:29:37 +0300 From: Ruslan Ermilov To: Kris Kennaway Cc: Mattias Bj?rk , stable@FreeBSD.ORG Subject: Re: Problems when runing make installworld. Message-ID: <20020531172937.GB88599@sunbay.com> References: <20020528071935.GD53736@sunbay.com> <20020531090140.V40770-200000@thrawn.birch.se> <20020531102126.A28135@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uZ3hkaAS1mZxFaxD" Content-Disposition: inline In-Reply-To: <20020531102126.A28135@xor.obsecurity.org> 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 --uZ3hkaAS1mZxFaxD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 31, 2002 at 10:21:26AM -0700, Kris Kennaway 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=3D30276. > >=20 > > It says there that if you are building make world with a p3 and run mak= e 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 > The point is when you try and install a world built with different CPU > optimizations. I assume you have CPUTYPE set on your build machine; > this is what controls the optimizations that will be used when you > build world, so it's obviously not going to work when you compile your > binaries for a Pentium Pro and try and install them on a Pentium. >=20 No, the problem is worse. Even if you set CPUTYPE for the target, some tools (bootstrap-tools and cross-tools) are built with /usr/lib stuff. And your /usr/lib stuff might be built with an incompatible CPU stuff. This is much easier demonstrated with cross-arch builds/installs. These simply do not work now. You can't build TARGET_ARCH=3Dalpha world on i386, then NFS mount /usr/src and /usr/obj on alpha, and install world from there. For this to work, we must rebuild all bootstrap- and cross-tools that we use during installworld on the target. 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 --uZ3hkaAS1mZxFaxD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE897MBUkv4P6juNwoRAsx2AJ47YAzWadB5uPhN+26bCIY1KCOHpQCfa4f3 UCeVY7qS7yvtruGCIJcc/g4= =POxL -----END PGP SIGNATURE----- --uZ3hkaAS1mZxFaxD-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message