From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qv9DO-0004kN-6g for garchives@archives.gentoo.org; Sun, 21 Aug 2011 14:41:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 45B9A21C21F; Sun, 21 Aug 2011 14:41:18 +0000 (UTC) Received: from mail.persimplex.net (mail.persimplex.net [64.22.124.52]) by pigeon.gentoo.org (Postfix) with ESMTP id E1EE721C0D3 for ; Sun, 21 Aug 2011 14:39:34 +0000 (UTC) Message-ID: <4E5118A4.50302@persimplex.net> Date: Sun, 21 Aug 2011 18:39:32 +0400 From: victor romanchuk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110817 Thunderbird/5.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Hoping someone can help explain distcc to me References: <4E5060AD.8030700@persimplex.net> <2116906.VYAsTq4gL1@weird> In-Reply-To: <2116906.VYAsTq4gL1@weird> X-Enigmail-Version: 1.2pre Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-Authenticated-At: persimplex.net/0 X-Archives-Salt: X-Archives-Hash: 9fa9834f93404177abfdd88768c3b46c > >> i had noticed that distcc is peevish about CFLAGS: these should be >> compatible on both client and server. in my case i made these similar on >> both machines (laptop is core2duo and desktop is core2quad; both are >> running amd64 arch) > I don't think this is true - as long as the CHOST is identical, there should > be no problem. CHOST defines the arch (i686, amd64, arm ..) whilst CFLAGS control gcc behavior and the binary code generation produced by compiler. in my case core2quad (q8300) i'm using in the desktop supports sse4.1 instruction set and notebook powered with core2duo (t7600) does not have that cpu feature. having option `-msse4.1' set in CFLAGS at desktop side will causes frequent compilation failures (initiated by distcc) or, in worst case - arbitrary crashes at notebook when running binaries compiled in distributed distcc environment >> yet another way to install packages on weak notebook running it on the >> same arch as desktop runs, - is to create binaries at powerful machine >> (while emerging or with quickpkg utility) and share $PKGDIR with laptop > This means some extra work, and also use flags need to be compatible, but > the speedup would be much bigger than with just distcc. > > What about exporting the whole root file system and mounting it on the fast > desktop, chrooting and emerging? > i do not insist the distcc is the only or most efficient way to maintain gentoo installation on a slow machine (having something more powerful nearby). just tried to explain how does distcc work victor