From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 28 08:19:38 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9568D16A420 for ; Tue, 28 Feb 2006 08:19:38 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6D8443D46 for ; Tue, 28 Feb 2006 08:19:37 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id k1S8J48u076676; Tue, 28 Feb 2006 10:19:04 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ip.net.ua [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 15849-05; Tue, 28 Feb 2006 10:19:04 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id k1S8J1ug076670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 Feb 2006 10:19:01 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id k1S8JBZT036247; Tue, 28 Feb 2006 10:19:11 +0200 (EET) (envelope-from ru) Date: Tue, 28 Feb 2006 10:19:11 +0200 From: Ruslan Ermilov To: Alex Semenyaka Message-ID: <20060228081911.GB42213@ip.net.ua> References: <20060226155009.GB6435@comp.chem.msu.su> <20060226185721.GF42677@ip.net.ua> <20060228044520.GB35526@stupid.rinet.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cmJC7u66zC7hs+87" Content-Disposition: inline In-Reply-To: <20060228044520.GB35526@stupid.rinet.ru> User-Agent: Mutt/1.5.11 X-Virus-Scanned: amavisd-new at ip.net.ua Cc: Yar Tikhiy , hackers@freebsd.org Subject: Re: world's toolchain & CPUTYPE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2006 08:19:38 -0000 --cmJC7u66zC7hs+87 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 28, 2006 at 07:45:20AM +0300, Alex Semenyaka wrote: > On Sun, Feb 26, 2006 at 08:57:21PM +0200, Ruslan Ermilov wrote: > > More details: during the install, part of the toolchain and > > some special install tools that were built on the "build" > > host are used. They have been built using that host's > > toolchain, CFLAGS, libraries, etc., but libraries is the > > most important factor. That means that the "install" host > > should be CPU/syscall/etc. compatible with the "build" >=20 > Isn't is reasonable to add corresponding optional functionality > into the buld process? >=20 No. > For example, if -DSTATIC_TOOLCHAIN (or > pick any other name) is set, then: >=20 > 1) build toolchain statically linked >=20 This is already the case (${XMAKE} has -DNO_SHARED). > 2) use newly built libraries to link instead of libraries of > "build" host >=20 Impossible. The tools are built "to be run on the build host". (Some of them are also run on the install host, e.g. strip(1)). Also, you cannot link with new libraries before you built them, and these tools are needed to build the new libraries. > It does not look dangerous, and it will break nothing since > administrator will hav to take special action to turn it on. >=20 It's certainly dangerous. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --cmJC7u66zC7hs+87 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEBAd/qRfpzJluFF4RAnOtAJ9R0q3cpuPwQR+xJYGCItb8IoA0GwCeKXTw 5oePesPDA+pWFegeUjvZ31U= =9BnG -----END PGP SIGNATURE----- --cmJC7u66zC7hs+87--