upgrade failure..
kinux
kinux at hknet.com
Sat Jul 10 22:30:20 PDT 2004
Hi,
i have install freebsd 4.9 on a old AMD box, i have been cvsup download =
the source code, then upgrade it to 4.10 stable but failure at=20
make buildkernel KERNCONF=3Dtest
i give following error
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs =
-Wstrict-prototypes -W
missing-prototypes -Wpointer-arith -Winline -Wcast-qual =
-fformat-extensions -an
si -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include =
-I/usr/src/sys/co
ntrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include =
opt_global.
h -mpreferred-stack-boundary=3D2 =
/usr/src/sys/isofs/cd9660/cd9660_node.c
cc: Internal compiler error: program cc1 got fatal signal 4
*** Error code 1
Stop in /usr/obj/usr/src/sys/people.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Then i comment out CD9660 two line in kernel as no CD_ROM on my box.
make clean =3D=3D> recompile
But error come again.
=3D=3D=3D> md
cc -O -pipe -include /usr/obj/usr/src/sys/people/opt_global.h -D_KERNEL =
-Wall -
Wredundant-decls -Wnested-externs -Wstrict-prototypes =
-Wmissing-prototypes -Wpo
inter-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE =
-nostdi
nc -I- -I. -I@ -I@/../include -mpreferred-stack-boundary=3D2 -Wall =
-Wredundant-d
ecls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes =
-Wpointer-arith
-Winline -Wcast-qual -fformat-extensions -ansi -c =
/usr/src/sys/modules/md/../..
/dev/md/md.c
cc: Internal compiler error: program cc1 got fatal signal 11
*** Error code 1
Stop in /usr/src/sys/modules/md.
*** Error code 1
Stop in /usr/src/sys/modules.
*** Error code 1
Stop in /usr/obj/usr/src/sys/people.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
i Comment out the two line in kernel with MD
make clean =3D=3D> recompile
and the next error..
=3D=3D=3D> accf_http
cc -O -pipe -include /usr/obj/usr/src/sys/people/opt_global.h -D_KERNEL =
-Wall -
Wredundant-decls -Wnested-externs -Wstrict-prototypes =
-Wmissing-prototypes -Wpo
inter-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE =
-nostdi
nc -I- -I. -I@ -I@/../include -mpreferred-stack-boundary=3D2 -Wall =
-Wredundant-d
ecls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes =
-Wpointer-arith
-Winline -Wcast-qual -fformat-extensions -ansi -c =
/usr/src/sys/modules/accf_htt
p/../../netinet/accf_http.c
cc: Internal compiler error: program cc1 got fatal signal 11
*** Error code 1
Stop in /usr/src/sys/modules/accf_http.
*** Error code 1
Stop in /usr/src/sys/modules.
*** Error code 1
Stop in /usr/obj/usr/src/sys/people.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
This time i have no idea on this error, it seems the compiler problem OR =
hardware problem, not sure...
%dmesg | grep CPU
CPU: AMD-K6(tm) 3D processor (350.80-MHz 586-class CPU)
in my kernel
machine i386
#cpu I386_CPU
#cpu I486_CPU
cpu I586_CPU
#cpu I686_CPU
ident test
maxusers 64
=20
What will be the problem?? Does it need to edit something in =
/etc/make.conf for AMD CPU or setting something on gcc??
Thanks.
More information about the freebsd-questions
mailing list