Problem building BIND 9.11.23 on SPARC Solaris 10 w/ isc_atomic_xadd

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem building BIND 9.11.23 on SPARC Solaris 10 w/ isc_atomic_xadd

Jeff Wieland
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/libirs.la ../dns/libdns.la   -lgss -lkrb5
-L/opt/openssl-1.1/lib -R/opt/openssl-1.1/lib -R/opt/openssl-1.1/lib
-lcrypto ../isccfg/libisccfg.la ../isc/libisc.la -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/libirs.so
../dns/.libs/libdns.so -L/opt/openssl-1.1/lib
../isccfg/.libs/libisccfg.so
/opt/src/sys/bind/sun4u/bind-9.11.23/lib/dns/.libs/libdns.so
/opt/src/sys/bind/sun4u/bind-9.11.23/lib/isc/.libs/libisc.so -lgss
-lkrb5 ../isc/.libs/libisc.so -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/libdns.so: linked to
../dns/.libs/libdns.so: attempted multiple inclusion of file
ld: warning: file ../isc/.libs/libisc.so: linked to
/opt/src/sys/bind/sun4u/bind-9.11.23/lib/isc/.libs/libisc.so: attempted
multiple inclusion of file
Undefined                       first referenced
  symbol                             in file
isc_atomic_xadd                     ../dns/.libs/libdns.so
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 https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/bind-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem building BIND 9.11.23 on SPARC Solaris 10 w/ isc_atomic_xadd

Mark Andrews
Download the commit at

https://gitlab.isc.org/isc-projects/bind9/-/commit/90185b225f4c7acde2fbb04697d857fe496725a2

and apply it.


> On 17 Sep 2020, at 13:12, Jeff Wieland <[hidden email]> 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/libirs.la ../dns/libdns.la   -lgss -lkrb5 -L/opt/openssl-1.1/lib -R/opt/openssl-1.1/lib -R/opt/openssl-1.1/lib -lcrypto ../isccfg/libisccfg.la ../isc/libisc.la -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/libirs.so ../dns/.libs/libdns.so -L/opt/openssl-1.1/lib ../isccfg/.libs/libisccfg.so /opt/src/sys/bind/sun4u/bind-9.11.23/lib/dns/.libs/libdns.so /opt/src/sys/bind/sun4u/bind-9.11.23/lib/isc/.libs/libisc.so -lgss -lkrb5 ../isc/.libs/libisc.so -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/libdns.so: linked to ../dns/.libs/libdns.so: attempted multiple inclusion of file
> ld: warning: file ../isc/.libs/libisc.so: linked to /opt/src/sys/bind/sun4u/bind-9.11.23/lib/isc/.libs/libisc.so: attempted multiple inclusion of file
> Undefined                       first referenced
>  symbol                             in file
> isc_atomic_xadd                     ../dns/.libs/libdns.so
> 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 https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>
> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
>
>
> bind-users mailing list
> [hidden email]
> https://lists.isc.org/mailman/listinfo/bind-users

--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742              INTERNET: [hidden email]

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/bind-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem building BIND 9.11.23 on SPARC Solaris 10 w/ isc_atomic_xadd

Jeff Wieland
In reply to this post by Jeff Wieland
That works -- Thanks!

--
Jeff Wieland, UNIX Systems Administrator
Purdue University IT Infrastructure Services UNIX Platforms

Mark Andrews wrote:

> Download the commit at
>
> https://gitlab.isc.org/isc-projects/bind9/-/commit/90185b225f4c7acde2fbb04697d857fe496725a2
>
> and apply it.
>
>
>> On 17 Sep 2020, at 13:12, Jeff Wieland <[hidden email]> wrote:
>>
>> Compiling with Solaris Studio 12.4 on Solaris 10 for SPARC, I'm
>> getting the following error messages:
>>
>> ...
>>
>> 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 https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>>
>> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
>>
>>
>> bind-users mailing list
>> [hidden email]
>> https://lists.isc.org/mailman/listinfo/bind-users
> --
> Mark Andrews, ISC
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742              INTERNET: [hidden email]
>

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/bind-users