BIND 10 #1057: acl test doesn't compile due to duplicate symbol

BIND 10 Development do-not-reply at isc.org
Mon Jun 27 19:22:44 UTC 2011


#1057: acl test doesn't compile due to duplicate symbol
-------------------------------------+-------------------------------------
            Reporter:  jinmei        |                        Owner:
                Type:  defect        |  jinmei
            Priority:  blocker       |                       Status:  new
           Component:  build system  |                    Milestone:
           Sensitive:  0             |  Sprint-20110628
         Sub-Project:  Core          |                     Keywords:
Estimated Difficulty:  0             |              Defect Severity:  N/A
         Total Hours:  0             |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
 It failed in my environment (MacOS X + clang++):
 {{{
 ld: duplicate symbol
 __ZTIN12_GLOBAL__N_116TestCreatorErrorE$non_lazy_pointer in
 .libs/run_unittests and .libs/run_unittests
 }}}

 From a quick check, I found some problematic practices in
 acl/tests/creator.h:
 - 'using namespace' in the top level of the header file
 - use unnamed namespace in the header file

 Not yet really sure if this is the reason for the linker error, but
 it's better to be fixed.  Hopefully it will fix the linker the issue, too.

 The fix should be straightforward, but will require a certain amount of
 code, so I'm creating a separate ticket for placeholder.

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


More information about the bind10-tickets mailing list