From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FkGv5-0000FF-K9 for garchives@archives.gentoo.org; Sun, 28 May 2006 08:46:44 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k4S8hdWH027078; Sun, 28 May 2006 08:43:39 GMT Received: from mail-relay-3.tiscali.it (mail-relay-3.tiscali.it [213.205.33.43]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k4S8hcSs020668 for ; Sun, 28 May 2006 08:43:38 GMT Received: from c1358217.kevquinn.com (84.222.84.254) by mail-relay-3.tiscali.it (7.3.104) id 44329D4C00669353 for gentoo-hardened@lists.gentoo.org; Sun, 28 May 2006 10:43:37 +0200 Date: Sun, 28 May 2006 10:52:34 +0200 From: "Kevin F. Quinn" To: gentoo-hardened@lists.gentoo.org Subject: Re: [gentoo-hardened] distcc and mixed hardened/vanilla toolchains Message-ID: <20060528105234.1f1f4a61@c1358217.kevquinn.com> In-Reply-To: <200605280154.22720.jon@skanes.ca> References: <200605191320.46897.jon@skanes.ca> <20060522210110.7a2872d9@c1358217.kevquinn.com> <200605280154.22720.jon@skanes.ca> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.12; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-hardened@gentoo.org Reply-to: gentoo-hardened@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/rRJ4b/9QWECudPqw6/nbI6"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: e60afe8b-2deb-47bf-85c5-78abf02a938c X-Archives-Hash: 12a7d4770591e58f5f42ad9730ac7acd --Sig_/rRJ4b/9QWECudPqw6/nbI6 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 28 May 2006 01:54:22 -0230 Jonathan Skanes wrote: > On May 22, 2006 16:31, Kevin F. Quinn wrote: >=20 > > > If so, do i change the gcc profile on the > > > hardened machines to vanilla before emerging? > > > > That's the only way that will work with distcc. Another option > > would have been to add '-specs=3Dvanilla.specs' to CFLAGS, but distcc > > will reject it (it's a bit tricky to support). >=20 > OK, this being so, can I have the discc init.d script select a > profile and update the environment before running distcc and have it > retain the changes? If so, it should be possible to run a couple > distcc invocations on different ports to support the different > profiles. This would be fabulous as then I can configure the distcc > client to choose the right spec based on distcc port number. Should be simple enough. The only environment thing that matters however is the environment variable GCC_SPECS so you don't need to go switching the system profile all the time. I suggest copying the distccd init.d and conf.d scripts to (say) distccdh. Set the port number in conf.d/distccdh and set GCC_SPECS in init.d/distccdh; probably best to add a line 'export GCC_SPECS=3D"hardened.specs"' before distccd is run. Then just start distccdh. --=20 Kevin F. Quinn --Sig_/rRJ4b/9QWECudPqw6/nbI6 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEeWTa9G2S8dekcG0RAlDEAJ9FLd1tEPAHv4yqH4KOK6Lcaocq/ACghg/d XD0sCeZjDG/TsHee3qd/E4k= =v1+J -----END PGP SIGNATURE----- --Sig_/rRJ4b/9QWECudPqw6/nbI6-- -- gentoo-hardened@gentoo.org mailing list