Can`t build big-endian kernel FreeBSD 9.0 RELEASE
erikses at gmail.com
erikses at gmail.com
Fri Jan 27 23:29:54 UTC 2012
Hi,
i cant figure out why I cant cross-build *big-endian* kernel.
first i make toolchain :
$make TARGET=arm TARGET_ARCH=armeb toolchain
then when I`m trying to build kernel I see:
$make KERNCONF=AT91SAM9260EK TARGET=arm TARGET_ARCH=armeb buildkernel
*cc -mlittle-endian *-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
-nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq
-I/usr/src/sys/contrib/libfdt -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 -Wno-error /usr/src/sys/cam/cam_periph.c
but when I`m building world using :
$make TARGET=arm TARGET_ARCH=armeb buildworld
i see:
cc -O2 -pipe -I. -DGCCVER=\"4.2\" -DIN_GCC -DHAVE_CONFIG_H
-DPREFIX=\"/usr\" -DCROSS_COMPILE *-DTARGET_ENDIAN_DEFAULT=MASK_BIG_END
*-I/usr/obj/arm.armeb/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/include
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libcpp/include
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libdecnumber
-g -DGENERATOR_FILE -DHAVE_CONFIG_H -std=gnu89
-I/usr/obj/arm.armeb/usr/src/tmp/legacy/usr/include
-L/usr/obj/arm.armeb/usr/src/tmp/legacy/usr/lib -o genemit genemit.o
rtl.o read-rtl.o ggc-none.o vec.o min-insn-modes.o gensupport.o
print-rtl.o errors.o libiberty.a -lm
./genemit
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/arm/arm.md
insn-conditions.md > insn-emit.c
what am I doing wrong ?
target CPU is Atmel ARM AT91SAM9260, I`m using AT91SAM9G20 modified config
Stanislaw.
More information about the freebsd-arm
mailing list