Date: Wed, 14 Aug 2013 09:00:02 +0800 From: "Kong, Dev" <dev@macdevshanghai.com> To: freebsd-arm@freebsd.org Subject: r254309 build kernel error Message-ID: <CANEJTgAwp09JWpJK6CJcjhwqbwhvVNREBNtRb0xEOk0MBTm0pA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
make TARGET_ARCH=arm KERNCONF=CUBIEBOARD buildkernel cc -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/home/yarshure/src/sys -I/usr/home/yarshure/src/sys/contrib/altq -I/usr/home/yarshure/src/sys/contrib/ipfilter -I/usr/home/yarshure/src/sys/dev/ath -I/usr/home/yarshure/src/sys/dev/ath/ath_hal -I/usr/home/yarshure/src/sys/contrib/dev/ath/ath_hal -I/usr/home/yarshure/src/sys/contrib/ngatm -I/usr/home/yarshure/src/sys/dev/twa -I/usr/home/yarshure/src/sys/dev/cxgb -I/usr/home/yarshure/src/sys/dev/cxgbe -I/usr/home/yarshure/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -funwind-tables -mllvm -arm-enable-ehabi -ffreestanding /usr/home/yarshure/src/sys/arm/arm/genassym.c In file included from /usr/home/yarshure/src/sys/arm/arm/genassym.c:33: In file included from /usr/home/yarshure/src/sys/sys/proc.h:62: */usr/home/yarshure/src/sys/sys/pcpu.h:188:1: **error: **static_assert failed* * "compile-time assertion failed"* CTASSERT((PAGE_SIZE / sizeof(struct pcpu)) * sizeof(struct pcpu) == PAGE_SIZE); * ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * */usr/home/yarshure/src/sys/sys/systm.h:100:21: **note: *expanded from macro 'CTASSERT' #define CTASSERT(x) _Static_assert(x, "compile-time assertion failed") * ^ ~* 1 error generated. *** Error code 1 Stop. make: stopped in /usr/home/yarshure/obj/arm.arm/usr/home/yarshure/src/sys/CUBIEBOARD *** Error code 1 Stop. make: stopped in /usr/home/yarshure/src *** Error code 1 Stop. make: stopped in /usr/home/yarshure/src
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANEJTgAwp09JWpJK6CJcjhwqbwhvVNREBNtRb0xEOk0MBTm0pA>