From owner-freebsd-current Thu May 3 18:57:47 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id D06F937B423; Thu, 3 May 2001 18:57:43 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id LAA12136; Fri, 4 May 2001 11:57:25 +1000 Date: Fri, 4 May 2001 11:56:15 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Warner Losh Cc: obrien@FreeBSD.ORG, David Wolfskill , current@FreeBSD.ORG Subject: Re: cvs commit: src/contrib/binutils/ld/emultempl elf32.em In-Reply-To: <200105031723.f43HNmb65803@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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