From owner-freebsd-stable@FreeBSD.ORG Wed Dec 9 19:55:45 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF0A1106566B for ; Wed, 9 Dec 2009 19:55:45 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from mx.utwente.nl (mx3.utsp.utwente.nl [130.89.2.14]) by mx1.freebsd.org (Postfix) with ESMTP id 34A638FC0A for ; Wed, 9 Dec 2009 19:55:44 +0000 (UTC) Received: from nox.student.utwente.nl (nox.student.utwente.nl [130.89.165.91]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id nB9JtKHH018403; Wed, 9 Dec 2009 20:55:20 +0100 From: Pieter de Goeje To: freebsd-stable@freebsd.org Date: Wed, 9 Dec 2009 20:55:20 +0100 User-Agent: KMail/1.9.10 References: <20091209193239.88ED31CC0C@ptavv.es.net> In-Reply-To: <20091209193239.88ED31CC0C@ptavv.es.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912092055.20383.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact icts.servicedesk@utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: ocean Subject: Re: RELENG_8 buildworld broken? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2009 19:55:45 -0000 On Wednesday 09 December 2009 20:32:39 Kevin Oberman wrote: > > Date: Wed, 09 Dec 2009 17:36:26 +0100 > > From: ocean > > Sender: owner-freebsd-stable@freebsd.org > > > > Pieter de Goeje wrote: > > > The problem only occurs when doing a parallel make world (make -j8 > > > buildworld). In the past I have always successfully built world using > > > -j4. I guess the recent upgrade of this machine from dual core to quad > > > core just made the problem visible. > > > > > > - Pieter > > > > > actually that's not the only problem with buildworld in 8.0. > > -march isn't added to CFLAGS using CPUTYPE in make.conf, you should add > > it manually to CFLAGS. Actually, the way you specified CFLAGS overrides CPUTYPE. AFAIK you should set CFLAGS/CPUTYPE like this: CPUTYPE?=.... CFLAGS+=... Though bothering with CPUTYPE or CFLAGS is actually a waste of time if you ask me. I've never observed any measurable improvement in the speed of the system by setting these. Note that most ports which DO benefit from specialized CFLAGS (mplayer comes to mind) have an option called WITH_OPTIMIZED_CFLAGS. > > on another thread was said that make delete-old is > > also broken (and i suspect also delete-old-libs), so options in src.conf > > are pretty useless. all the problems seems to be triggered by > > Makefile.incl These options are not useless. You can for instance use them to reduce build time and/or install only the binaries required for a jail or an embedded system. > > In what way is delete-old broken? > > I agree that src.conf often does not work. Just try to build a system > with 'WITHOUT_OPENSSH='. PR with patch to Makefile.inc1 submitted by > b.f. three or four months ago. So far, no response. > > I have seen the really bad suggestion that somehow files not built due > to src.conf entries be added to the list of old files to be > deleted. PLEASE DON'T DO THAT! > > The single most important use I have for /etc/src.conf is to avoid > system upgrades over-writing the files for ssh and BIND when the ports > are installed to overwrite those in the base system. I certainly don't > want a delete-old to try to delete the files installed from ports. I agree completely. Obsolete files is there for files that will never be built again and are generally useless/broken (or break other stuff) when left on the filesystem. It's called "ObsoleteFiles" for a reason :) > > And, yes, this is a fairly common practice, especially for BIND. There > is good reason that the OVERWRITE_BASE option is offered when you > install BIND from ports.