ccache selects wrong compiler (calls clang, not gcc46)

From: Beeblebrox <zaphod_at_berentweb.com>
Date: Sun, 27 Jan 2013 12:29:11 -0800 (PST)
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.
Received on Sun Jan 27 2013 - 19:29:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC