Subject: toolchain/23112: gcc 3.3 tools build requires target includes
To: None <gnats-bugs@gnats.netbsd.org>
From: None <thorpej@shagadelic.org>
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
>Closed-Date:
>Last-Modified:
>Originator: Jason R Thorpe
>Release: NetBSD 1.6ZC
>Organization:
-- Jason R. Thorpe <thorpej@shagadelic.org>
>Environment:
System: NetBSD yeah-baby.shagadelic.org 1.6ZC NetBSD 1.6ZC (YEAH-BABY-XP) #20: Sat Sep 20 10:24:38 PDT 2003 thorpej@yeah-baby.shagadelic.org:/u1/netbsd/src/sys/arch/i386/compile/YEAH-BABY-XP i386
Architecture: i386
Machine: i386
>Description:
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.
>How-To-Repeat:
Attempt to build tools with the target includes not present.
>Fix:
Add a mechanism to disable building of the GCC crtstuff, the
same way that the libgcc build is disabled during tools build.
>Release-Note:
>Audit-Trail:
>Unformatted: