Subject: -current build failure on i386, in ld
To: None <>
From: Thomas Klausner <>
List: tech-toolchain
Date: 11/04/2001 11:44:29

I just updated my source tree (so 2001-11-04, ~10 GMT), and did my
first try building the world on i386 with the new toolchain.

I had deleted all my obj dirs I had lying around (to avoid the
exception.c(c?) problem), and the following settings in /etc/mk.conf:
MKOBJDIRS=      yes
MKTOOLS=        yes
DESTDIR=        /build
RELEASEDIR=     /release

I started the build with `cd /usr/src; ./ -R /release'.

It failed building the tools, with:
/archive/cvs/src/tools/obj.i386/tools.NetBSD-1.5Y-i386/bin/nbmake  all-recursive
Making all in po
cc -DHAVE_CONFIG_H -I. -I/archive/cvs/src/tools/toolchain/../../gnu/dist/toolchain/ld -I. -D_GNU_SOURCE -I. -I/archive/cvs/src/tools/toolchain/../../gnu/dist/toolchain/ld -I../bfd -I/archive/cvs/src/tools/toolchain/../../gnu/dist/toolchain/ld/../bfd -I/archive/cvs/src/tools/toolchain/../../gnu/dist/toolchain/ld/../include -I/archive/cvs/src/tools/toolchain/../../gnu/dist/toolchain/ld/../intl -I../intl  -O -DLOCALEDIR="\"/archive/cvs/src/tools/obj.i386/tools.NetBSD-1.5Y-i386/share/locale\""   -W -Wall -O -c /archive/cvs/src/tools/toolchain/../../gnu/dist/toolchain/ld/ldgram.c
true   /archive/cvs/src/tools/toolchain/../../gnu/dist/toolchain/ld/ldlex.l && mv lex.yy.c /archive/cvs/src/tools/toolchain/../../gnu/dist/toolchain/ld/ldlex.c
mv: rename lex.yy.c to /archive/cvs/src/tools/toolchain/../../gnu/dist/toolchain/ld/ldlex.c: No such file or directory

It seems 'true' gets called instead of 'lex', but I'm not sure why.

Any hints?

Thomas Klausner -
Slang is a language that rolls up its sleeves, spits on its hands, and
goes to work. -- Carl Sandburg, poet and biographer (1878-1967)