Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2013 19:37:30 -0500
From:      George Neville-Neil <gnn@neville-neil.com>
To:        arm@freebsd.org
Subject:   Problem building armv6 kernel 
Message-ID:  <5BC2EB9A-27D8-4764-A073-F7EAFCDC70B6@neville-neil.com>

next in thread | raw e-mail | index | archive | help
Howdy,

I=92m trying to follow the instructions here:

https://wiki.freebsd.org/FreeBSD/arm/Radxa%20Rock

to build for the RadxaRock that I have.  I=92m 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=3Dc99 -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) =3D=3D =
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5BC2EB9A-27D8-4764-A073-F7EAFCDC70B6>