Subject: Next bind issue - atomic operations
To: None <tech-pkg@netbsd.org>
From: John Klos <john@ziaspace.com>
List: tech-pkg
Date: 08/02/2007 16:46:54
I know we'll have atomic operations soon. But, in the meanwhile, it seems 
that the assembler that BIND includes isn't up to date or just gets 
selected improperly for my Cobalt:

  gcc -I/usr/pkgsrc/net/bind9/work/bind-9.4.1-P1 -I./unix/include 
-I./pthreads/include -I./mips/include -I./include -D_REENTRANT -O2 
-pthread -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings 
-Wformat -Wpointer-arith -fno-strict-aliasing -c hash.c  -fPIC -DPIC -o 
.libs/hash.o
./mips/include/isc/atomic.h:54: warning: 'isc_atomic_store' defined but 
not used
./mips/include/isc/atomic.h:73: warning: 'isc_atomic_cmpxchg' defined but 
not used
/var/tmp//cc5G3FQf.s: Assembler messages:
/var/tmp//cc5G3FQf.s:13: Error: opcode not supported on this processor: 
mips1 (mips1) `ll $3,0($4)'
/var/tmp//cc5G3FQf.s:16: Error: opcode not supported on this processor: 
mips1 (mips1) `sc $3,0($4)'
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/bind9/work/bind-9.4.1-P1/lib/isc
*** Error code 1


What's the best way to fix this?

Thanks,
John Klos