From owner-freebsd-stable@FreeBSD.ORG Sat Dec 29 12:15:31 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C303E71 for ; Sat, 29 Dec 2012 12:15:31 +0000 (UTC) (envelope-from lists@internecto.net) Received: from mx1.internecto.net (polaris.internecto.net [176.9.245.29]) by mx1.freebsd.org (Postfix) with ESMTP id EF3888FC12 for ; Sat, 29 Dec 2012 12:15:30 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mx1.internecto.net (Postfix) with ESMTP id BC2F0340003 for ; Sat, 29 Dec 2012 12:15:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.internecto.net Received: from mx1.internecto.net ([127.0.0.1]) by localhost (mail.polaris.internecto.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bCRZNNUiIbIM for ; Sat, 29 Dec 2012 12:15:29 +0000 (UTC) Received: from [192.168.2.10] (unknown [172.17.37.136]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: lists@internecto.net) by mx1.internecto.net (Postfix) with ESMTPSA id 1A49C340002 for ; Sat, 29 Dec 2012 12:15:29 +0000 (UTC) Message-ID: <50DEDEDA.2050502@internecto.net> Date: Sat, 29 Dec 2012 13:15:22 +0100 From: Mark van Dijk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: FreeBSD 9 (amd64) buildworld stage 4.2 fails with clang: unknown target cpu i686 References: <50DED9BA.1000400@internecto.net> In-Reply-To: <50DED9BA.1000400@internecto.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Dec 2012 12:15:31 -0000 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.