From owner-svn-src-all@FreeBSD.ORG Sun Mar 4 04:17:52 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6655B1065670; Sun, 4 Mar 2012 04:17:52 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3C9A38FC08; Sun, 4 Mar 2012 04:17:52 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id E304F46B32; Sat, 3 Mar 2012 23:17:51 -0500 (EST) Received: from kavik.baldwin.cx (c-68-36-150-83.hsd1.nj.comcast.net [68.36.150.83]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 6D26BB924; Sat, 3 Mar 2012 23:17:51 -0500 (EST) From: John Baldwin To: Dimitry Andric Date: Sat, 3 Mar 2012 23:17:48 -0500 User-Agent: KMail/1.13.7 (FreeBSD/9.0-BETA2; KDE/4.6.5; i386; ; ) References: <201203032349.q23NnrIb005355@svn.freebsd.org> In-Reply-To: <201203032349.q23NnrIb005355@svn.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201203032317.49346.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Sat, 03 Mar 2012 23:17:51 -0500 (EST) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r232476 - in head: share/mk sys/conf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 04:17:52 -0000 On Saturday, March 03, 2012 06:49:53 PM Dimitry Andric wrote: > Author: dim > Date: Sat Mar 3 23:49:53 2012 > New Revision: 232476 > URL: http://svn.freebsd.org/changeset/base/232476 > > Log: > Revert r232473. I have been convinced by Doug Barton and Bjoern Zeeb > that it is better to error out when people attempt to build using the > wrong bsd.*.mk files, than to silently ignore the problem. > > This means, that after this commit, if you want to build kernel modules > by hand (or via a port) from a head source tree, you *must* make sure > the files in /usr/share/mk are in sync with that tree. If that isn't > possible, for example when you are running on an older FreeBSD branch, > you can: > > - Run "make buildenv" from your head source tree, to have the correct > environment setup. (It's advisable to have run "make buildworld", or > at a minimum "make toolchain" first.) > - Alternatively, set MAKESYSPATH to the share/mk directory under your > head source tree. If your build tools are too old, other problems may > still occur. > - Alternatively, use "make -m" and specify the share/mk directory under > your head source tree. Again, build tools that are too old may still > result in trouble. Or use 'make MK_CTF=no MK_CLANG_IS_CC=no' (which is what I do). However, I know the risks I take doing that, and I think your reversion above is correct. (Unfortunately I can't run HEAD on my primary desktop as I have to use it for ${DAYJOB}.) -- John Baldwin