Date: Sun, 27 Jan 2013 12:29:11 -0800 (PST) From: Beeblebrox <zaphod@berentweb.com> To: freebsd-current@freebsd.org Subject: ccache selects wrong compiler (calls clang, not gcc46) Message-ID: <1359318551546-5781432.post@n5.nabble.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1359318551546-5781432.post>