From owner-svn-src-head@freebsd.org Wed Dec 16 16:15:50 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B63D5A48FFF; Wed, 16 Dec 2015 16:15:50 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 94CCD10C3; Wed, 16 Dec 2015 16:15:50 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id E3134B93C; Wed, 16 Dec 2015 11:15:48 -0500 (EST) From: John Baldwin To: "Jonathan T. Looney" Cc: Randall Stewart , Ed Maste , "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Subject: Re: svn commit: r292309 - in head/sys: modules modules/tcp modules/tcp/fastpath netinet netinet/tcp_stacks Date: Wed, 16 Dec 2015 08:15:38 -0800 Message-ID: <1627913.WATQQLTEnG@ralph.baldwin.cx> User-Agent: KMail/4.14.3 (FreeBSD/10.2-STABLE; KDE/4.14.3; amd64; ; ) In-Reply-To: References: <201512160056.tBG0ujqA067178@repo.freebsd.org> <1A3645F3-3287-4CD8-B69D-AC053507D435@netflix.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 16 Dec 2015 11:15:49 -0500 (EST) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2015 16:15:50 -0000 On Wednesday, December 16, 2015 10:58:47 AM Jonathan T. Looney wrote: > On Dec 16, 2015, at 10:08 AM, Randall Stewart 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