[OpenAFS-devel] Re: Aliasing bugs

Simon Wilkinson sxw@inf.ed.ac.uk
Wed, 13 Jul 2011 20:21:51 +0100


On 13 Jul 2011, at 20:11, Garrett Wollman <wollman@csail.mit.edu> wrote:

> <<On Wed, 13 Jul 2011 12:23:23 -0400 (EDT), Benjamin Kaduk <kaduk@MIT.EDU>=
 said:
>=20
>> On Tue, 12 Jul 2011, Garrett Wollman wrote:
>>> FreeBSD is not likely ever to support compiling kernel code with a
>>> GPLv3-licensed version of GCC.  FreeBSD 10 (scheduled for late
>>> 2012/early 2013) will probably ship with clang as the system compiler.
>=20
>> I know that I've built the AFS codebase with freebsd's clang (several=20
>> months ago, now) successfully, but I don't think I actually installed and=
=20
>> ran it.  Have you run a clang-compiled AFS anywhere?
>=20
> No, haven't tried -- I don't have any 9.0 systems at the moment.  When
> 9.0 is released, I'll start up a new buildslave for it and after that
> I'll have the opportunity to play with clang.

The tree certainly builds with clang. I've done a few passes with clang anal=
yser and fixed things as it complained about them. I haven't done much testi=
ng of the resulting binaries, and clang is young enough that optimiser bugs a=
re still appearing, so your mileage may vary there.

S.=