From owner-freebsd-current@FreeBSD.ORG Thu Jul 21 07:08:25 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id EB4B3106566B; Thu, 21 Jul 2011 07:08:25 +0000 (UTC) Date: Thu, 21 Jul 2011 07:08:25 +0000 From: Alexander Best To: freebsd-current@freebsd.org Message-ID: <20110721070825.GA80840@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: 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 07:08:26 -0000 hi there, 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; ^ /usr/git-freebsd-head/lib/libc/db/btree/bt_split.c:486:25: error: expression is not assignable __PAST_END(h->linp, 1) = h->upper -= NRINTERNAL; ~~~~~~~~~~~~~~~~~~~~~~ ^ /usr/git-freebsd-head/lib/libc/db/btree/bt_split.c:538:26: error: expression is not assignable __PAST_END(h->linp, 1) = h->upper -= nbytes; ~~~~~~~~~~~~~~~~~~~~~~ ^ /usr/git-freebsd-head/lib/libc/db/btree/bt_split.c:554:26: error: expression is not assignable __PAST_END(h->linp, 1) = h->upper -= nbytes; ~~~~~~~~~~~~~~~~~~~~~~ ^ 1 warning and 3 errors generated. *** Error code 1 Stop in /usr/git-freebsd-head/lib/libc. *** Error code 1 Stop in /usr/git-freebsd-head. *** Error code 1 Stop in /usr/git-freebsd-head. *** Error code 1 Stop in /usr/git-freebsd-head. *** Error code 1 Stop in /usr/git-freebsd-head. gcc: /usr/bin/cc -O2 -pipe -fno-strict-aliasing -fno-omit-frame-pointer -frename-registers -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 /usr/git-freebsd-head/lib/libc/db/btree/bt_split.c: In function 'bt_rroot': /usr/git-freebsd-head/lib/libc/db/btree/bt_split.c:486: warning: implicit declaration of function '__PAST_END' /usr/git-freebsd-head/lib/libc/db/btree/bt_split.c:486: error: lvalue required as left operand of assignment /usr/git-freebsd-head/lib/libc/db/btree/bt_split.c: In function 'bt_broot': /usr/git-freebsd-head/lib/libc/db/btree/bt_split.c:538: error: lvalue required as left operand of assignment /usr/git-freebsd-head/lib/libc/db/btree/bt_split.c:554: error: lvalue required as left operand of assignment *** Error code 1 Stop in /usr/git-freebsd-head/lib/libc. *** Error code 1 Stop in /usr/git-freebsd-head. *** Error code 1 Stop in /usr/git-freebsd-head. *** Error code 1 Stop in /usr/git-freebsd-head. *** Error code 1 Stop in /usr/git-freebsd-head. ...any recommendations how i can fix this? i'm tracking HEAD btw. cheers. alex