Subject: toolchain/22447: auto-build.h error in gcc3/f771 (USE_TOOLS_TOOLCHAIN=no)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <naoki@fukaumi.org>
List: netbsd-bugs
Date: 08/12/2003 14:09:56
>Number: 22447
>Category: toolchain
>Synopsis: auto-build.h error in gcc3/f771 (USE_TOOLS_TOOLCHAIN=no)
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 12 05:11:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: FUKAUMI Naoki
>Release: NetBSD 1.6W
>Organization:
FUKAUMI Naoki
>Environment:
i386
>Description:
From build log:
:
dependall ===> gnu/usr.bin/gcc3/f771
cc -O -I/usr/src/gnu/usr.bin/gcc3/f771/../arch/i386 -DUSE_HCONFIG= -DIN_GCC -DHAVE_CONFIG_H -I/usr/src/gnu/dist/gcc/gcc -I/usr/src/gnu/dist/gcc/gcc/. -I/usr/src/gnu/dist/gcc/gcc/config -I/usr/src/gnu/dist/gcc/gcc/../include -I/usr/src/gnu/usr.bin/gcc3/f771/.. -o fini /usr/src/gnu/dist/gcc/gcc/f/fini.c /usr/obj/i386/gnu/usr.bin/gcc3/host-libiberty/libiberty/libiberty.a
In file included from /usr/src/gnu/dist/gcc/gcc/f/proj.h:28,
from /usr/src/gnu/dist/gcc/gcc/f/fini.c:24:
/usr/src/gnu/usr.bin/gcc3/arch/i386/hconfig.h:7:24: auto-build.h: No such file or directory
*** Error code 1
Stop.
nbmake: stopped in /usr/src/gnu/usr.bin/gcc3/f771
:
>How-To-Repeat:
echo USE_TOOLS_TOOLCHAIN=no > /etc/mk.conf
./build.sh
>Fix:
Index: Makefile.backend
===================================================================
RCS file: /home/fun/cvsroot/NetBSD/src/gnu/usr.bin/gcc3/Makefile.backend,v
retrieving revision 1.1
diff -u -r1.1 Makefile.backend
--- Makefile.backend 25 Jul 2003 16:32:23 -0000 1.1
+++ Makefile.backend 12 Aug 2003 05:05:36 -0000
@@ -5,6 +5,7 @@
CPPFLAGS+= -I${GCCARCH} -I${BACKENDOBJ} \
${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
+HOST_CPPFLAGS+= -I${BACKENDOBJ}
.include <bsd.own.mk>
>Release-Note:
>Audit-Trail:
>Unformatted: