BIND 10 #633: clang++ build failure on freebsd (again)

BIND 10 Development do-not-reply at isc.org
Sat Feb 26 19:59:02 UTC 2011


#633: clang++ build failure on freebsd (again)
-------------------------------------+-------------------------------------
           Reporter:  jinmei         |                      Owner:  jreed
               Type:  defect         |                     Status:  new
           Priority:  blocker        |                  Milestone:  A-Team-
          Component:  build system   |  Sprint-20110309
          Sensitive:  0              |                   Keywords:
Add Hours to Ticket:  0              |  Estimated Number of Hours:  2
        Total Hours:  0              |                  Billable?:  1
                                     |                  Internal?:  0
-------------------------------------+-------------------------------------
 Due to the upgrade of libtool (to 2.4) the workaround for clang++ on
 freebsd8 didn't work.  The newer version of libtool internally uses
 $CXXFLAGS for shared library setups, so we need to fake CXXFLAGS as
 well as CFLAGS in configure.ac to work this around.

 The attached patch does this, and I confirmed it fixed the build
 problem.

 If someone can make a quick sanity check on this, that would be great,
 but if that doesn't happen soon I'll merge it to master anyway as the
 change is mostly trivial (with the understanding of the above
 background) and it affected buildbot.

 The new workaround could be user-visible, but I suspect not many use
 clang++ so I don't plan to spam the changelog for this fix.

 I'm also adding this to the current A team sprint due to its urgency,
 and giving it an estimation of 2.

-- 
Ticket URL: <http://bind10.isc.org/ticket/633>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list