Subject: install/14078: UPDATING is not explicit enough about bootstrapping procedure
To: None <>
From: Christian Ruediger Bahls <>
List: netbsd-bugs
Date: 09/27/2001 14:28:03
>Number:         14078
>Category:       install
>Synopsis:       UPDATING is not explicit enough about bootstrapping procedure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    install-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 27 05:29:00 PDT 2001
>Originator:     Christian Ruediger Bahls
>Release:        NetBSD-current 20010926
University of Rostock; Germany
System: NetBSD wh5041 1.5Y NetBSD 1.5Y (me) #0: Tue Sep 25 15:54:36 CEST 2001 root@wh5041:/usr/src/me i386
Architecture: i386
Machine: i386

	I had some real difficulties to bootstrap -current from 1.5.1
	especialy building config/mdsetimage is (IMHO) not documented
	well enough
	just do a make release on a NetBSD-1.5.x system on i386 architectures
	at least following should be made more explicit:

	-	usr.sbin/config (adding -DMAKE_BOOTSTRAP to
		  CFLAGS and rebuilding should work)
	  -> cd usr.sbin/config 
	     export TOOLDIR
	     CFLAGS+=_DMAKE_BOOTSTRAP distclean obj dependall
	  .. tell 'em what to do with this binary 

	-	usr.sbin/mdsetimage - Build a static copy if
		  building a snapshot before fully bootstrapped.

	  -> not shure about this one .. i made the copy by hand
		told gcc to -nostdinc and
		use <destdir>/usr/lib/{crt0.o,crtbegin.o,libc.a}
	that said .. it should be mentioned that it helps a lot
	to type "MKTOOLS=yes;export MKTOOLS" beforehand

	    (IMHO mentioning to edit CFLAGS in a Makefile
	     as done in UPDATING is not a good thing to do (TM))