Subject: Re: toolchain/20628: sparc fails to build new ld after binutils update
To: Havard Eidnes <he@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 03/10/2003 14:52:31
On Sun, Mar 09, 2003 at 04:14:58PM +0100, Havard Eidnes wrote:
> Hm,
> 
> apparently I had a modified (!) binutils/arparse.c file in my tree (I
> don't know why; I've not modified it intentionally).  Fixing that
> fixed this problem.

It isn't that...

I've hit the same fault on two different [1] NetBSD build trees for two
different architectures (i386 and sparc).


I 'fixed' the one by deleting the generated C files in
obj/gnu/usr.bin/binutils/ld

However the lack of a dependancy doesn't bode well....

It seems that obj/gnu/usr.bin/binutils/ld/.depend.elf_i386 only
contains:

eelf_i386.c:  elf.sc

Whereas it needs to also contian a dependancy against the program/script
that builds it.

(adding dependencies against all the header files also works...)

	David

[1] don't ask...

-- 
David Laight: david@l8s.co.uk