BIND 10 #2632: Build/install instructions for Solaris
BIND 10 Development
do-not-reply at isc.org
Fri Jan 25 11:21:46 UTC 2013
#2632: Build/install instructions for Solaris
-------------------------------------+-------------------------------------
Reporter: shane | Owner: jelte
Type: task | Status:
Priority: medium | assigned
Component: Unclassified | Milestone:
Keywords: | Sprint-20130205
Sensitive: 0 | Resolution:
Sub-Project: Core | CVSS Scoring:
Estimated Difficulty: 5 | Defect Severity: N/A
Total Hours: 0 | Feature Depending on Ticket:
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Comment (by shane):
On behalf of Brett:
Between the source file fix I sent in and the makefile change that
Jinmei made today we have killed the first two bugs that I ran into on
building BIND 10 on Solaris 10 sparc.
Now on to the third problem:
{{{
gmake[6]: Entering directory `/export/src/bind10/src/lib/dns'
/bin/bash ../../../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib
-I../../../src/lib/dns -I../../../src/lib/dns -I../../../src/lib/util
-I../../../src/lib/util -I/usr/pkg/include -D_XPG4_2 -D__EXTENSIONS__
-DOS_SUN -DBOOST_DISABLE_THREADS=1 -I../../../ext/asio
-I../../../ext/coroutine -DASIO_DISABLE_THREADS=1
-DASIO_DISABLE_DEV_POLL=1 -Wall -Wextra -Wwrite-strings
-Woverloaded-virtual -Wno-sign-compare -Wno-missing-braces -Werror
-fPIC -g -O2 -MT libb10_dns___la-rrset_collection.lo -MD -MP
-MF .deps/libb10_dns___la-rrset_collection.Tpo -c -o
libb10_dns___la-rrset_collection.lo `test -f 'rrset_collection.cc' ||
echo './'`rrset_collection.cc libtool: compile: g++ -DHAVE_CONFIG_H
-I. -I../../.. -I../../../src/lib -I../../../src/lib
-I../../../src/lib/dns -I../../../src/lib/dns -I../../../src/lib/util
-I../../../src/lib/util -I/usr/pkg/include -D_XPG4_2 -D__EXTENSIONS__
-DOS_SUN -DBOOST_DISABLE_THREADS=1 -I../../../ext/asio
-I../../../ext/coroutine -DASIO_DISABLE_THREADS=1
-DASIO_DISABLE_DEV_POLL=1 -Wall -Wextra -Wwrite-strings
-Woverloaded-virtual -Wno-sign-compare -Wno-missing-braces -Werror
-fPIC -g -O2 -MT libb10_dns___la-rrset_collection.lo -MD -MP
-MF .deps/libb10_dns___la-rrset_collection.Tpo -c rrset_collection.cc
-fPIC -DPIC -o .libs/libb10_dns___la-rrset_collection.o In file
included from /usr/pkg/include/boost/smart_ptr/shared_ptr.hpp:30:0,
from /usr/pkg/include/boost/shared_ptr.hpp:17,
from ../../../src/lib/dns/rrset.h:21,
from ../../../src/lib/dns/rrset_collection_base.h:18,
from ../../../src/lib/dns/rrset_collection.h:18, from
rrset_collection.cc:15: /usr/pkg/include/boost/checked_delete.hpp: In
instantiation of 'void boost::checked_delete(T*) [with T =
isc::dns::RRsetCollection::DnsIter]':
/usr/pkg/include/boost/smart_ptr/detail/shared_count.hpp:95:13:
required from 'boost::detail::shared_count::shared_count(Y*) [with Y =
isc::dns::RRsetCollection::DnsIter]'
/usr/pkg/include/boost/smart_ptr/shared_ptr.hpp:183:50:
required from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y =
isc::dns::RRsetCollection::DnsIter; T =
isc::dns::RRsetCollectionBase::Iter]'
../../../src/lib/dns/rrset_collection.h:146:65:
required from here /usr/pkg/include/boost/checked_delete.hpp:34:5:
error: deleting object of polymorphic class type
'isc::dns::RRsetCollection::DnsIter' which has non-virtual destructor
might cause undefined behaviour [-Werror=delete-non-virtual-dtor]
cc1plus: all warnings being treated as errors gmake[6]: ***
[libb10_dns___la-rrset_collection.lo] Error 1 gmake[6]: Leaving
directory `/export/src/bind10/src/lib/dns' gmake[5]: ***
[all-recursive] Error 1 gmake[5]: Leaving directory
`/export/src/bind10/src/lib/dns' gmake[4]: *** [all] Error 2 gmake[4]:
Leaving directory `/export/src/bind10/src/lib/dns' gmake[3]: ***
[all-recursive] Error 1 gmake[3]: Leaving directory
`/export/src/bind10/src/lib' gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/export/src/bind10/src' gmake[1]: ***
[all-recursive] Error 1 gmake[1]: Leaving directory
`/export/src/bind10' gmake: *** [all] Error 2
}}}
I have not looked at this problem in detail yet, but I wanted to make
sure that it was reported as soon as I found it.
It may be something with the boost install on my box. I do not know.
I am not really a boost or python sort of guy.
Since the other two issues have been squashed it might be worthwhile to
put this bug on the "sprint list" in case I can not find the reason on
my own.
Here is some more data on the build system in question:
{{{
sabre.tekhq.com:uname -a
SunOS sabre.tekhq.com 5.10 Generic sun4u sparc SUNW,Sun-Blade-100
sabre.tekhq.com:
sabre.tekhq.com:file /bin/sh
/bin/sh: ELF 32-bit MSB executable SPARC Version 1, dynamically
linked, stripped sabre.tekhq.com:
}}}
(Ok it is old & 32 bit, but that just means it is slow by today's
standards)
{{{
sabre.tekhq.com:ls /var/db/pkg | grep pyth
python32-3.2.3nb1
sabre.tekhq.com:
sabre.tekhq.com:ls /var/db/pkg | grep boost
boost-build-1.51.0
boost-docs-1.51.0
boost-headers-1.51.0nb1
boost-jam-1.51.0
sabre.tekhq.com:
}}}
If I find the fix for this I will let you know right away.
If you can give me any pointers of where to look I would appreciate it.
-Brett
--
Ticket URL: <http://bind10.isc.org/ticket/2632#comment:6>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list