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 <gentoo-user+bounces-127263-garchives=archives.gentoo.org@lists.gentoo.org>) id 1QvdCk-0003ur-F3 for garchives@archives.gentoo.org; Mon, 22 Aug 2011 22:42:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3197921C2CD; Mon, 22 Aug 2011 22:42:36 +0000 (UTC) Received: from mail-gx0-f181.google.com (mail-gx0-f181.google.com [209.85.161.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 731B521C083 for <gentoo-user@lists.gentoo.org>; Mon, 22 Aug 2011 22:41:42 +0000 (UTC) Received: by gxk9 with SMTP id 9so5087159gxk.40 for <gentoo-user@lists.gentoo.org>; Mon, 22 Aug 2011 15:41:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=JEglvXq2HxLg8pKzHIv7uAfR9v+0n6QW/TVzYiXdX7s=; b=g+5oAi0R8Zs9Ss8yVv520Y5+IzX/E4/EdjmwnXckggeJj9V+Vv1EkL3go9JZ8/ZZRI 7e/VJ0dk1uvedczcKDLdcGV0TH87nUAoiHNskuiPKxELJgQfQYo01x3weVL1az23Fm+a g7QjGTminiStdaZ0ZaLHZsSfINH81Zq0Kjdso= Received: by 10.101.156.23 with SMTP id i23mr2930854ano.160.1314052901721; Mon, 22 Aug 2011 15:41:41 -0700 (PDT) Received: from [192.168.25.20] (173-8-195-225-Oregon.hfc.comcastbusiness.net [173.8.195.225]) by mx.google.com with ESMTPS id h15sm5617575ank.13.2011.08.22.15.41.40 (version=SSLv3 cipher=OTHER); Mon, 22 Aug 2011 15:41:40 -0700 (PDT) Message-ID: <4E52DB23.10701@gmail.com> Date: Mon, 22 Aug 2011 15:41:39 -0700 From: Bill Longman <bill.longman@gmail.com> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110727 Lightning/1.0b3pre Lanikai/3.1.10 Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> 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: <CAEH5T2M4b0b4jmwebYkodpDA59c7K2PEw=-jNk2OAhHMiPu3Fw@mail.gmail.com> <2116906.VYAsTq4gL1@weird> <4E5118A4.50302@persimplex.net> <4044064.hXcqPjLJx7@weird> In-Reply-To: <4044064.hXcqPjLJx7@weird> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 2772aaf9bddf9b94d9d66494a7e8b9a8 On 08/22/2011 01:41 PM, Alex Schuster wrote: >>> > > 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 > But how could the gcc on the desktop, called via distcc, even see the CFLAGS > in the desktops make.conf? This just cannot be. > I have been using march=athlon-xp on my desktop, and yet used it as distcc > server for my Pentium-III notebook for years. Worked fine. The arguments sent to gcc tell it what kind of object gcc is supposed to create. If gcc cannot create the object you request because it's not the right "kind" of gcc, implies that, within the same gcc version, it is unable to reproduce object files.