[head tinderbox] failure on arm and amd

Bernd Walter ticso at cicely12.cicely.de
Sun Jun 3 10:51:24 UTC 2007


On Sat, Jun 02, 2007 at 09:02:30PM -0700, Doug Barton wrote:
> FreeBSD Tinderbox wrote:
> > cc -O2 -pipe  -DVERSION='"9.4.1"' -DHAVE_CONFIG_H -DLIBINTERFACE=30 -DLIBREVISION=3 -DLIBAGE=0 -DWANT_IPV6 -DOPENSSL -DUSE_MD5 -DNS_LOCALSTATEDIR='"/var"' -DNS_SYSCONFDIR='"/etc/namedb"' -DNAMED_CONFFILE='"/etc/namedb/named.conf"' -DRNDC_CONFFILE='"/etc/namedb/rndc.conf"' -DRNDC_KEYFILE='"/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/../../../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/lib/isc/pthreads/include  -I/src/lib/bind/bind9/../../../contrib/bind9/lib/isc/include  -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/bind/bind9/../lwres -I/src/lib/bind/bind9/../../../contrib/bind9/lib/bind9/include -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='"9.4.1"' -DHAVE_CONFIG_H -DLIBINTERFACE=30 -DLIBREVISION=3 -DLIBAGE=0 -DWANT_IPV6 -DOPENSSL -DUSE_MD5 -DNS_LOCALSTATEDIR='"/var"' -DNS_SYSCONFDIR='"/etc/namedb"' -DNAMED_CONFFILE='"/etc/namedb/named.conf"' -DRNDC_CONFFILE='"/etc/namedb/rndc.conf"' -DRNDC_KEYFILE='"/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/../../../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/lib/isc/pthreads/include  -I/src/lib/bind/bind9/../../../contrib/bind9/lib/isc/include  -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/bind/bind9/../lwres -I/src/lib/bind/bind9/../../../contrib/bind9/lib/bind9/include -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
> > ===> lib/bind/dns (all)
> > cc -O2 -pipe  -DVERSION='"9.4.1"' -DHAVE_CONFIG_H -DLIBINTERFACE=33 -DLIBREVISION=1 -DLIBAGE=1 -DWANT_IPV6 -DOPENSSL -DUSE_MD5 -DNS_LOCALSTATEDIR='"/var"' -DNS_SYSCONFDIR='"/etc/namedb"' -DNAMED_CONFFILE='"/etc/namedb/named.conf"' -DRNDC_CONFFILE='"/etc/namedb/rndc.conf"' -DRNDC_KEYFILE='"/etc/namedb/rndc.key"' -I/src/lib/bind/dns/.. -I/src/lib/bind/dns/../../../contrib/bind9/lib/bind9/include -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/../dns -I/src/lib/bind/dns/../../../contrib/bind9/lib/isccc/include -I/src/lib/bind/dns/../../../contrib/bind9/lib/isccfg/include -I/src/lib/bind/dns/../../../contrib/bind9/lib/isc/unix/include  -I/src/lib/bind/dns/../../../contrib/bind9/lib/isc/pthreads/include  -I/src/lib/bind/dns/../../../contrib/bind9/lib/isc/include  -I/src/lib/bind/dns/../isc -I/src/lib/bind/dns/../../../contrib/bind9/lib/lwres/unix/include  -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/bind9/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/atomic.h: In function 'isc_atomic_xadd':
> > /src/lib/bind/dns/../../../contrib/bind9/lib/isc/mips/include/isc/atomic.h:35: error: unknown register name '$3' in 'asm'
> 
> 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.

-- 
B.Walter                http://www.bwct.de      http://www.fizon.de
bernd at bwct.de           info at bwct.de            support at fizon.de


More information about the freebsd-current mailing list