From owner-freebsd-current@FreeBSD.ORG Fri Oct 31 04:00:25 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3388E16A4CE for ; Fri, 31 Oct 2003 04:00:25 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAE8843F3F for ; Fri, 31 Oct 2003 04:00:23 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3p2/8.8.7) with ESMTP id XAA31821; Fri, 31 Oct 2003 23:00:12 +1100 Date: Fri, 31 Oct 2003 23:00:11 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Kris Kennaway In-Reply-To: <20031031042347.GA32736@rot13.obsecurity.org> Message-ID: <20031031225210.I1418@gamplex.bde.org> References: <20031031010338.871F73CEA4@www.fastmail.fm> <20031031040808.40D253E813@www.fastmail.fm> <20031031042347.GA32736@rot13.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: SteAltH FanThoM cc: freebsd-current@freebsd.org Subject: Re: buildworld failed for current ..cvs 12.30 pm. 10-30-2003 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2003 12:00:25 -0000 On Thu, 30 Oct 2003, Kris Kennaway wrote: > On Thu, Oct 30, 2003 at 08:08:08PM -0800, SteAltH FanThoM wrote: > > yes it does! > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html > > > > 21.4.2 Check /etc/make.conf > > > > Examine the files /etc/defaults/make.conf and /etc/make.conf. The first > > contains some default defines - most of which are commented out. To make > > use of them when you rebuild your system from source, add them to > > /etc/make.conf. Keep in mind that anything you add to /etc/make.conf is > > also used every time you run make, so it is a good idea to set them to > > something sensible for your system. > > > > A typical user will probably want to copy the CFLAGS and NOPROFILE lines > > found in /etc/defaults/make.conf to /etc/make.conf and uncomment them. Bad advice. A typical user should not change CFLAGS or NOPROFILE. > > Examine the other definitions (COPTFLAGS, NOPORTDOCS and so on) and > > decide if they are relevant to you. Better advice. Examine these and change them if you can decide that they are relevant to you or want to learn what they do by making mistakes with them. > Sure, but.. > > > > > a good choice. I read the handbook and it advises to add the ... CFLAGS > > > > -0 -pipe and NOPROFILE= YES ....to /etc/make.conf. > > > ^^ > > > No it doesn't ;-) > > ..it doesn't say anything about "-0 -pipe", which is a syntax error. Indded. What it says it to copy the CFLAGS and NOPROFILE lines from /etc/defaults/make.conf to /etc/make.conf and uncomment them. Copying CFLAGS and uncommenting is bogus since it just gives -O -pipe if correctly copied, but -O -pipe is the default. If incorrectly copied, then it gives a syntax error. Copying and uncommenting the NOPROFILE gives a small optimization if profiling is not used. Bruce