Problem building armv6 kernel
George Neville-Neil
gnn at neville-neil.com
Sun Nov 24 00:37:34 UTC 2013
Howdy,
I’m trying to follow the instructions here:
https://wiki.freebsd.org/FreeBSD/arm/Radxa%20Rock
to build for the RadxaRock that I have. I’m on HEAD as of 23 November 17:00, or thereabout.
I have build the kernel toolchain but when I go to build the kernel I get
cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-pr
ototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-
pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-optio
n -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-e
quality -nostdinc -I. -I/usr/home/gnn/git/freebsd/sys -I/usr/home/gnn/git/freebs
d/sys/contrib/altq -I/usr/home/gnn/git/freebsd/sys/contrib/ipfilter -I/usr/home/
gnn/git/freebsd/sys/dev/ath -I/usr/home/gnn/git/freebsd/sys/dev/ath/ath_hal -I/u
sr/home/gnn/git/freebsd/sys/contrib/dev/ath/ath_hal -I/usr/home/gnn/git/freebsd/
sys/contrib/ngatm -I/usr/home/gnn/git/freebsd/sys/dev/twa -I/usr/home/gnn/git/fr
eebsd/sys/dev/cxgb -I/usr/home/gnn/git/freebsd/sys/dev/cxgbe -I/usr/home/gnn/git
/freebsd/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_
global.h -funwind-tables -mllvm -arm-enable-ehabi -ffreestanding /usr/home/gnn/g
it/freebsd/sys/arm/arm/genassym.c
In file included from /usr/home/gnn/git/freebsd/sys/arm/arm/genassym.c:33:
In file included from /usr/home/gnn/git/freebsd/sys/sys/proc.h:62:
/usr/home/gnn/git/freebsd/sys/sys/pcpu.h:188:1: error: static_assert failed "com
pile-time assertion failed"
CTASSERT((PAGE_SIZE / sizeof(struct pcpu)) * sizeof(struct pcpu) == PAGE_SIZE);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/home/gnn/git/freebsd/sys/sys/systm.h:100:21: note: expanded from macro 'CTA
SSERT'
#define CTASSERT(x) _Static_assert(x, "compile-time assertion failed")
^ ~
1 error generated.
*** Error code 1
Anyone else seeing this?
Best,
George
More information about the freebsd-arm
mailing list