svn commit: r292309 - in head/sys: modules modules/tcp modules/tcp/fastpath netinet netinet/tcp_stacks

John Baldwin jhb at freebsd.org
Wed Dec 16 16:15:50 UTC 2015


On Wednesday, December 16, 2015 10:58:47 AM Jonathan T. Looney wrote:
> On Dec 16, 2015, at 10:08 AM, Randall Stewart <rrs at netflix.com> wrote:
> > Ahh I think I see this is a difference between our friend
> > clang and gcc.. since I bet ppc uses gcc not clang :-o
> 
> This sort of thing seems to happen often enough that it would be nice if
> there was an option to automatically build two kernels, one with each
> compiler. Is there already such an option?

make tinderbox effectively does that, but at a bit more expense.  amd64
doesn't build GCC 4.2 by default, so the simplest way is to build a kernel
for a non-clang platform, e.g.:

make TARGET=sparc64 kernel-toolchain
make TARGET=sparc64 buildkernel

(Note you only need to do the kernel-toolchain step once or after toolchain
changes like compiler upgrades.)

-- 
John Baldwin


More information about the svn-src-all mailing list