can't compile kernel on STABLE

Sandra Kachelmann s.kachelmann at googlemail.com
Sun Apr 25 09:06:57 UTC 2010


I _just_ checked out the source tree for RELENG_6 and tried to build
an image for my ALIX board:


$ NOCCACHE=yes KERNCONF=GENERIC TARGET_ARCH=i386 CPUTYPE=i586 make buildkernel

...

cc -O2 -pipe -nostdinc -I/usr/include -I.
-I/usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm
-std=gnu99  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch
-Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline
-Wnested-externs -Wredundant-decls -Wno-pointer-sign  -o aicasm
aicasm.o aicasm_symbol.o aicasm_gram.o aicasm_macro_gram.o
aicasm_scan.o aicasm_macro_scan.o -ll

--------------------------------------------------------------
>>> stage 3.1: making dependencies
--------------------------------------------------------------
cd /usr/obj/i386/usr/src/sys/GENERIC; MAKEOBJDIRPREFIX=/usr/obj/i386
MACHINE_ARCH=i386  MACHINE=i386  CPUTYPE=
GROFF_BIN_PATH=/usr/obj/i386/usr/src/tmp/legacy/usr/bin
GROFF_FONT_PATH=/usr/obj/i386/usr/src/tmp/legacy/usr/share/groff_font
GROFF_TMAC_PATH=/usr/obj/i386/usr/src/tmp/legacy/usr/share/tmac
_SHLIBDIRPREFIX=/usr/obj/i386/usr/src/tmp  VERSION="FreeBSD 8.0-STABLE
amd64 800504"  INSTALL="sh /usr/src/tools/install.sh"
PATH=/usr/obj/i386/usr/src/tmp/legacy/usr/sbin:/usr/obj/i386/usr/src/tmp/legacy/usr/bin:/usr/obj/i386/usr/src/tmp/legacy/usr/games:/usr/obj/i386/usr/src/tmp/usr/sbin:/usr/obj/i386/usr/src/tmp/usr/bin:/usr/obj/i386/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
NO_CTF=1 make KERNEL=kernel depend -DNO_MODULES_OBJ
machine -> /usr/src/sys/i386/include
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
-I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf
-I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal
-I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa
-I/usr/src/sys/gnu/fs/xfs/FreeBSD
-I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs
-I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb
-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 -fstack-protector
/usr/src/sys/i386/i386/genassym.c
/usr/src/sys/i386/i386/genassym.c:1: error:
-mpreferred-stack-boundary=2 is not between 4 and 12
*** Error code 1

Stop in /usr/obj/i386/usr/src/sys/GENERIC.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


This is on:

# uname -a
FreeBSD sandy.local 8.0-STABLE FreeBSD 8.0-STABLE #0: Sat Apr 24
02:19:49 CEST 2010     root at sandy.local:/usr/obj/usr/src/sys/GENERIC
amd64

I've always built my ALIX images that way. Any idea?

Sandra


More information about the freebsd-stable mailing list