Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jun 2007 12:21:07 +0200
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        Doug Barton <dougb@freebsd.org>
Cc:        arm@freebsd.org, amd@freebsd.org, FreeBSD Tinderbox <tinderbox@freebsd.org>, current@freebsd.org
Subject:   Re: [head tinderbox] failure on arm and amd
Message-ID:  <20070603102106.GI16463@cicely12.cicely.de>
In-Reply-To: <46623D56.2060805@FreeBSD.org>
References:  <20070603021927.94FE273068@freebsd-current.sentex.ca> <46623D56.2060805@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 02, 2007 at 09:02:30PM -0700, Doug Barton wrote:
> FreeBSD Tinderbox wrote:
> > cc -O2 -pipe  -DVERSION=3D'"9.4.1"' -DHAVE_CONFIG_H -DLIBINTERFACE=3D30=
 -DLIBREVISION=3D3 -DLIBAGE=3D0 -DWANT_IPV6 -DOPENSSL -DUSE_MD5 -DNS_LOCALS=
TATEDIR=3D'"/var"' -DNS_SYSCONFDIR=3D'"/etc/namedb"' -DNAMED_CONFFILE=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/lib/bind=
/bind9/../../../contrib/bind9/lib/bind9/include -I/src/lib/bind/bind9/../..=
/../contrib/bind9/lib/dns/include/dst  -I/src/lib/bind/bind9/../../../contr=
ib/bind9/lib/dns/include  -I/src/lib/bind/bind9/../dns -I/src/lib/bind/bind=
9/../../../contrib/bind9/lib/isccc/include -I/src/lib/bind/bind9/../../../c=
ontrib/bind9/lib/isccfg/include -I/src/lib/bind/bind9/../../../contrib/bind=
9/lib/isc/unix/include  -I/src/lib/bind/bind9/../../../contrib/bind9/lib/is=
c/pthreads/include  -I/src/lib/bind/bind9/../../../contrib/bind9/lib/isc/in=
clude  -I/src/lib/bind/bind9/../isc -I/src/lib/bind/bind9/../../../contrib/=
bind9/lib/lwres/unix/include  -I/sr
> c/
> >  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/mips/include  -c=
 /src/lib/bind/bind9/../../../contrib/bind9/lib/bind9/getaddresses.c
> > cc -O2 -pipe  -DVERSION=3D'"9.4.1"' -DHAVE_CONFIG_H -DLIBINTERFACE=3D30=
 -DLIBREVISION=3D3 -DLIBAGE=3D0 -DWANT_IPV6 -DOPENSSL -DUSE_MD5 -DNS_LOCALS=
TATEDIR=3D'"/var"' -DNS_SYSCONFDIR=3D'"/etc/namedb"' -DNAMED_CONFFILE=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/lib/bind=
/bind9/../../../contrib/bind9/lib/bind9/include -I/src/lib/bind/bind9/../..=
/../contrib/bind9/lib/dns/include/dst  -I/src/lib/bind/bind9/../../../contr=
ib/bind9/lib/dns/include  -I/src/lib/bind/bind9/../dns -I/src/lib/bind/bind=
9/../../../contrib/bind9/lib/isccc/include -I/src/lib/bind/bind9/../../../c=
ontrib/bind9/lib/isccfg/include -I/src/lib/bind/bind9/../../../contrib/bind=
9/lib/isc/unix/include  -I/src/lib/bind/bind9/../../../contrib/bind9/lib/is=
c/pthreads/include  -I/src/lib/bind/bind9/../../../contrib/bind9/lib/isc/in=
clude  -I/src/lib/bind/bind9/../isc -I/src/lib/bind/bind9/../../../contrib/=
bind9/lib/lwres/unix/include  -I/sr
> c/
> >  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/mips/include  -c=
 /src/lib/bind/bind9/../../../contrib/bind9/lib/bind9/version.c
> > building static bind9 library
> > ranlib libbind9.a
> > =3D=3D=3D> lib/bind/dns (all)
> > cc -O2 -pipe  -DVERSION=3D'"9.4.1"' -DHAVE_CONFIG_H -DLIBINTERFACE=3D33=
 -DLIBREVISION=3D1 -DLIBAGE=3D1 -DWANT_IPV6 -DOPENSSL -DUSE_MD5 -DNS_LOCALS=
TATEDIR=3D'"/var"' -DNS_SYSCONFDIR=3D'"/etc/namedb"' -DNAMED_CONFFILE=3D'"/=
etc/namedb/named.conf"' -DRNDC_CONFFILE=3D'"/etc/namedb/rndc.conf"' -DRNDC_=
KEYFILE=3D'"/etc/namedb/rndc.key"' -I/src/lib/bind/dns/.. -I/src/lib/bind/d=
ns/../../../contrib/bind9/lib/bind9/include -I/src/lib/bind/dns/../../../co=
ntrib/bind9/lib/dns/include/dst  -I/src/lib/bind/dns/../../../contrib/bind9=
/lib/dns/include  -I/src/lib/bind/dns/../dns -I/src/lib/bind/dns/../../../c=
ontrib/bind9/lib/isccc/include -I/src/lib/bind/dns/../../../contrib/bind9/l=
ib/isccfg/include -I/src/lib/bind/dns/../../../contrib/bind9/lib/isc/unix/i=
nclude  -I/src/lib/bind/dns/../../../contrib/bind9/lib/isc/pthreads/include=
  -I/src/lib/bind/dns/../../../contrib/bind9/lib/isc/include  -I/src/lib/bi=
nd/dns/../isc -I/src/lib/bind/dns/../../../contrib/bind9/lib/lwres/unix/inc=
lude  -I/src/lib/bind/dns/../../../
> co
> >  ntrib/bind9/lib/lwres/include  -I/src/lib/bind/dns/../lwres -I/src/lib=
/bind/dns/../../../contrib/bind9/lib/dns/include/dst -I/src/lib/bind/dns/..=
/../../contrib/bind9/lib/dns/include -I/src/lib/bind/dns/../../../contrib/b=
ind9/lib/dns -I/src/lib/bind/dns -I/src/lib/bind/dns/../../../contrib/bind9=
/lib/isc/mips/include  -c /src/lib/bind/dns/../../../contrib/bind9/lib/dns/=
acache.c
> > /src/lib/bind/dns/../../../contrib/bind9/lib/isc/mips/include/isc/atomi=
c.h: In function 'isc_atomic_xadd':
> > /src/lib/bind/dns/../../../contrib/bind9/lib/isc/mips/include/isc/atomi=
c.h:35: error: unknown register name '$3' in 'asm'
>=20
> I would appreciate it if someone familiar with our arm and/or amd
> platforms and atomic operations would take a look at line 65 of
> src/lib/bind/config.mk and the atomic.h files in the various platform
> directories of src/contrib/bind9/lib/isc and give me a suggestion on
> what you think might be a better option. If necessary I can
> conditionalize out thread support for arm and/or amd easily enough,
> but I was hoping to avoid doing that for obvious reasons. OTOH, if
> they will work with threads, but don't have atomic ops, we can fix
> that much more easily.

Well - we have atomic ops in <machine/atomic.h>, which should be in
good shape for ARM, so I don't know why bind9 needs it's own, but I did
not look at the code to know specific needs.

In the given case the path looks like it is trying to compile MIPS code
for ARM, which can't work anyway.

--=20
B.Walter                http://www.bwct.de      http://www.fizon.de
bernd@bwct.de           info@bwct.de            support@fizon.de



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