BIND 10 #474: bind10 doesn't compile with clang++ on FreeBSD
BIND 10 Development
do-not-reply at isc.org
Tue Jan 4 04:47:10 UTC 2011
#474: bind10 doesn't compile with clang++ on FreeBSD
---------------------------+------------------------------------------------
Reporter: jinmei | Owner: jreed
Type: defect | Status: new
Priority: major | Milestone: y2 12 month milestone
Component: build system | Keywords:
Sensitive: 0 | Estimatedhours: 0
Hours: 0 | Billable: 1
Totalhours: 0 | Internal: 0
---------------------------+------------------------------------------------
That is due to failure in configuring libtool for creating shared objects.
See the problem about "hidden symbol `dso_handle'" at
http://wiki.freebsd.org/PortsAndClang
and/or
http://lists.freebsd.org/pipermail/freebsd-
current/2010-October/020323.html
BIND 10 suffers from the same problem.
According to these links FreeBSD worked around this issue by modifying the
configure script. We could do the same, but I believe I found a bit
better solution (although still an ugly hack).
Could someone review the attached patch? This is probably a topic for
Jeremy, and so I'm going to give the ticket to him.
Another note: with this patch merged, we can build and test bind10 with
clang++ on freebsd8-32-1-on-virt1. So it would be good idea to
incorporate it to the buildbot framework. clang++ can find errors that
other compilers cannot, so it will help keep our code cleaner and more
portable.
--
Ticket URL: <http://bind10.isc.org/ticket/474>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list