crochet fails on recent CURRENT for beaglebone

hiren panchasara hiren.panchasara at gmail.com
Sat Jun 8 17:45:41 UTC 2013


Updated my tree to CURRENT and tried building bb image from crochet
and it fails here:

Any pointers?

cheers,
Hiren


--------------------------------------------------------------
>>> stage 3.1: making dependencies
--------------------------------------------------------------

<snip>

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-co
mpare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc
-I. -I/usr/home/hirenp/current/sys -I/usr/home/hirenp/current/sy
s/contrib/altq -I/usr/home/hirenp/current/sys/contrib/ipfilter
-I/usr/home/hirenp/current/sys/dev/ath
-I/usr/home/hirenp/current/sys/d
ev/ath/ath_hal -I/usr/home/hirenp/current/sys/contrib/dev/ath/ath_hal
-I/usr/home/hirenp/current/sys/contrib/ngatm -I/usr/home/hirenp/
current/sys/dev/twa -I/usr/home/hirenp/current/sys/dev/cxgb
-I/usr/home/hirenp/current/sys/dev/cxgbe
-I/usr/home/hirenp/current/sys/co
ntrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
opt_global.h -ffreestanding
/usr/home/hirenp/current/sys/arm/arm/genassym
.c
In file included from /usr/home/hirenp/current/sys/arm/arm/genassym.c:33:
In file included from /usr/home/hirenp/current/sys/sys/proc.h:62:
/usr/home/hirenp/current/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/hirenp/current/sys/sys/systm.h:100:21: note: expanded from
macro 'CTASSERT'
#define CTASSERT(x)     _Static_assert(x, "compile-time assertion failed")
                        ^
1 error generated.
*** [genassym.o] Error code 1
1 error
*** [buildkernel] Error code 2
1 error
*** [buildkernel] Error code 2
1 error


More information about the freebsd-arm mailing list