Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jun 2013 10:45:39 -0700
From:      hiren panchasara <hiren.panchasara@gmail.com>
To:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   crochet fails on recent CURRENT for beaglebone
Message-ID:  <CALCpEUHAExG1ViiOGWOHM_J3h%2Brzg9WU4AjHBC3Anmfvexwanw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALCpEUHAExG1ViiOGWOHM_J3h%2Brzg9WU4AjHBC3Anmfvexwanw>