Date: Sat, 28 Jan 2012 00:06:57 +0100 From: "erikses@gmail.com" <erikses@gmail.com> To: arm@freebsd.org Subject: Can`t build big-endian kernel FreeBSD 9.0 RELEASE Message-ID: <4F232E11.9030208@gmail.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F232E11.9030208>