Re: Clang now builds world and kernel, on i386 and amd64

From: René Ladan <rene_at_freebsd.org>
Date: Wed, 22 Sep 2010 12:42:41 +0200
2010/9/22 Dimitry Andric <dim_at_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
Received on Wed Sep 22 2010 - 09:12:27 UTC

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