Subject: build failure of macppc on macppc in libc/hash.o
To: None <current-users@netbsd.org>
From: Jonathan A. Kollasch <jakllsch@kollasch.net>
List: current-users
Date: 10/15/2005 21:17:49
Hi,

While running './build.sh -U -u release' in a clean source checkout from my 
repository just after it was cvsuped from the mirror in Japan. MAKECONF 
points to a file containing only 'CFLAGS=-pipe'.

On:

NetBSD ans.kollasch.net 3.99.7 NetBSD 3.99.7 (GENERIC.RAL) #0: Thu Jul 14 
21:28:53 CDT 2005  root@:/usr/src/sys/arch/macppc/compile/GENERIC.RAL macppc

(GENERIC with additon of ral @ pci (btw the ral card couldn't actually send or 
receive packets on macppc, but that's another issue))

I get this:

#   compile  libc/hash.o
/home/tmp/src/tooldir.NetBSD-3.99.7-powerpc/bin/powerpc--netbsd-gcc -pipe 
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow  -Werror    
-D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT 
-I/home/tmp/src/lib/libc/include -I/home/tmp/src/lib/libc -DHESIOD -DINET6 
-DNLS -DYP -D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS 
-I/home/tmp/src/sys -I/home/tmp/src/lib/libc/stdlib 
-I/home/tmp/src/libexec/ld.elf_so -I/home/tmp/src/lib/libc/dlfcn 
-DCITRUS_ICONV -DWITH_RUNE -I/home/tmp/src/lib/libc -DPOSIX_MISTAKE 
-DCOMPAT__RES -DPORTMAP -DFLOATING_POINT -DALL_STATE -DUSG_COMPAT   -nostdinc 
-isystem /home/tmp/src/destdir.macppc/usr/include 
-c    /home/tmp/src/lib/libc/db/hash/hash.c -o hash.o.tmp
/home/tmp/src/lib/libc/db/hash/hash.c: In function `hash_seq':
/home/tmp/src/lib/libc/db/hash/hash.c:743: warning: `bufp' might be used 
uninitialized in this function

*** Failed target:  hash.o

Is this my fault?

	Jonathan Kollasch