On Wednesday, December 16, 2015 10:58:47 AM Jonathan T. Looney wrote:
> On Dec 16, 2015, at 10:08 AM, Randall Stewart <r...@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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to