Subject: bin/14046: Various new toolchain problems
To: None <>
From: None <>
List: netbsd-bugs
Date: 09/23/2001 18:10:59
>Number:         14046
>Category:       bin
>Synopsis:       The new toolchain breaks the system build in various ways.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 23 11:11:00 PDT 2001
>Originator:     Thor Lancelot Simon
>Release:        2001-09-23
Not much
System: NetBSD 1.5Y NetBSD 1.5Y (REKUSANT) #69: Sat Sep 22 23:54:24 EDT 2001 i386

With the introduction of the new toolchain on the i386 port, it is no longer
possible to build the system, for the following reasons:

1) Neither the README in /usr/src/share/mk nor the UPDATING file in /usr/src
   document the newly required "make" variable settings, in contravention of
   Project policy.

2) It is impossible to recover from incorrectly setting TOOLDIR to 
   /usr/src/tools, nor from "make obj" not descending into /usr/src/tools
   without MKTOOLS set,  because neither "make clean" nor "make cleandir" 
   work in /usr/src/tools.

3) It is impossible to build a release for the following reasons:

	A) The automated kernel builds for the release kernels don't work
	   because "CC=$TOOLDIR/..." is jammed into the wrong place in the
	   genassym command-line, causing genassym to fail and make depend
	   to consequently fail

	B) Once again, in this era in which cache footprint is increasingly
	   important, Still Another new release of GCC brings us EVEN LESS
	   DENSE OUTPUT CODE, even with -Os.  The result is that ramdiskbin
	   no longer fits on bootfloppy-big.

	Try to do a "make release". :-/
1, 2, and 3A are simple and obvious.  3B is less so and might require the
application of nontraditional debugging techniques to the maintainers of