Newer clang than comes with install?

Brooks Davis brooks at freebsd.org
Fri Mar 4 14:22:33 UTC 2016


On Thu, Mar 03, 2016 at 08:45:05AM -0500, kpneal at pobox.com 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.
> 
> 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 llvm.org the clang+llvm source, compile
> it on FreeBSD, and then use it safely?

It should.  The ports don't include many patches.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20160304/471eb99d/attachment.sig>


More information about the freebsd-stable mailing list