From owner-freebsd-stable@FreeBSD.ORG Tue May 20 01:58:09 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEB821065674 for ; Tue, 20 May 2008 01:58:09 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (drugs.dv.isc.org [IPv6:2001:470:1f00:820:214:22ff:fed9:fbdc]) by mx1.freebsd.org (Postfix) with ESMTP id 9446C8FC1A for ; Tue, 20 May 2008 01:58:09 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.14.2/8.14.2) with ESMTP id m4K1w30H029689; Tue, 20 May 2008 11:58:04 +1000 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200805200158.m4K1w30H029689@drugs.dv.isc.org> To: Dave Uhring From: Mark Andrews In-reply-to: Your message of "Mon, 19 May 2008 20:38:25 EST." <20080520013825.GB1310@charter.net> Date: Tue, 20 May 2008 11:58:03 +1000 Sender: marka@isc.org Cc: freebsd-stable@freebsd.org, Clifton Royston Subject: Re: Buildworld Fails RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 01:58:09 -0000 > On Mon, May 19, 2008 at 02:01:48PM -1000, Clifton Royston wrote: > > On Mon, May 19, 2008 at 03:14:08PM -0500, Dave Uhring wrote: > > > > > > The problem is that gcc is *not* finding the file in the directory > > > referenced by the -I cflag. If I copy the header files to the directory > > > where the error occurs the header file is found and used to compile the > > > source file. > > > > This starts to narrow down the problem you're having a bit, I think. > > > > Given that this is different from the expected behavior and the > > behavior others are seeing, this sounds to me like either 1) the wrong > > compiler or version of the compiler is being found and used in place of > > the desired gcc instance, or 2) something in your shell or environment > > is somehow getting into the buildworld environment and causing make or > > the inner shell to misparse the commandline to gcc. > > The c compiler is the one shipped with 7.0 RELEASE. Except for the 3 > new header files that I placed from cvsupped sources into /usr/include/sys > the entire system is 7.0 RELEASE. > > Prior to beginning the build I deliberately set > > # export CFLAGS="" This does NOT remove CFLAGS from the environment. env -i PATH=$PATH make ... will clear the enviornment and just add PATH. e.g. % env -i PATH="$PATH" SHELL="$SHELL" HOME="$HOME" printenv PATH=/home/marka/gnu/bin:/home/marka/bin/mask:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:/home/marka/bin:/usr/local/sbin SHELL=/bin/csh HOME=/home/marka % > Nothing else in my environment would have affected the compiler. > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org