Subject: Re: CURRENT compile failure
To: David H. Gutteridge <dhgutteridge@sympatico.ca>
From: Nick Hudson <nick.hudson@dsl.pipex.com>
List: port-hp700
Date: 11/27/2006 07:22:50
On Monday 27 November 2006 05:02, David H. Gutteridge wrote:
> Hi all,
>
> I was just trying to compile a GENERIC kernel from CURRENT with DEBUG
> and DIAGNOSTIC enabled (source from Nov. 25th, though the file in
> question hasn't changed in a long time according to CVS), and it fails
> with the following error:
>
> #   compile  spmath/setovfl.o
> cc -pipe -ffreestanding -fno-zero-initialized-in-bss   -march=1.1
> -mschedule=7300 -O2 -pipe -mpa-risc-1-1 -msoft-float -mdisable-fpregs
> -mno-space-regs -mfast-indirect-calls -mportable-runtime -Werror -Wall
> -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
> -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings
> -Wno-sign-compare -Wno-pointer-sign -Wno-attributes  -fno-strict-aliasing
> -Dhppa -Dhp700 -I. -I../../. -I. -I../../../../../../../common/include -I.
> -I../../../../../../arch -I. -I../../../../../.. -nostdinc -DFPEMUL -DLKM
> -DDIAGNOSTIC -DDEBUG -DGSCVERBOSE -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I.
> -I../../../../../../lib/libkern/../../../common/lib/libc/quad -I.
> -I../../../../../../lib/libkern/../../../common/lib/libc/string -I.
> -I../../../../../../dist/ipf    -c
> /usr/src/sys/arch/hppa/spmath/setovfl.c -o setovfl.o
> cc1: warnings being treated as errors
> /usr/src/sys/arch/hppa/spmath/setovfl.c: In function 'dbl_setoverflow':
> /usr/src/sys/arch/hppa/spmath/setovfl.c:119: warning: 'result.wd1' is used
> uninitialized in this function
> /usr/src/sys/arch/hppa/spmath/setovfl.c:119: warning: 'result.wd0' is used
> uninitialized in this function
> *** Error code 1
>
> Stop.
> make: stopped in /usr/src/sys/arch/hppa/spmath
> *** Error code 1
>
> Stop.
> make: stopped in /usr/src/sys/arch/hp700/compile/DEBUG
>
> Any ideas?

cvs update and try again.

Nick