FreeBSD 9 (amd64) buildworld stage 4.2 fails with clang: unknown target cpu i686
Mark van Dijk
lists at internecto.net
Sat Dec 29 12:15:31 UTC 2012
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.
More information about the freebsd-stable
mailing list