On Thu, Oct 06, 2005 at 08:54:38AM +0200, Pawel Jakub Dawidek wrote: +> Hi. +> +> I'm not able to cross-compile i386 kernel on amd64 machine. +> It worked without any problems before, but with recent HEAD, I get this +> error: +> +> -------------------------------------------------------------- +> >>> stage 3.1: making dependencies +> -------------------------------------------------------------- +> cd /usr/obj/i386/usr/home/src/HEAD/src/sys/LAB; MAKEOBJDIRPREFIX=/usr/obj/i386 MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/usr/obj/i386/usr/home/src/HEAD/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/i386/usr/home/src/HEAD/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/i386/usr/home/src/HEAD/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/usr/obj/i386/usr/home/src/HEAD/src/tmp INSTALL="sh /usr/home/src/HEAD/src/tools/install.sh" PATH=/usr/obj/i386/usr/home/src/HEAD/src/tmp/legacy/usr/sbin:/usr/obj/i386/usr/home/src/HEAD/src/tmp/legacy/usr/bin:/usr/obj/i386/usr/home/src/HEAD/src/tmp/legacy/usr/games:/usr/obj/i386/usr/home/src/HEAD/src/tmp/usr/sbin:/usr/obj/i386/usr/home/src/HEAD/src/tmp/usr/bin:/usr/obj/i386/usr/home/src/HEAD/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin make KERNEL=kernel depend -DNO_MODULES_OBJ +> cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/home/src/HEAD/src/sys -I/usr/home/src/HEAD/src/sys/contrib/dev/acpica -I/usr/home/src/HEAD/src/sys/contrib/altq -I/usr/home/src/HEAD/src/sys/contrib/ipfilter -I/usr/home/src/HEAD/src/sys/contrib/pf -I/usr/home/src/HEAD/src/sys/contrib/dev/ath/freebsd -I/usr/home/src/HEAD/src/sys/contrib/ngatm -I/usr/home/src/HEAD/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding /usr/home/src/HEAD/src/sys/i386/i386/genassym.c +> /usr/home/src/HEAD/src/sys/i386/i386/genassym.c:1: error: -mpreferred-stack-boundary=2 is not between 4 and 12 +> *** Error code 1 +> +> Stop in /usr/home/obj/i386/usr/home/src/HEAD/src/sys/LAB. +> *** Error code 1 +> +> Any ideas? I'm sorry, false alarm. I cleaned up my obj/ directory and forget to build toolchain. BTW. It was still failing when I only built kernel-toolchain. It started to work after building the whole toolchain. -- Pawel Jakub Dawidek http://www.wheel.pl pjd_at_FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am!
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:44 UTC