svn commit: r255273 - in head/sys/powerpc: aim include

Roman Divacky rdivacky at freebsd.org
Fri Sep 6 08:58:47 UTC 2013


On Thu, Sep 05, 2013 at 11:00:24PM +0000, Nathan Whitehorn wrote:
> Author: nwhitehorn
> Date: Thu Sep  5 23:00:24 2013
> New Revision: 255273
> URL: http://svnweb.freebsd.org/changeset/base/255273
> 
> Log:
>   Align stacks of kernel threads correctly at 16-byte boundaries rather than
>   making sure they are all misaligned at +8 bytes. This fixes clang builds
>   of powerpc64 kernels (aside from a required increase in KSTACK_PAGES which
>   will come later).
>   
>   This commit from FreeBSD/powerpc64 with a clang-built kernel.

The increased KSTACK_PAGES is needed because the kernel you're using is built
with O0. I suppose O2 kernel will be fine. Needs to be tested.

Anyway, this is a great step forward and I believe PowerPC64 is basically ready
to be compiled with clang instead of gcc :)

Congrats!

Roman


More information about the svn-src-head mailing list