From owner-freebsd-current Thu May 3 10:23:59 2001 Delivered-To: freebsd-current@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 40EE337B423; Thu, 3 May 2001 10:23:52 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.1) with ESMTP id f43HNmb65803; Thu, 3 May 2001 11:23:50 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200105031723.f43HNmb65803@harmony.village.org> To: obrien@FreeBSD.ORG Subject: Re: cvs commit: src/contrib/binutils/ld/emultempl elf32.em Cc: David Wolfskill , current@FreeBSD.ORG In-reply-to: Your message of "Thu, 03 May 2001 10:08:13 PDT." <20010503100813.A66013@dragon.nuxi.com> References: <20010503100813.A66013@dragon.nuxi.com> <200105031448.f43Em8q37301@bunrab.catwhisker.org> Date: Thu, 03 May 2001 11:23:48 -0600 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010503100813.A66013@dragon.nuxi.com> "David O'Brien" writes: : On Thu, May 03, 2001 at 07:48:08AM -0700, David Wolfskill wrote: : > [Ref. http://docs.freebsd.org/cgi/getmsg.cgi?fetch=574034+0+current/cvs-all] : ... : > eelf_i386.c:158: elf-hints.h: No such file or directory : : Crap,crap,crap,crap,crap!!! : 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). 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). 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.... : To get over this hump if you aren't interested in debugging the bootstrap : issue: : : cd /usr/src/include : make obj : make install This is kinda hard when compiling current on a stable system that you wish to remain stable system after the compile :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message