skyeye kernel build broken

John Hay jhay at meraka.org.za
Wed Feb 27 20:59:12 UTC 2008


Hi,

I have been thinking of using a arm simulator to see if I could build
local arm packages that way. So I saw that there is a SKYEYE kernel
in the arm directory, but when trying to crossbuild it, it gives
this error:

######################
make TARGET_ARCH=arm buildkernel KERNCONF=SKYEYE
...
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 -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror  vnode_if.c
:> hack.c
cc -shared -nostdlib hack.c -o hack.So
rm -f hack.c
cat /usr/src/sys/conf/ldscript.arm|sed s/KERNPHYSADDR/0x20000000/g|  sed s/KERNVIRTADDR/0xc0000000/g > ldscript.arm
MAKE=make sh /usr/src/sys/conf/newvers.sh KB920X
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 -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror  vers.c
linking kernel.debug
hack.So: could not read symbols: Invalid operation
*** Error code 1

Stop in /export/obj/arm/usr/src/sys/SKYEYE.
######################

Should it work? I can build the AVILA kernel without a problem.

Is there another easier way to build packages? Currently I use an AVILA
board with a diskless NFS setup to build the packages I need. FreeBSD
itself I just cross compile.

John
-- 
John Hay -- John.Hay at meraka.csir.co.za / jhay at FreeBSD.org


More information about the freebsd-arm mailing list