Upgrading to 6.1-RELEASE problems with make buildkernel

Michael Proto mike at jellydonut.org
Tue May 16 07:32:41 PDT 2006


Don't you want a release tag of RELENG_6_1 and not RELENG_6_1_0_RELEASE?


-Proto

Yousef Raffah wrote:
> Hi,
> 
> I'm trying to upgrade from 6.1-RC to 6.1-RELEASE
> 
> my cvssup file is:
> *default host=cvsup3.de.FreeBSD.org
> *default base=/var/db
> *default prefix=/usr/
> *default tag=RELENG_6_1_0_RELEASE
> *default release=cvs delete use-rel-suffix compress
> src-all
> 
> my /etc/make.conf is:
> # added by use.perl 2006-03-31 21:01:28
> PERL_VER=5.8.8
> PERL_VERSION=5.8.8
> CPUTYPE=pentium3
> NO_I4B=true
> NO_INET6=true
> NO_RCMDS=true
> NO_SHAREDOCS=true
> ENABLE_WPA_SUPPLICANT_EAPOL=true
> 
> After cvsupping using the above cvs-supfile, I managed to buildworld
> with problems (I get a lot of segmentation fault 11) but it completed
> the build after several tries.
> Now the problem comes when building the kernel. To insure I have a
> working "world", I thought of building a new GENERIC kernel, therefore,
> I used the following, assuming this would build a new GENERIC Kernel;
> 
> # cd /usr/src
> # make buildkernel
> 
> Unfortunately, it keeps on failing with the following:
> 
> MAKE=/usr/obj/usr/src/make.i386/make sh /usr/src/sys/conf/newvers.sh
> GENERIC
> cc -c -O -pipe -march=pentium3 -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -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/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd
> -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -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  -mno-align-long-strings
> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
> -ffreestanding -Werror  vers.c
> linking kernel.debug
>    text    data     bss     dec     hex filename
> 5951318  622880  323724 6897922  694102 kernel.debug
> objcopy --strip-debug kernel.debug kernel
> cd /usr/src/sys/modules;
> MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/GENERIC/modules
> KMODDIR=/boot/kernel DEBUG_FLAGS="-g" MACHINE=i386
> KERNBUILDDIR="/usr/obj/usr/src/sys/GENERIC" /usr/obj/usr/src/make.i386/make  all
> ===> 3dfx (all)
> cc -O2 -fno-strict-aliasing -pipe -march=pentium3 -Werror -D_KERNEL
> -DKLD_MODULE -nostdinc -I-   -DHAVE_KERNEL_OPTION_HEADERS
> -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@
> -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g
> -I/usr/obj/usr/src/sys/GENERIC -mno-align-long-strings
> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
> -ffreestanding -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual  -fformat-extensions -std=c99
> -c /usr/src/sys/modules/3dfx/../../dev/tdfx/tdfx_pci.c
> ld  -d -warn-common -r -d -o 3dfx.kld tdfx_pci.o
> touch export_syms
> awk -f /usr/src/sys/modules/3dfx/../../conf/kmod_syms.awk 3dfx.kld
> export_syms | xargs -J% objcopy % 3dfx.kld
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/3dfx.
> *** Error code 1
> 
> Stop in /usr/src/sys/modules.
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/GENERIC.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> Any suggestions? :'(
> 
> 
> --
> Sincerely,
> Yousef Raffah
> Senior Systems Administrator
> --
> 
> Aren't you using Firefox? Get it at http://www.getfirefox.com
> 
> 
> 


More information about the freebsd-stable mailing list