Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2012 17:53:15 +0100
From:      Jamie Paul Griffin <jamie@kode5.net>
To:        David Wolfskill <david@catwhisker.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Building the kernel and userland with llvm/clang
Message-ID:  <20120828165315.GE38854@kontrol.kode5.net>
In-Reply-To: <20120828154621.GJ10869@albert.catwhisker.org>
References:  <20120828153203.GC38854@kontrol.kode5.net> <20120828154621.GJ10869@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
[ David Wolfskill wrote on Tue 28.Aug'12 at  8:46:21 -0700 ]

> On Tue, Aug 28, 2012 at 04:32:03PM +0100, Jamie Paul Griffin wrote:
> > Hi
> > 
> > I've been reading some information about building my system, FreeBSD Stable/9, using llvm/clang; the site I've been looking at is http://wiki.freebsd.org/BuildingFreeBSDWithClang.
> > 
> > I was wondering about the benefits of doing so and also - and probably more importantly - if there are potential problems that might mean it's not worthwhile doing. Having read it again today there doesn't seem to be any likely problems
> > 
> > I'd appreciate any thoughts or advice about this if possible. 
> > ...
> 
> I have been doing this (on a daily basis) with both head & stable/9 on
> my home "build machine" and my laptop since 12 Jul 2012; I have seen no
> problems or issues.  (I build my ports under stable/8 & have /usr/local
> in common across all 4 slices on each machine.)
> 
> Here's what's in my /etc/src.conf for stable/9:
> 
> CC=clang
> CXX=clang++
> CPP=clang-cpp
> WITH_LIBCPLUSPLUS=yes
> 
> When I update my "production" machines at home from stable/8 to stable/9
> (probably shortly after 9.1 is released), they will (by necessity) also
> migrate to FreeBSD built with llvm/clang (as they get installed what the
> build machine builds).
> 
> Peace,
> david

Thanks David, that's helpful information. I'll likely give it a go. So does clang create better binaries and libraries, in terms of performance and such-like? I'm currently reading as much as I can find about clang and its associated tools; however, compilers are quite complex software and learning about them is, for me at least, a lot to take in. 

Best wishes, Jamie.

[-- Attachment #2 --]
0	*H
010	+0	*H
00t>=XH#5L٘
'0
	*H
010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA0
120825000000Z
130825235959Z0 10	*H
	jamie@kode5.net0"0
	*H
0
':ABi.3cJ$Wi/v/.Wu>Ftq<#+\d;1@H;saçoIȤ|]]GyŨNj8Hyi6rJgz	
Vϟ9ctn*~Ce(4q	&X6!s/Rڌ4?uiGIʏ8
DDkBK_XHHel]}ITrwՐrpR9V_00U#0zNt[xcd'/[y{0U\Ty!Q^hP9q0U0U00 U%0++10	`HB 0FU ?0=0;+10+0)+https://secure.comodo.net/CPS0WUP0N0LJHFhttp://crl.comodoca.com/COMODOClientAuthenticationandSecureEmailCA.crl0+|0z0R+0Fhttp://crt.comodoca.com/COMODOClientAuthenticationandSecureEmailCA.crt0$+0http://ocsp.comodoca.com0U0jamie@kode5.net0
	*H
e;MK	#e;6>Ԛ%w״{㴳=#]
ѕs#ڭrOST\>e	3GsPu`f=Rtf_GdU^>4lQ+NyGۮWCV~bbIW7U%hFRXJhEz*W!)tFŖ9n
gD)}#\IFE4ۙϭ@PI8^00mOj3""2zq0
	*H
010	UUS10	UUT10USalt Lake City10U
The USERTRUST Network1!0Uhttp://www.usertrust.com1604U-UTN-USERFirst-Client Authentication and Email0
110428000000Z
200530104838Z010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA0"0
	*H
0
[KW^/@ȣSX_fe2N2}UxLUB'qi2@'Vbqi c^`ʢAjHmeC*.+c8w߱ڂ2jgo \5Tq
7
PSlY1	LR@[HhJ$:q_㬿;%qh=XF<hmz!W42~JRrd&N`ohQcB}"cөΞD\[5K0G0U#0g}ĝ&pKPH|=n}0UzNt[xcd'/[y{0U0U00U 
00U 0XUQ0O0MKIGhttp://crl.usertrust.com/UTN-USERFirst-ClientAuthenticationandEmail.crl0t+h0f0=+01http://crt.usertrust.com/UTNAddTrustClient_CA.crt0%+0http://ocsp.usertrust.com0
	*H
־xWUm3DRB
JAIZҭsn>&|L0(B<%>
u=9fѡMo(ltZڱuz/yVtCr`9 G:eH<=%`I?C
3_н`j;:<I3B)93i.EMiڀ=]|Gm]W0KID~y83:]&XaU!ՙC@B0Ұun004=+'44pT0
	*H
0o10	USE10U
AddTrust AB1&0$UAddTrust External TTP Network1"0 UAddTrust External CA Root0
050607080910Z
200530104838Z010	UUS10	UUT10USalt Lake City10U
The USERTRUST Network1!0Uhttp://www.usertrust.com1604U-UTN-USERFirst-Client Authentication and Email0"0
	*H
0
9}A;bF7`u9eJGHjM5BI/|1Nd.)բdąQ5yNh{zɤ2O0nFxoY^/m/묡j.g5yiF͠v:z'[=s"HaLi.1 ,׉CZqYں
gT:
wetbh~GeMW(t40b0,00U#0z4&&T$T0Ug}ĝ&pKPH|=n}0U0U00U 
00U 0DU=0;09753http://crl.usertrust.com/AddTrustExternalCARoot.crl05+)0'0%+0http://ocsp.usertrust.com0
	*H
c(1{b#1sSQL֟/g~x3t&dpbP#4Vp4nx7_j̉_|>Q5|`k:+߳}[|P-sxt1^˚ƹ7urDg%R%G<N
6wH\-?`q`q6 lKuI;ٟMx&-n_100010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CAt>=XH#5L٘
'0	+0	*H
	1	*H
0	*H
	1
120828165315Z0#	*H
	1J:dlSxsTe`0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0
	*H
N
1rGMW+^}t	`V#tҖ}tiǗ,:lRyKQ_[ǝ\	Mod|O?Hr|G\*{=ܐKGq;?YO[aP;\8,uE<^<s-pXlZm	=gT
T۶_j_IbK"#%><<ΨBʍ4ni,G<=7]gR%:MJ

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120828165315.GE38854>