Subject: Re: bin/28592: addr2line doesnt build
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, mrg@netbsd.org,>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: netbsd-bugs
Date: 12/09/2004 21:52:17
On Thu, Dec 09, 2004 at 01:30:01PM -0600, James Chacon wrote:
> 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?

It is a clean build on a machine with:

- /usr/src is the local source tree (2.0 release)

- /build/dist/src is the -current source tree I'm building

The first include resolved is from /usr/src ... and breaks.

-- 
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)