-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 07/21/11 00:26, Alexander Best wrote: > On Thu Jul 21 11, Xin LI wrote: On 07/21/11 00:08, Alexander Best > wrote: >>>> 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; > > This is quite weird, __PAST_END is defined in sys/param.h... > > And it compiled just fine here, what's your hosting system? > >> amd64. param.h might be the problem: > >> otaku% grep PAST_END /usr/git-freebsd-head/sys/sys/param.h #define >> __PAST_END(array, offset) (((typeof(*(array)) *)(array))[offset]) >> otaku% grep PAST_END /usr/include/sys/param.h > >> ...maybe copying /usr/git-freebsd-head/sys/sys/param.h to >> /usr/include/sys manually will solve the issue? Likely, but, sys/param.h is MI, and, if you're buildworld'ing from an older world from a cleaned checkout source, it sounds like a bug to me... Cheers, - -- Xin LI <delphij_at_delphij.net> https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQEcBAEBCAAGBQJOJ9VJAAoJEATO+BI/yjfB1MMH/RwsPaRQ0bi6PEbZXv67DcjQ wbAxgKrgFUdSYWuLy5IRgc99aAKmiQ3g4C3AVDHNRpe1/2g3oO5rvAVCTAVCaN5L Ndk0FaHVRC498OjJfvEqqWnXMOxV8XmPlOuMoECK0J9TpXtpIP4laZHpvjmSf/7j m6kCxEwQE0gO47F2tWj3Rf1NbOee9o9BTy8Q8rSw0hooH0VeMUGrfFQLxVIb/0GO 0rwCyjFcegLWL7xefya2a91fP7pYVuvqX/sgUqwjuvwspHoZWTBeT75X+DlwaIYV yuFjaZj5EjtR6mdGkdEq0IHlG3HbtgLnDqsICNk57nTNvrPctA6wOMueA/zhHB8= =6MJ8 -----END PGP SIGNATURE-----Received on Thu Jul 21 2011 - 05:29:15 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:15 UTC