From owner-freebsd-current@FreeBSD.ORG Tue Feb 26 16:39:38 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2760C397 for ; Tue, 26 Feb 2013 16:39:38 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id EDB42E95 for ; Tue, 26 Feb 2013 16:39:37 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UANZ2-0007cE-Vz for freebsd-current@freebsd.org; Tue, 26 Feb 2013 08:39:36 -0800 Date: Tue, 26 Feb 2013 08:39:36 -0800 (PST) From: Beeblebrox To: freebsd-current@freebsd.org Message-ID: <1361896776985-5790640.post@n5.nabble.com> In-Reply-To: <1361887488759-5790612.post@n5.nabble.com> References: <1361887488759-5790612.post@n5.nabble.com> Subject: Re: distcc does not work with clang MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2013 16:39:38 -0000 *UPDATE:* I got DISTCC to "partially" work by setting environment variable as CCACHE_PREFIX=/usr/local/bin/distcc It works partially, because it does not distribute compile requests correctly: - If the compiler is gcc46, compile orders get correctly distributed to build-farm - If the compiler is clang, compile orders only get accepted by localhost (127.0.0.1) but not members of the build-farm. Outsource compile orders return with "connection refused" message. I should note that the build-farm consists only of diskless clients PXE booting from semi-jail environment on host. After this find, I logged into one of the client machines to check for clang: # c -v FreeBSD clang version 3.2 etc... # gcc -v gcc: Command not found On the host machine I do not get this gcc error. -- View this message in context: http://freebsd.1045724.n5.nabble.com/distcc-does-not-work-with-clang-tp5790612p5790640.html Sent from the freebsd-current mailing list archive at Nabble.com.