Subject: Problem compiling kernel with gcc-3.2.1
To: None <netbsd-help@netbsd.org>
From: Francisco =?iso-8859-1?Q?Gayt=E1n?= <fg@hispabsd.org>
List: netbsd-help
Date: 03/23/2003 18:35:36
Hi. I have just updated gcc to 3.2.1 from pkgsrc.
I have updated /usr/src with cvs, and when the system is compiling the kernel (make depend && make) it stops with this message:
/usr/pkg/gcc-3.2.1/bin/cc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized -Di386 -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DIPFILTER -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/arch/i386/compile/DATA/../../../../kern/kern_sig.c
/usr/pkg/gcc-3.2.1/bin/cc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized -Di386 -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DIPFILTER -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/arch/i386/compile/DATA/../../../../kern/kern_subr.c
/usr/pkg/gcc-3.2.1/bin/cc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized -Di386 -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DIPFILTER -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/arch/i386/compile/DATA/../../../../kern/kern_synch.c
/usr/pkg/gcc-3.2.1/bin/cc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized -Di386 -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DIPFILTER -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/arch/i386/compile/DATA/../../../../kern/kern_sysctl.c
/usr/pkg/gcc-3.2.1/bin/cc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized -Di386 -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DIPFILTER -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/arch/i386/compile/DATA/../../../../kern/kern_time.c
/usr/pkg/gcc-3.2.1/bin/cc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized -Di386 -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DIPFILTER -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/arch/i386/compile/DATA/../../../../kern/kern_xxx.c
/usr/pkg/gcc-3.2.1/bin/cc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized -Di386 -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DIPFILTER -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/arch/i386/compile/DATA/../../../../kern/subr_autoconf.c
/usr/pkg/gcc-3.2.1/bin/cc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized -Di386 -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DIPFILTER -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/arch/i386/compile/DATA/../../../../kern/subr_disk.c
cc1: los avisos son tratados como errores
/usr/src/sys/kern/subr_disk.c: En la función `diskerr':
/usr/src/sys/kern/subr_disk.c:348: aviso: cadena de formato de longitud cero
*** Error code 1
Stop.
make: stopped in /usr/src/sys/arch/i386/compile/DATA
-bash-2.05b#
Any idea?
Regards.
--
Francisco Gaytán Muñoz.