Subject: toolchain/23112: gcc 3.3 tools build requires target includes
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/09/2003 14:53:36
>Number:         23112
>Category:       toolchain
>Synopsis:       gcc 3.3 tools build requires target includes
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 09 21:54:00 UTC 2003
>Originator:     Jason R Thorpe
>Release:        NetBSD 1.6ZC
        -- Jason R. Thorpe <>
System: NetBSD 1.6ZC NetBSD 1.6ZC (YEAH-BABY-XP) #20: Sat Sep 20 10:24:38 PDT 2003 i386
Architecture: i386
Machine: i386
	Building src/tools/gcc requires the target's include files
	to be present.  The GNU configure-style build will attempt to
	build the GCC crtstuff.  The crtstuff includes tsystem.h, which
	includes the GCC stddef.h, which attempts to include <machine/ansi.h>,
	which fails since it does not yet exist.

	Attempt to build tools with the target includes not present.

	Add a mechanism to disable building of the GCC crtstuff, the
	same way that the libgcc build is disabled during tools build.