[OpenAFS-devel] Re: Aliasing bugs

Benjamin Kaduk kaduk@MIT.EDU
Wed, 13 Jul 2011 12:23:23 -0400 (EDT)


On Tue, 12 Jul 2011, Garrett Wollman wrote:

> <<On Wed, 13 Jul 2011 00:08:25 +0100, Simon Wilkinson <sxw@inf.ed.ac.uk> said:
>
>> Which gcc version is this? I don't see these warnings (although I do
>> sadly see many others) with gcc 4.6.0 on Linux
>
> "4.2.1 20070719" according to gcc -v.

I seem to recall that the gcc in FreeBSD HEAD is at literally the last 
GPLv2 revision, with a couple of extra patches pulled in that were 
explicitly relicensed.

>
> 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.

I know that I've built the AFS codebase with freebsd's clang (several 
months ago, now) successfully, but I don't think I actually installed and 
ran it.  Have you run a clang-compiled AFS anywhere?

-Ben