Subject: Re: -current build failure on i386, in ld
To: Thomas Klausner <>
From: James Chacon <>
List: tech-toolchain
Date: 11/04/2001 23:29:09
This is a known problem where pieces of the toolchain in the source tree
ended up with identical timestamps so it's trying to regen them.


>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
>OBJMACHINE=     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
>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)