Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 2010 10:37:31 +0200
From:      Sandra Kachelmann <s.kachelmann@googlemail.com>
To:        freebsd-stable@FreeBSD.org
Subject:   can't compile kernel on STABLE
Message-ID:  <w2v91b92521004250137y701dbb2cy4aee801c3b1bdcc5@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I _just_ checked out the source tree for RELENG_6 and tried to build
an image for my ALIX board:


$ NOCCACHE=3Dyes KERNCONF=3DGENERIC TARGET_ARCH=3Di386 CPUTYPE=3Di586 make =
buildkernel

...

cc -O2 -pipe -nostdinc -I/usr/include -I.
-I/usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm
-std=3Dgnu99  -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=3D/usr/obj/i386
MACHINE_ARCH=3Di386  MACHINE=3Di386  CPUTYPE=3D
GROFF_BIN_PATH=3D/usr/obj/i386/usr/src/tmp/legacy/usr/bin
GROFF_FONT_PATH=3D/usr/obj/i386/usr/src/tmp/legacy/usr/share/groff_font
GROFF_TMAC_PATH=3D/usr/obj/i386/usr/src/tmp/legacy/usr/share/tmac
_SHLIBDIRPREFIX=3D/usr/obj/i386/usr/src/tmp  VERSION=3D"FreeBSD 8.0-STABLE
amd64 800504"  INSTALL=3D"sh /usr/src/tools/install.sh"
PATH=3D/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/t=
mp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
NO_CTF=3D1 make KERNEL=3Dkernel depend -DNO_MODULES_OBJ
machine -> /usr/src/sys/i386/include
cc -c -O -pipe -std=3Dc99 -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=3D8000 --param inline-unit-growth=3D100 --param
large-function-growth=3D1000 -mno-align-long-strings
-mpreferred-stack-boundary=3D2 -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=3D2 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@sandy.local:/usr/obj/usr/src/sys/GENERIC
amd64

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

Sandra



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?w2v91b92521004250137y701dbb2cy4aee801c3b1bdcc5>