Subject: misc/4449: makefiles do not compile required programs first
To: None <>
From: Erik E. Fair <>
List: netbsd-bugs
Date: 11/08/1997 02:30:42
>Number:         4449
>Category:       misc
>Synopsis:       makefiles do not compile required programs first
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov  8 02:35:02 1997
>Originator:     Erik E. Fair
International Organization of Internet Clock Watchers
>Release:        NetBSD 1.3

System: NetBSD 1.3_ALPHA NetBSD 1.3_ALPHA (ATOMIC) #29: Thu Nov 6 16:41:37 PST 1997 sparc

	A wide variety of programs are used to build NetBSD:


	This list is not exhaustive.

	Often, changes in the source code or support files (e.g.
	/usr/share/mk/) require newer versions of these programs
	than a given NetBSD release may have. It is therefore
	important for these programs to be compiled and installed
	before the rest of the system is compiled. Failure to do
	so usually leads to the failure to compile one or more
	files in the source tree.

	This is also the nub of a chicken/egg bootstrap problem,
	if the sources for these programs require advanced (or bug
	fixed!) versions of each other. A procedure similar to the
	GCC "bootstrap" compiliation procedure may be needed.

	Install NetBSD 1.2

	FTP or SUP NetBSD-current sources

	make build

	watch the "make build" fail multiple times due to NetBSD 1.2
	toolchain's inability to handle 1.3 sources.

	The makefiles need to be updated with a list of programs
	that must be compiled (and the order!) prior to the rest
	of the source tree, and the procedures for doing so.