From owner-freebsd-current@FreeBSD.ORG Thu Jul 21 09:18:47 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53090106564A; Thu, 21 Jul 2011 09:18:47 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 17E068FC18; Thu, 21 Jul 2011 09:18:47 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:7469:953f:9d81:458a] (unknown [IPv6:2001:7b8:3a7:0:7469:953f:9d81:458a]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id E012A5C37; Thu, 21 Jul 2011 11:18:45 +0200 (CEST) Message-ID: <4E27EEF6.6060401@FreeBSD.org> Date: Thu, 21 Jul 2011 11:18:46 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Alexander Best References: <20110721070825.GA80840@freebsd.org> In-Reply-To: <20110721070825.GA80840@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 09:18:47 -0000 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.