From owner-freebsd-current Mon May 27 23:59:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id B3D1637B407; Mon, 27 May 2002 23:59:26 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g4S6xGb54618; Tue, 28 May 2002 09:59:16 +0300 (EEST) (envelope-from ru) Date: Tue, 28 May 2002 09:59:16 +0300 From: Ruslan Ermilov To: "Greg 'groggy' Lehey" Cc: Maxim Sobolev , current@FreeBSD.org Subject: Re: World is broken Message-ID: <20020528065916.GA53736@sunbay.com> References: <3CF2185A.635D3709@FreeBSD.org> <20020527132254.GA85117@sunbay.com> <20020528100429.F16567@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline In-Reply-To: <20020528100429.F16567@wantadilla.lemis.com> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 28, 2002 at 10:04:29AM +0930, Greg 'groggy' Lehey wrote: > On Monday, 27 May 2002 at 16:22:54 +0300, Ruslan Ermilov wrote: > > On Mon, May 27, 2002 at 02:28:26PM +0300, Maxim Sobolev wrote: > >> Finally I have decided to give post gcc-3.1 perless world a > >> try, but found that world doesn't build. :(( The system in > >> question is 5-CURRENT makeworlded about a month ago. > >> > >> Any ideas? > >> > > Your /usr/include is hosed, well, actually your machine/stdarg.h > > is the broken version (rev. 1.12). Please manually install the > > revision 1.14 under /usr/include/machine/ and try again. >=20 > Why is the build using /usr/include? I thought it should use the > header files in the source tree. >=20 Running kernel, the contents of /usr/include and /usr/lib, the compiler and binutils are what constitute the so-called "host environment". Host environment is first used to build the new compiler and binutils (cross-tools), various tools that have compatibility issues (bootstrap-tools), and new libraries (using new headers), and the world is then re-built with this new set. Thus, having a good non-broken /usr/include and /usr/lib stuff, the non-broken compiler and binutils (that are compatible with your currently running kernel) are the must for the successful source builds. 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 --4Ckj6UjgE2iN1+kY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE88yrEUkv4P6juNwoRAkqIAJ93BZVAXp65As1I+OHF8Q1G9fLXOwCfZPyF NcdagiGjV9xe5m3MhzWZi14= =Zymm -----END PGP SIGNATURE----- --4Ckj6UjgE2iN1+kY-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message