Problem building BIND 9.11.23 on SPARC Solaris 10 w/ isc_atomic_xadd

Mark Andrews marka at
Thu Sep 17 03:41:48 UTC 2020

Download the commit at

and apply it.

> On 17 Sep 2020, at 13:12, Jeff Wieland <wieland at> wrote:
> Compiling with Solaris Studio 12.4 on Solaris 10 for SPARC, I'm
> getting the following error messages:
> libtool: compile:  /opt/solarisstudio12.4/bin/cc -m32 -std=c99 -mt -I/opt/src/sys/bind/sun4u/bind-9.11.23 -I../.. -I./include -I../dns/include -I/opt/src/sys/bind/sun4u/bind-9.11.23/lib/dns/include -I../../lib/dns/include -I/opt/src/sys/bind/sun4u/bind-9.11.23/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/noatomic/include -I../../lib/irs/include -I../../lib/irs/include -I/opt/openssl-1.1/include -D_REENTRANT -DOPENSSL -DVERSION=\"9.11.23\" -DSYSCONFDIR=\"/etc\" -D_XPG4_2 -D__EXTENSIONS__ -m32 -fast -xtarget=ultra -xarch=sparcvis -xO4 -I/usr/include/libxml2 -KPIC -c resolve.c  -KPIC -DPIC -o .libs/resolve.o
> /bin/bash /opt/src/sys/bind/sun4u/bind-9.11.23/libtool --mode=link --tag=CC  /opt/solarisstudio12.4/bin/cc -m32 -std=c99 -mt -m32 -fast -xtarget=ultra -xarch=sparcvis -xO4 -I/usr/include/libxml2    -KPIC -s -o resolve \
> resolve.lo ../irs/ ../dns/   -lgss -lkrb5 -L/opt/openssl-1.1/lib -R/opt/openssl-1.1/lib -R/opt/openssl-1.1/lib -lcrypto ../isccfg/ ../isc/ -lnsl -lsocket -lscf -lz -lrt -lpthread  -lxml2
> libtool: link: /opt/solarisstudio12.4/bin/cc -m32 -std=c99 -mt -m32 -fast -xtarget=ultra -xarch=sparcvis -xO4 -I/usr/include/libxml2 -KPIC -s -o .libs/resolve .libs/resolve.o ../irs/.libs/ ../dns/.libs/ -L/opt/openssl-1.1/lib ../isccfg/.libs/ /opt/src/sys/bind/sun4u/bind-9.11.23/lib/dns/.libs/ /opt/src/sys/bind/sun4u/bind-9.11.23/lib/isc/.libs/ -lgss -lkrb5 ../isc/.libs/ -lcrypto -lnsl -lsocket -lscf -lz -lrt -lpthread -lxml2 -mt -R/opt/bind-9.11.23-sun4u/lib -R/opt/openssl-1.1/lib
> ld: warning: file /opt/src/sys/bind/sun4u/bind-9.11.23/lib/dns/.libs/ linked to ../dns/.libs/ attempted multiple inclusion of file
> ld: warning: file ../isc/.libs/ linked to /opt/src/sys/bind/sun4u/bind-9.11.23/lib/isc/.libs/ attempted multiple inclusion of file
> Undefined                       first referenced
>  symbol                             in file
> isc_atomic_xadd                     ../dns/.libs/
> ld: fatal: symbol referencing errors. No output written to .libs/resolve
> gmake[2]: *** [resolve] Error 2
> gmake[2]: Leaving directory `/opt/src/sys/bind/sun4u/bind-9.11.23/lib/samples'
> gmake[1]: *** [subdirs] Error 1
> gmake[1]: Leaving directory `/opt/src/sys/bind/sun4u/bind-9.11.23/lib'
> gmake: *** [subdirs] Error 1
> We build BIND 9.11.22 with the same configuration.
> We had this same problem with BIND 9.11.14, which was fixed with a patch.
> -- 
> Jeff Wieland, UNIX Systems Administrator
> Purdue University IT Infrastructure Services UNIX Platforms
> _______________________________________________
> Please visit to unsubscribe from this list
> ISC funds the development of this software with paid support subscriptions. Contact us at for more information.
> bind-users mailing list
> bind-users at

Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742              INTERNET: marka at

More information about the bind-users mailing list