Date: Sat, 29 Dec 2012 13:15:22 +0100 From: Mark van Dijk <lists@internecto.net> To: freebsd-stable@freebsd.org Subject: Re: FreeBSD 9 (amd64) buildworld stage 4.2 fails with clang: unknown target cpu i686 Message-ID: <50DEDEDA.2050502@internecto.net> In-Reply-To: <50DED9BA.1000400@internecto.net> References: <50DED9BA.1000400@internecto.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 29-12-12 12:53, Mark van Dijk wrote:
> (...)
> I'll admit that I did modify my make.conf right before building. It
> already *did* contain the CC/CXX/CPP lines for clang but the ccache
> portion was slightly different. It used to contain the literal contents
> of ccache-howto-freebsd.txt:
>
> CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/cc,1}
> CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/c++,1}
>
> Today I re-read that howto and it states:
> "You can replace cc and c++ with the compilers of your choice.
> (remember that only GCC and Clang can build world and kernel)"
>
> So I updated those two lines and replaced cc/c++ with clang/clang++. I
> didn't get the make errors before. So I moved those two lines back, did
> rm -rf /usr/obj/* and started another make buildworld which is still
> running.
Scratch the above, I received the same error again just now.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50DEDEDA.2050502>
