From owner-freebsd-current@FreeBSD.ORG Sun Jan 27 20:29:12 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 371AB795 for ; Sun, 27 Jan 2013 20:29:12 +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 0CD0368E for ; Sun, 27 Jan 2013 20:29:11 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TzYql-0003QM-Hw for freebsd-current@freebsd.org; Sun, 27 Jan 2013 12:29:11 -0800 Date: Sun, 27 Jan 2013 12:29:11 -0800 (PST) From: Beeblebrox To: freebsd-current@freebsd.org Message-ID: <1359318551546-5781432.post@n5.nabble.com> Subject: ccache selects wrong compiler (calls clang, not gcc46) 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: Sun, 27 Jan 2013 20:29:12 -0000 I had posted this problem in the freebsd-ports section of the mailing list, but I got no answer. When I posted, I was using 9-Stable with clang-only world. (http://freebsd.1045724.n5.nabble.com/ccache-selects-wrong-compiler-calls-clang-not-gcc46-td5775609.html) I recently switched to 10-current but the error persisted. So I filed a bug report on the ccache bugzilla, but the maintainer has advised that he does not know FreeBSD that well and has deferred the issue back to FreeBSD. PR and full problem description from link below. Maintainer states: "I'm fairly certain that the problem you are seeing has nothing to do with ccache per se but rather with how FreeBSD uses ccache". https://bugzilla.samba.org/show_bug.cgi?id=9607 In essence the problem appears to be: With a pure clang built world, if you try to use gcc46 (lang/gcc) with ccache enabled to build ports, ccache does not use gcc46 but instead calls clang. Thanks & Regards -- View this message in context: http://freebsd.1045724.n5.nabble.com/ccache-selects-wrong-compiler-calls-clang-not-gcc46-tp5781432.html Sent from the freebsd-current mailing list archive at Nabble.com.