Newer clang than comes with install?

Dimitry Andric dim at
Sat Mar 5 12:16:00 UTC 2016

On 03 Mar 2016, at 14:45, kpneal at wrote:
> I notice on 10.2 we're using "FreeBSD clang version 3.4.1". But there are
> bugs in this version of clang that I'm having trouble with.

Which specific bugs are those?

> Is compiling a newer (say, 3.7.1) version of clang to target FreeBSD
> supported? I have no desire to replace any of the libraries, just the
> compiler itself. Is that supposed to work _without_ going through the
> ports/pkgs system?
> IOW, can I just download from the clang+llvm source, compile
> it on FreeBSD, and then use it safely?

Sure.  You can also download pre-compiled versions from, if you
want.  Though if you can settle for a pre-compiled version, installing
it through pkg(1) is probably much easier.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <>

More information about the freebsd-stable mailing list