Re: buildworld failing in lib/libc/db/btree

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Thu, 21 Jul 2011 11:18:46 +0200
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.
Received on Thu Jul 21 2011 - 07:18:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:15 UTC