Subject: toolchain/20602: i386 build fails in tools/toolchain
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/06/2003 19:39:04
>Number:         20602
>Category:       toolchain
>Synopsis:       i386 build fails in tools/toolchain
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 06 10:56:00 PST 2003
>Originator:     Frank van der Linden
>Release:        NetBSD 1.6P
System: NetBSD k2 1.6P NetBSD 1.6P (K2) #10: Tue Mar 4 23:59:22 CET 2003 fvdl@k2:/work/trees/x86/sys/arch/i386/compile/K2 i386
Architecture: i386
Machine: i386
	During a run, the build consistently fails with:

   ../../gnu/dist/toolchain/bfd/netbsdaout.c:1: bfd.h: No such file or directory

commandline:	./ -D /scratch1/fs -j 2 build > & build.log &
mk.conf data:

Both the destination directory and object directory are empty at the start
of the build.

relevant part of the build log:

--- all-recursive-am ---
/usr/tools/bin/nbmake -f /work/trees/fs/tools/toolchain/../Makefile.gnuwrap  all-recursive
--- all-recursive ---
Making all in doc
Making all in po
--- stamp-ofiles ---
--- netbsdaout.lo ---
--- stamp-ofiles ---
rm -f tofiles
--- netbsdaout.lo ---
/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/work/trees/fs/tools/toolchain/../../gnu/dist/toolchain/bfd -I. -D_GNU_SOURCE     -I. -I/work/trees/fs/tools/toolchain/../../gnu/dist/toolchain/bfd -I/work/trees/fs/tools/toolchain/. ./../gnu/dist/toolchain/bfd/../include  -I/work/trees/fs/tools/toolchain/../../gnu/dist/toolchain/bfd/../intl -I../intl   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O -c /work/trees/fs/tools/toolchain/../../gnu/dist/toolchain/bfd/netbsdaout.c
--- stamp-ofiles ---
f="";  for i in elf32-i386.lo elf32.lo elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo i386bsd.lo aout32.lo i386netbsd.lo netbsdaout.lo pe-i386.lo peigen.lo cofflink.lo pei-i386.lo coff-i386.lo i386linux.lo elf32-gen.lo cpu-i386.lo ; do  case " $f " in  *" $i "*) ;;  *) f="$f $i" ;;  esac ;  done ;  echo $f >tofiles
/bin/sh /work/trees/fs/tools/toolchain/../../gnu/dist/toolchain/bfd/../move-if-change tofiles ofiles
touch stamp-ofiles
--- targmatch.h ---
rm -f targmatch.h
sed -f /work/trees/fs/tools/toolchain/../../gnu/dist/toolchain/bfd/targmatch.sed< /work/trees/fs/tools/toolchain/../../gnu/dist/toolchain/bfd/config.bfd >
--- netbsdaout.lo ---
cc -DHAVE_CONFIG_H -I. -I/work/trees/fs/tools/toolchain/../../gnu/dist/toolchain/bfd -I. -D_GNU_SOURCE -I. -I/work/trees/fs/tools/toolchain/../../gnu/dist/toolchain/bfd -I/work/trees/fs/tools/toolchain/../../gnu/dist/toolchain/bfd/../include -I/work/trees/fs/tools/toolchain/../../gnu/dist/toolchain/bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O -c /work/trees/fs/tools/toolchain/../../gnu/dist/toolchain/bfd/netbsdaout.c -o netbsdaout.o
/work/trees/fs/tools/toolchain/../../gnu/dist/toolchain/bfd/netbsdaout.c:1: bfd. h: No such file or directory
*** [netbsdaout.lo] Error code 1

	Run a build in the above setup.