Hi all
I am trying to upgrade to current
but building a kernel after cvs up didn't work.
did some fresh installs and updates, on 2 divert machines (base install
goes fine)
a. install via bsd.rd to 3.9
b. get src by ftp for 3.9 = can build kernel (+ world still compiling?)
c. when I do updates like
c.1 = cvsup src tree
cd /usr
export [EMAIL PROTECTED]:/cvs
cvs -d$CVSROOT checkout -P src
or
c.2=
cd /usr/src
export [EMAIL PROTECTED]:/cvs
cvs -d$CVSROOT up -Pd
c.3= just
install sys.tar.gz and src.tar.gz from ftp and do
cd /usr/src cvs up -Pd
Things end up at the same point that kernel won't build
# cd /usr/src/sys/arch/i386/conf
config GENERIC
# cd ../compile/GENERIC/
# make
sh /usr/src/sys/arch/i386/compile/GENERIC/../../../../kern/genassym.sh
cc -Werr
or -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
-Wno-forma
t -Wno-main -Wstack-larger-than-2047 -fno-builtin-printf
-fno-builtin-log -O2
-pipe -nostdinc -I.
-I/usr/src/sys/arch/i386/compile/GENERIC/../../../../arch -I
/usr/src/sys/arch/i386/compile/GENERIC/../../../.. -DDDB -DDIAGNOSTIC
-DKTRACE -
DACCOUNTING -DKMEMSTATS -DPTRACE -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM
-DUVM_SW
AP_ENCRYPT -DCOMPAT_35 -DCOMPAT_43 -DLKM -DFFS -DFFS_SOFTUPDATES
-DUFS_DIRHASH -
DQUOTA -DEXT2FS -DMFS -DXFS -DTCP_SACK -DTCP_ECN -DTCP_SIGNATURE
-DNFSCLIENT -DN
FSSERVER -DCD9660 -DUDF -DMSDOSFS -DFIFO -DPORTAL -DINET -DALTQ -DINET6
-DIPSEC
-DPPP_BSDCOMP -DPPP_DEFLATE -DMROUTING -DBOOT_CONFIG -DI386_CPU
-DI486_CPU -DI58
6_CPU -DI686_CPU -DUSER_PCICONF -DUSER_LDT -DAPERTURE -DCOMPAT_SVR4
-DCOMPAT_IBC
S2 -DCOMPAT_LINUX -DCOMPAT_FREEBSD -DCOMPAT_BSDOS -DCOMPAT_AOUT -DPROCFS
-DPCIVE
RBOSE -DEISAVERBOSE -DUSBVERBOSE -DONEWIREVERBOSE -DWSDISPLAY_COMPAT_USL
-DWSDIS
PLAY_COMPAT_RAWKBD -DWSDISPLAY_DEFAULTSCREENS=6
-DWSDISPLAY_COMPAT_PCVT -DPCIA
GP -D_KERNEL -Di386 -DMAXUSERS=32
/usr/src/sys/arch/i386/compile/GENERIC/../.
./../../arch/i386/i386/genassym.cf assym.h.tmp mv -f assym.h.tmp
assym.h
cc1: error: unrecognized option `-Wstack-larger-than-2047'
*** Error code 1
Stop in /usr/src/sys/arch/i386/compile/GENERIC (line 715 of Makefile).
I tried several options/ways with make clean and make depend and
several reposities/update.
Just the questions:
Am I doing some wrong here?
The build seems to go further on when leaving to
-Wstack-larger-than-2047 option out the make file like this:
# diff -c Makefile Makefile.org
*** MakefileTue Aug 22 14:24:14 2006
--- Makefile.orgTue Aug 22 14:26:43 2006
***
*** 38,49
INCLUDES= -nostdinc -I. -I$S/arch -I$S
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Di386
- #CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
- # -Wno-uninitialized -Wno-format -Wno-main \
- # -Wstack-larger-than-2047
CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
! -Wno-uninitialized -Wno-format -Wno-main # \
! # -Wstack-larger-than-2047
.if !${IDENT:M-DI386_CPU}
CMACHFLAGS= -march=i486
--- 38,46
INCLUDES= -nostdinc -I. -I$S/arch -I$S
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Di386
CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
! -Wno-uninitialized -Wno-format -Wno-main \
! -Wstack-larger-than-2047
.if !${IDENT:M-DI386_CPU}
CMACHFLAGS= -march=i486
#
kind regards,
Marten