Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jun 2007 19:26:07 +0400
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Doug Barton <dougb@FreeBSD.org>, FreeBSD Tinderbox <tinderbox@FreeBSD.org>
Cc:        amd64@FreeBSD.org, current@FreeBSD.org
Subject:   Re: [head tinderbox] failure on amd64/amd64
Message-ID:  <20070603152607.GA41397@rambler-co.ru>
In-Reply-To: <20070603094814.CA1FB73068@freebsd-current.sentex.ca>
References:  <20070603094814.CA1FB73068@freebsd-current.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 03, 2007 at 05:48:14AM -0400, FreeBSD Tinderbox wrote:
> TB --- 2007-06-03 09:10:00 - tinderbox 2.3 running on freebsd-current.sen=
tex.ca
> TB --- 2007-06-03 09:10:00 - starting HEAD tinderbox run for amd64/amd64
> TB --- 2007-06-03 09:10:00 - cleaning the object tree
> TB --- 2007-06-03 09:10:15 - checking out the source tree
> TB --- 2007-06-03 09:10:15 - cd /tinderbox/HEAD/amd64/amd64
> TB --- 2007-06-03 09:10:15 - /usr/bin/cvs -f -R -q -d/home/ncvs update -P=
d -A src
> TB --- 2007-06-03 09:20:38 - building world (CFLAGS=3D-O2 -pipe)
> TB --- 2007-06-03 09:20:38 - cd /src
> TB --- 2007-06-03 09:20:38 - /usr/bin/make -B buildworld
> >>> World build started on Sun Jun  3 09:20:39 UTC 2007
> >>> Rebuilding the temporary build tree
> >>> stage 1.1: legacy release compatibility shims
> >>> stage 1.2: bootstrap tools
> >>> stage 2.1: cleaning up the object tree
> >>> stage 2.2: rebuilding the object tree
> >>> stage 2.3: build tools
> >>> stage 3: cross tools
> >>> stage 4.1: building includes
> >>> stage 4.2: building libraries
> [...]
> =3D=3D=3D> lib/bind/bind9 (depend)
> rm -f .depend
> mkdep -f .depend -a    -DVERSION=3D'"9.4.1"' -DHAVE_CONFIG_H -DLIBINTERFA=
CE=3D30 -DLIBREVISION=3D3 -DLIBAGE=3D0 -DWANT_IPV6 -DOPENSSL -DUSE_MD5 -DNS=
_LOCALSTATEDIR=3D'"/var"' -DNS_SYSCONFDIR=3D'"/etc/namedb"' -DNAMED_CONFFIL=
E=3D'"/etc/namedb/named.conf"' -DRNDC_CONFFILE=3D'"/etc/namedb/rndc.conf"' =
-DRNDC_KEYFILE=3D'"/etc/namedb/rndc.key"' -I/src/lib/bind/bind9/.. -I/src/l=
ib/bind/bind9/../../../contrib/bind9/lib/bind9/include -I/src/lib/bind/bind=
9/../../../contrib/bind9/lib/dns/include/dst -I/src/lib/bind/bind9/../../..=
/contrib/bind9/lib/dns/include -I/src/lib/bind/bind9/../dns -I/src/lib/bind=
/bind9/../../../contrib/bind9/lib/isccc/include -I/src/lib/bind/bind9/../..=
/../contrib/bind9/lib/isccfg/include -I/src/lib/bind/bind9/../../../contrib=
/bind9/lib/isc/unix/include -I/src/lib/bind/bind9/../../../contrib/bind9/li=
b/isc/pthreads/include -I/src/lib/bind/bind9/../../../contrib/bind9/lib/isc=
/include -I/src/lib/bind/bind9/../isc -I/src/lib/bind/bind9/../../../contri=
b/bind9/lib/lwres/unix/include -I/s
>  rc/lib/bind/bind9/../../../contrib/bind9/lib/lwres/include -I/src/lib/bi=
nd/bind9/../lwres -I/src/lib/bind/bind9/../../../contrib/bind9/lib/bind9/in=
clude -I/src/lib/bind/bind9/../../../contrib/bind9/lib/isc/x86_64/include /=
src/lib/bind/bind9/../../../contrib/bind9/lib/bind9/check.c /src/lib/bind/b=
ind9/../../../contrib/bind9/lib/bind9/getaddresses.c /src/lib/bind/bind9/..=
/../../contrib/bind9/lib/bind9/version.c
> In file included from /src/lib/bind/bind9/../../../contrib/bind9/lib/isc/=
include/isc/refcount.h:23,
>                  from /src/lib/bind/bind9/../../../contrib/bind9/lib/dns/=
include/dns/acl.h:39,
>                  from /src/lib/bind/bind9/../../../contrib/bind9/lib/bind=
9/check.c:38:
> /src/lib/bind/bind9/../../../contrib/bind9/lib/isc/x86_64/include/isc/ato=
mic.h:28:2: error: #error "impossible case.  check build configuration"
> mkdep: compile failed
> *** Error code 1
>=20
I fixed this by the following patch:

%%%
Index: lib/bind/config.mk
=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
RCS file: /home/ncvs/src/lib/bind/config.mk,v
retrieving revision 1.17
diff -u -p -r1.17 config.mk
--- lib/bind/config.mk	2 Jun 2007 23:19:55 -0000	1.17
+++ lib/bind/config.mk	3 Jun 2007 14:23:13 -0000
@@ -63,12 +63,10 @@ CFLAGS+=3D	-I${LIB_BIND_DIR}
 .endif
=20
 # Use the right version of the atomic.h file from lib/isc
-.if ${MACHINE_ARCH} =3D=3D "amd64"
-ISC_ATOMIC_ARCH=3D	x86_64
+.if ${MACHINE_ARCH} =3D=3D "amd64" || ${MACHINE_ARCH} =3D=3D "i386"
+ISC_ATOMIC_ARCH=3D	x86_32
 .elif ${MACHINE_ARCH} =3D=3D "arm"
 ISC_ATOMIC_ARCH=3D	mips
-.elif ${MACHINE_ARCH} =3D=3D "i386" || ${MACHINE_ARCH} =3D=3D "i386/pc98"
-ISC_ATOMIC_ARCH=3D	x86_32
 .else
 ISC_ATOMIC_ARCH=3D	${MACHINE_ARCH}
 .endif
%%%


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070603152607.GA41397>