From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 1 08:03:16 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 32AB716A420 for ; Wed, 1 Mar 2006 08:03:16 +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 4EDE643D48 for ; Wed, 1 Mar 2006 08:03:14 +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 k2183DIx037057; Wed, 1 Mar 2006 10:03:13 +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 02607-05; Wed, 1 Mar 2006 10:02:46 +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 k2182fJK037044 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Mar 2006 10:02:41 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id k2182qqs029404; Wed, 1 Mar 2006 10:02:52 +0200 (EET) (envelope-from ru) Date: Wed, 1 Mar 2006 10:02:52 +0200 From: Ruslan Ermilov To: Alex Semenyaka Message-ID: <20060301080252.GA29183@ip.net.ua> References: <20060226155009.GB6435@comp.chem.msu.su> <20060226185721.GF42677@ip.net.ua> <20060228044520.GB35526@stupid.rinet.ru> <20060228081911.GB42213@ip.net.ua> <20060301030226.GA48831@snark.rinet.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline In-Reply-To: <20060301030226.GA48831@snark.rinet.ru> User-Agent: Mutt/1.5.11 X-Virus-Scanned: amavisd-new at ip.net.ua Cc: 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: Wed, 01 Mar 2006 08:03:16 -0000 --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 01, 2006 at 06:02:26AM +0300, Alex Semenyaka wrote: > On Tue, Feb 28, 2006 at 10:19:11AM +0200, Ruslan Ermilov wrote: > > > Isn't is reasonable to add corresponding optional functionality > > > into the buld process? > > No. >=20 > Why? :) >=20 I think I've explained this in the non-quoted here part. > > > For example, if -DSTATIC_TOOLCHAIN (or > > > pick any other name) is set, then: > > > 1) build toolchain statically linked > > This is already the case (${XMAKE} has -DNO_SHARED). >=20 > Oh, great. Could we also add -DNO_MAKE_CONF then? > Or at least -DTOOLCHAIN_NO_MAKE_CONF :) > That's would be enough. Or do I miss something? >=20 What problem are you trying to attack, I fail to see? -DNO_CPU_CFLAGS is already there, if that's what you mean: BMAKE=3D MAKEOBJDIRPREFIX=3D${WORLDTMP} \ ${BMAKEENV} ${MAKE} -f Makefile.inc1 \ DESTDIR=3D \ BOOTSTRAPPING=3D${OSRELDATE} \ -DNO_HTML -DNO_INFO -DNO_LINT -DNO_MAN -DNO_NLS -DNO_PIC \ -DNO_PROFILE -DNO_SHARED -DNO_CPU_CFLAGS -DNO_WARNS ^^^^^^^^^^^^^^^ XMAKE=3D TOOLS_PREFIX=3D${WORLDTMP} ${BMAKE} -DNO_FORTRAN -DNO_GDB ^^^^^^^^ =2E.. and has the following effect: $ make -V CFLAGS CPUTYPE=3Dopteron=20 -O2 -fno-strict-aliasing -pipe -march=3Dopteron $ make -V CFLAGS CPUTYPE=3Dopteron -DNO_CPU_CFLAGS -O2 -fno-strict-aliasing -pipe But it doesn't really matter since building host's libraries that ARE used to build toolchain might have been built using optimized CFLAGS. See other posts where people go into more details what should be the conditions to allow NFS-mounted src/ installs. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEBVUsqRfpzJluFF4RAgdPAJ9dc549CXadWb3tV3i9Zk1XC5Xh+ACfYCv2 mO14TX0UC+Eq3fivBjwiCc8= =ABTn -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm--