Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 May 2001 11:56:15 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Warner Losh <imp@harmony.village.org>
Cc:        obrien@FreeBSD.ORG, David Wolfskill <david@catwhisker.org>, current@FreeBSD.ORG
Subject:   Re: cvs commit: src/contrib/binutils/ld/emultempl elf32.em 
Message-ID:  <Pine.BSF.4.21.0105041146420.56824-100000@besplex.bde.org>
In-Reply-To: <200105031723.f43HNmb65803@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 3 May 2001, Warner Losh wrote:

> In message <20010503100813.A66013@dragon.nuxi.com> "David O'Brien" writes:
> ...
> : I thought I had gotten my systems clean enough when I did the post-commit
> : ``make buildworld'' test.  *sigh* a nice bootstrap issue here.  Problem
> : is elf-hints.h is a new header and a buildtool uses it.  I guess a
> : -I/usr/src/include is needed (or an install of headers into /usr/obj).
      ^^^^ should be a relative path.  Fixed in the committed version

> You would have to add -I/usr/include before the -I/usr/src/include.

> Otherwise things will compile with the host's stdio and friends, which
> could be bad if there were a mismatch between them (like in FILE
> definitions, say).

The committed version has this bug.

> Sometimes I think that adding a "cross update install" target which
> would put new .h files into /usr/obj/mumble/include might not be a bad
> thing....

This has essentially the same problems as putting /usr/src/include before
/usr/include.  Very few headers outside of /usr/include are certain to
work on the host for _all_ cross-tools.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0105041146420.56824-100000>