[MacPorts] #55988: xercesc3 @3.2.1: ld: duplicate symbol xercesc_3_2::ArrayJanitor<unsigned char>::ArrayJanitor(unsigned char*)in xercesc/util/.libs/TransService.o and xercesc/util/.libs/PlatformUtils.o

MacPorts noreply at macports.org
Thu Mar 8 19:12:40 UTC 2018


#55988: xercesc3 @3.2.1: ld: duplicate symbol xercesc_3_2::ArrayJanitor<unsigned
char>::ArrayJanitor(unsigned char*)in xercesc/util/.libs/TransService.o and
xercesc/util/.libs/PlatformUtils.o
-------------------------+---------------------------------------
  Reporter:  ryandesign  |      Owner:  nerdling
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  tiger leopard snowleopard
      Port:  xercesc3    |
-------------------------+---------------------------------------

Comment (by rleigh-codelibre):

 The change in question is
 https://github.com/apache/xerces-c/commit/d5cce44617374665e34458aa7cc22654c56e682a
 which on the face of it should be completely harmless.  Template
 instantiations in different translation units should be elided by the
 linker, and I don't see anything particularly special about this helper
 function in this regard, or why the change should have made any
 difference.

 I'd be cautious about reverting this change, because it resolves problems
 on contemporary platforms which have affected multiple users, while this
 platform and compiler are well out of support and are not as high a
 priority.  However, if we can find a solution that works on all platforms
 and compilers, that would be great.

 I no longer have a snow leopard system to investigate this in more detail.
 If anyone could provide me with shell access to one, I'd be happy to
 investigate in more detail.

 Kind regards,
 Roger

--
Ticket URL: <https://trac.macports.org/ticket/55988#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list