Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jul 2005 13:14:46 -0400 (EDT)
From:      Scott@scottro.net, Robbins@scottro.net
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/83621: p	patch: Minor omissions in /usr/src/UPDATING
Message-ID:  <20050717171446.ED70240D0@mail.scottro.net>
Resent-Message-ID: <200507171720.j6HHKCjU049767@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         83621
>Category:       docs
>Synopsis:       p	patch: Minor omissions in /usr/src/UPDATING
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 17 17:20:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Scott Robbins <scottro@nyc.rr.com>
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD mail.scottro.net 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun Jul 17 11:02:38 EDT 2005 root@mail.scottro.net:/usr/obj/usr/src/sys/S11 i386


	
>Description:
	/usr/src/UPDATING, although mentioning that disabling malloc debugging 
	flags will improve performance, doesn't give the method to do so.  
	Therefore, the question often comes up on the mailing lists.
	Additionally, UPDATING doesn't mention the relatively new 
	make cleanworld target.  (The handbook doesn't either.)  
>How-To-Repeat:
>Fix:

--- UPDATING	Sun Jul 17 12:49:19 2005
+++ UPDATING.new	Sun Jul 17 12:59:12 2005
@@ -19,7 +19,8 @@
 	related kernel options, INVARIANTS, malloc debugging flags
 	in userland, and various verbose features in the kernel.  Many
 	developers choose to disable these features on build machines
-	to maximize performance.
+	to maximize performance.  (To disable malloc debugging, 
+	ln -s aj /etc/malloc.conf)
 
 20050711:
 	RELENG_6 branched here.
@@ -227,6 +228,10 @@
 	prefix all make commands with 'env -i '.  See the env(1) manual
 	page for more details.
 
+	As of FreeBSD-5.x there is now a make cleanworld target.  This
+	This removes the cruft of previous builds from /usr/obj.
+
+
 	To build a kernel
 	-----------------
 	If you are updating from a prior version of FreeBSD (even one just
@@ -264,6 +269,7 @@
 	# is listed here if you are upgrading from a really old current.
 
 	<make sure you have good level 0 dumps>
+	make cleanworld
 	make buildworld
 	make kernel KERNCONF=YOUR_KERNEL_HERE
 							[1]
@@ -301,6 +307,7 @@
 	To upgrade in-place from 5.x-stable to current
 	----------------------------------------------
 	<make sure you have good level 0 dumps>
+	make cleanworld
 	make buildworld					[9]
 	make kernel KERNCONF=YOUR_KERNEL_HERE		[8]
 							[1]


	
Err, google?


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050717171446.ED70240D0>