Subject: -current toolchain build ( -t) failure
To: None <>
From: Rafal Boni <>
List: current-users
Date: 10/29/2002 22:53:12
	I'm trying to update my laptop to a much more recent -current and
	keep hanging up on a toolchain build error.  Here's the tail of my
	build log:

[...building in tools/toolchain, gcc/f subdirectory...]
cc -DCROSS_COMPILE -DIN_GCC    -O   -DHAVE_CONFIG_H  -o fini fini.o proj-h.o
./fini `echo /usr/rafal/netbsd-src/tools/toolchain/../../gnu/dist/toolchain/gcc/f/str-1t.fin | sed 's,^\./,,'` str-1t.j str-1t.h
./fini `echo /usr/rafal/netbsd-src/tools/toolchain/../../gnu/dist/toolchain/gcc/f/str-2t.fin | sed 's,^\./,,'` str-2t.j str-2t.h
./fini `echo /usr/rafal/netbsd-src/tools/toolchain/../../gnu/dist/toolchain/gcc/f/str-fo.fin | sed 's,^\./,,'` str-fo.j str-fo.h
/usr/rafal/netbsd-src/tools/toolchain/../../gnu/dist/toolchain/gcc/f/str-fo.fin: extraneous "$"
*** Error code 1

	I've seen this error with several more recent -currents (a 1.6I
	kernel, I believe also a 1.6E kernel and with the latest as of
	an hour or two ago 1.6J).  In previous runs, the error was about
	an `extraneous "D"', but from the same invocation of `./fini'.

	Interestingly, running the command by hand from the objdir makes
	it run succesfully 100% of the time, as does invoking `make' in
	the objdir, whether that `make' be the current system one or the
	nbmake-i386 wrapper from the TOOLDIR.

	I googled for this and noted that the autobuild machine hit it	
	once in NetBSD 1.5ZC days building the dreamcast toolchain, but
	found no other references to it.


Rafal Boni                                           
  We are all worms.  But I do believe I am a glowworm.  -- Winston Churchill