Date: Wed, 22 Sep 2010 12:42:41 +0200 From: =?ISO-8859-1?Q?Ren=E9_Ladan?= <rene@freebsd.org> To: Dimitry Andric <dim@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: Clang now builds world and kernel, on i386 and amd64 Message-ID: <AANLkTi=_ZpYZ7XwHJOYuRMOFCGebRwD=YEYORKnMmC0s@mail.gmail.com> In-Reply-To: <4C99A53E.7060707@FreeBSD.org> References: <4C99A53E.7060707@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2010/9/22 Dimitry Andric <dim@freebsd.org>: > Hi, > > As of r212979, you should now be able to build world and kernel on i386 > and amd64 with clang, without any additional patches! > > To do so, make sure you have updated your installed world to at least > r212904 (which has the most recently imported clang/llvm snapshot), and > put the following in /etc/src.conf: > > .if !defined(CC) || ${CC} == "cc" > CC=clang > .endif > .if !defined(CXX) || ${CXX} == "c++" > CXX=clang++ > .endif > # Don't die on warnings > NO_WERROR= > WERROR= > I've uploaded a typescript of "make buildworld && make buildkernel" of an 9.0-amd64 system running r212906 and building r212994 with the clang-in-HEAD: ftp://rene-ladan.nl/pub/freebsd/bwk-clang-native.bz2 SIZE = 933354 bytes (uncompressed 36308187 bytes) SHA256 = f97be8fb0d310ceb2e16dfc3919aeb68b57312431d7e879b6cce84b1cf8ba851 Now for the install phase, after some backups. Rene
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=_ZpYZ7XwHJOYuRMOFCGebRwD=YEYORKnMmC0s>