On Sun, May 12, 2013 at 11:45:37AM +0000, FreeBSD Tinderbox wrote: > TB --- 2013-05-12 05:50:18 - tinderbox 2.10 running on > freebsd-current.sentex.ca > TB --- 2013-05-12 05:50:18 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE > FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 > d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 > TB --- 2013-05-12 05:50:18 - starting HEAD tinderbox run for i386/i386 > TB --- 2013-05-12 05:50:18 - cleaning the object tree > TB --- 2013-05-12 05:50:18 - /usr/local/bin/svn stat /src > TB --- 2013-05-12 05:50:23 - At svn revision 250553 > TB --- 2013-05-12 05:50:24 - building world > ... > >>> World build completed on Sun May 12 08:58:44 UTC 2013 > ... > TB --- 2013-05-12 08:58:45 - /usr/bin/make -B buildkernel KERNCONF=LINT > .... > >>> Kernel build for LINT completed on Sun May 12 09:32:30 UTC 2013 > ... > TB --- 2013-05-12 11:03:39 - /usr/bin/make -B buildkernel KERNCONF=LINT-VIMAGE > >>> Kernel build for LINT-VIMAGE started on Sun May 12 11:03:39 UTC 2013 > >>> stage 1: configuring the kernel > >>> stage 2.1: cleaning up the object tree > >>> stage 2.2: rebuilding the object tree > >>> stage 2.3: build tools > >>> stage 3.1: making dependencies > >>> stage 3.2: building everything > >>> Kernel build for LINT-VIMAGE completed on Sun May 12 11:33:52 UTC 2013 > TB --- 2013-05-12 11:33:52 - cd /src/sys/i386/conf > TB --- 2013-05-12 11:33:52 - /usr/sbin/config -m GENERIC > TB --- 2013-05-12 11:33:52 - building GENERIC kernel > TB --- 2013-05-12 11:33:52 - CROSS_BUILD_TESTING=YES > TB --- 2013-05-12 11:33:52 - MAKEOBJDIRPREFIX=/obj > TB --- 2013-05-12 11:33:52 - PATH=/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2013-05-12 11:33:52 - SRCCONF=/dev/null > TB --- 2013-05-12 11:33:52 - TARGET=i386 > TB --- 2013-05-12 11:33:52 - TARGET_ARCH=i386 > TB --- 2013-05-12 11:33:52 - TZ=UTC > TB --- 2013-05-12 11:33:52 - __MAKE_CONF=/dev/null > TB --- 2013-05-12 11:33:52 - cd /src > TB --- 2013-05-12 11:33:52 - /usr/bin/make -B buildkernel KERNCONF=GENERIC > >>> Kernel build for GENERIC started on Sun May 12 11:33:52 UTC 2013 > >>> stage 1: configuring the kernel > >>> stage 2.1: cleaning up the object tree > >>> stage 2.2: rebuilding the object tree > >>> stage 2.3: build tools > >>> stage 3.1: making dependencies > >>> stage 3.2: building everything > [...] > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /src/sys/sys/cdefs.h:252:31: note: expanded from macro '__Static_assert' > #define __Static_assert(x, y) ___Static_assert(x, y) > ^~~~~~~~~~~~~~~~~~~~~~ > /src/sys/sys/cdefs.h:253:60: note: expanded from macro '___Static_assert' > #define ___Static_assert(x, y) typedef char __assert_ ## y[(x) ? 1 : -1] > ^~~~~~~~~~~~ > 1 error generated. > *** [vfs_subr.o] Error code 1 > > Stop in /obj/i386.i386/src/sys/GENERIC. > *** [buildkernel] Error code 1
Above didn't go quite far enough back to get all of the relevant
context; here's what I saw in my typescript during "make buildkernel":
...
ctfconvert -L VERSION -g vfs_lookup.o
clang -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-error-tautological-compare
-Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I.
-I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mno-aes -mno-avx -mno-mmx
-mno-sse -msoft-float -ffreestanding -fstack-protector -Werror
/usr/src/sys/kern/vfs_mountroot.c
:> export_syms
awk -f /usr/src/sys/conf/kmod_syms.awk drm2.kld export_syms | xargs -J%
objcopy % drm2.kld
clang -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-error-tautological-compare
-Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I.
-I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mno-aes -mno-avx -mno-mmx
-mno-sse -msoft-float -ffreestanding -fstack-protector -Werror
/usr/src/sys/kern/vfs_subr.c
ctfconvert -L VERSION -g vfs_mount.o
/usr/src/sys/kern/vfs_subr.c:305:1: error: '__assert_4' declared as an array
with a negative size
PCTRIE_DEFINE(BUF, buf, b_lblkno, buf_trie_alloc, buf_trie_free);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/sys/pctrie.h:40:66: note: expanded from macro 'PCTRIE_DEFINE'
CTASSERT(sizeof(((struct type *)0)->field) == sizeof(uint64_t)); \
^
/usr/src/sys/sys/systm.h:100:21: note: expanded from macro '\
CTASSERT'
#define CTASSERT(x) _Static_assert(x, "compile-time assertion failed")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/sys/cdefs.h:251:30: note: expanded from macro '_Static_assert'
#define _Static_assert(x, y) __Static_assert(x, __COUNTER__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/sys/cdefs.h:252:31: note: expanded from macro '__Static_assert'
#define __Static_assert(x, y) ___Static_assert(x, y)
^~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/sys/cdefs.h:253:60: note: expanded from macro '___Static_assert'
#define ___Static_assert(x, y) typedef char __assert_ ## y[(x) ? 1 : -1]
^~~~~~~~~~~~
1 error generated.
*** [vfs_subr.o] Error code 1
....
Based on the above, I reverted r250551 and re-started the "make
buildkernel" -- which succeeded:
FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #897
r250557M/250558:1000032: Sun May 12 06:44:01 PDT 2013
r...@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY i386
Peace,
david
--
David H. Wolfskill da...@catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.
See http://www.catwhisker.org/~david/publickey.gpg for my public key.
pgpiuqElEacqH.pgp
Description: PGP signature
