From owner-freebsd-current@FreeBSD.ORG Thu Jul 21 13:45:08 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id A57881065674; Thu, 21 Jul 2011 13:45:08 +0000 (UTC) Date: Thu, 21 Jul 2011 13:45:08 +0000 From: Alexander Best To: Dimitry Andric Message-ID: <20110721134508.GA39498@freebsd.org> References: <20110721070825.GA80840@freebsd.org> <4E27EEF6.6060401@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E27EEF6.6060401@FreeBSD.org> Cc: freebsd-current@freebsd.org Subject: Re: buildworld failing in lib/libc/db/btree X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2011 13:45:08 -0000 On Thu Jul 21 11, Dimitry Andric wrote: > On 2011-07-21 09:08, Alexander Best wrote: > >for some reason buildworld always fails in lib/libc/db/btree :( > > > >clang: > > > >/usr/bin/clang -O2 -pipe -fno-strict-aliasing -fno-omit-frame-pointer > >-march=core2 -I/usr/git-freebsd-head/lib/libc/include > >-I/usr/git-freebsd-head/lib/libc/../../include > >-I/usr/git-freebsd-head/lib/libc/amd64 -DNLS -D__DBINTERFACE_PRIVATE > >-I/usr/git-freebsd-head/lib/libc/. > >/usr/git-freebsd-head/lib/libc/db/btree/bt_split.c:486:2: warning: > >implicit declaration of function '__PAST_END' is invalid in C99 > >[-Wimplicit-function-declaration] > > __PAST_END(h->linp, 1) = h->upper -= NRINTERNAL; > > ^ > > What have you set CC to (in e.g make.conf, src.conf, in the environment, > or on the command line)? > > If you are including any path, e.g. CC=/usr/bin/clang, buildworld will > not work. Remove the path and try again. THANKS! ...exactly that was the problem. :) after changing CC/CXX so it doesn't contain a full path, buildworld succeeded! cheers. alex