Subject: Re: bin/28592: addr2line doesnt build
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, mrg@netbsd.org>
From: James Chacon <jmc@netbsd.org>
List: netbsd-bugs
Date: 12/09/2004 13:30:01
On Thu, Dec 09, 2004 at 07:38:54PM +0100, Juergen Hannken-Illjes wrote:
> The problem is gnu/usr.bin/binutils/common/arch/${ARCH}/defs.mk
> 
> Before version 2.15 we had for example:
> 
>     G_DEFS=-DHAVE_CONFIG_H -I. -I${GNUHOSTDIST}/binutils -I.
> 
> Now we have
> 
>     G_DEFS=-DHAVE_CONFIG_H -I. -I/usr/src/tools/binutils/../../gnu/dist/binutils/binutils -I.
> 
> These occurences of "/usr/src/tools" must be replaced by "${GNUHOSTDIST}".

I agree that's broken, but that's not whats breaking your builds. My builds
all run clean (and look at your compile line. There's a -I further down
that does include the dist directory so it does get there even if the /usr/src
one is wrong).

Most likely your breakage is some form of make update issue. Are you doing
this from a pristine build or this a make update?

James