Subject: 2.0beta build failure on sparc
To: None <current-users@netbsd.org>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: current-users
Date: 06/13/2004 14:38:37
Hi,

my 2.0beta builds on a sparcstation 10 fail consistently at

#   compile  racoon/cfparse.o
/scratch/netbsd-builds/2_0/sparc/tools/bin/sparc--netbsdelf-gcc -g -mcpu=3D=
supersparc -mcpu=3Dsupersparc -O2 -pipe  -Wall -Wstrict-prototypes -Wmissin=
g-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninit=
ialized  -Werror   -DINET6 -DHAVE_FUNCTION_MACRO=3D1 -DHAVE_LIBCRYPTO=3D1 -=
DHAVE_LIBL=3D1 -DHAVE_LIBY=3D1 -DENABLE_IPV6=3D1 -DADVAPI=3D1 -DHAVE_GETADD=
RINFO=3D1 -DHAVE_GETNAMEINFO=3D1 -DSTDC_HEADERS=3D1 -DHAVE_SYS_WAIT_H=3D1 -=
DHAVE_LIMITS_H=3D1 -DHAVE_SYS_TIME_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_STDARG_=
H=3D1 -DHAVE_VARARGS_H=3D1 -DTIME_WITH_SYS_TIME=3D1 -DRETSIGTYPE=3Dvoid -DH=
AVE_VPRINTF=3D1 -DHAVE_GETTIMEOFDAY=3D1 -DHAVE_SELECT=3D1 -DHAVE_SOCKET=3D1=
 -DHAVE_STRERROR=3D1 -DHAVE_STRTOL=3D1 -DHAVE_STRTOUL=3D1 -DHAVE_STRDUP=3D1=
 -DHAVE_GETIFADDRS=3D1 -DHAVE_ARC4RANDOM=3D1 -DHAVE_PFKEYV2 -DYIPS_DEBUG -D=
IPSEC  -I. -I/u1/netbsd-20/src/crypto/dist/kame/racoon -DSYSCONFDIR=3D\"/et=
c/racoon\" -DHAVE_OPENSSL_OPENSSLV_H=3D1 -DYY_NO_UNPUT -I/u1/netbsd-20/src/=
crypto/dist/kame/libipsec -I/u1/netbsd-20/src/crypto/dist/kame/racoon/missi=
ng -DHAVE_GSSAPI -I/scratch/netbsd-builds/2_0/sparc/destdir/usr/include/krb=
5 -DHAVE_SIGNING_C=3D1 -DHAVE_OPENSSL_PEM_H=3D1 -DHAVE_OPENSSL_X509_H=3D1  =
-DHAVE_OPENSSL_EVP_H=3D1  -nostdinc -isystem /scratch/netbsd-builds/2_0/spa=
rc/destdir/usr/include  -c    cfparse.c
--- crypto_openssl.o ---
/u1/netbsd-20/src/crypto/dist/kame/racoon/crypto_openssl.c: In function `ea=
y_str2asn1dn':
/u1/netbsd-20/src/crypto/dist/kame/racoon/crypto_openssl.c:185: warning: de=
referencing type-punned pointer will break strict-aliasing rules
/u1/netbsd-20/src/crypto/dist/kame/racoon/crypto_openssl.c: In function `ea=
y_cmp_asn1dn':
/u1/netbsd-20/src/crypto/dist/kame/racoon/crypto_openssl.c:214: warning: de=
referencing type-punned pointer will break strict-aliasing rules
/u1/netbsd-20/src/crypto/dist/kame/racoon/crypto_openssl.c:217: warning: de=
referencing type-punned pointer will break strict-aliasing rules
*** [crypto_openssl.o] Error code 1
1 error

nbmake: stopped in /u1/netbsd-20/src/usr.sbin/racoon/racoon
*** [dependall] Error code 2
1 error

nbmake: stopped in /u1/netbsd-20/src/usr.sbin/racoon/racoon
*** [dependall-racoon] Error code 2
1 error

nbmake: stopped in /u1/netbsd-20/src/usr.sbin/racoon
*** [dependall-racoon] Error code 2
1 error

nbmake: stopped in /u1/netbsd-20/src/usr.sbin

*** Failed target:  dependall-usr.sbin
*** Failed command: targ=3Ddependall;dir=3Dusr.sbin; case "$dir" in /*) ech=
o "$targ =3D=3D=3D> $dir"; cd "$dir"; /scratch/netbsd-builds/2_0/sparc/tool=
s/bin/nbmake "_THISDIR_=3D$dir/" $targ; ;; *) echo "$targ =3D=3D=3D> $dir";=
 cd "/u1/netbsd-20/src/$dir"; /scratch/netbsd-builds/2_0/sparc/tools/bin/nb=
make "_THISDIR_=3D$dir/" $targ; ;; esac
*** Error code 2

Stop.
nbmake: stopped in /u1/netbsd-20/src
*** [do-build] Error code 1
1 error

nbmake: stopped in /u1/netbsd-20/src

*** Failed target:  build
*** Failed command: (cd /u1/netbsd-20/src && /scratch/netbsd-builds/2_0/spa=
rc/tools/bin/nbmake do-build)
*** Error code 2


-- sources from 'cvs update -dP'; clearing out the obj directory
didn't help any. The relevant part of /etc/mk.conf is

CFLAGS +=3D		-mcpu=3Dsupersparc
CXXFLAGS +=3D		-mcpu=3Dsupersparc
COPTS =3D 		-mcpu=3Dsupersparc -O2 -pipe

Any ideas?

   hauke

--=20
Hauke Fath				Telefon 06155/667161
Friedrich-Ebert-Stra=DFe 70
64347 Griesheim
Germany