[MacPorts] #48717: uhd @ 3.8.5_1 Undefined symbols for architecture x86_64

MacPorts noreply at macports.org
Thu Sep 17 05:13:09 PDT 2015


#48717: uhd @ 3.8.5_1 Undefined symbols for architecture x86_64
-----------------------------+-------------------------
  Reporter:  soundbastler@…  |      Owner:  michaelld@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.3.3
Resolution:                  |   Keywords:
      Port:  uhd             |
-----------------------------+-------------------------

Comment (by frederic.devernay@…):

 This is a boost/ boost port issue: all template specializations from
 boost_1_59_0/libs/serialization/src are stripped at link time because they
 are not exported.

 Maybe Boost serialization should be linked without -dead-strip

 Homebrew doesn't have this issue (see nm output below)

 {{{
 $ nm /usr/local.bak/lib/libboost_serialization-mt.dylib |fgrep
 basic_text_iprimitive |c++filt
 0000000000004c90 T
 boost::archive::basic_text_iprimitive<std::__1::basic_istream<char,
 std::__1::char_traits<char> > >::load_binary(void*, unsigned long)
 00000000000047a0 T
 boost::archive::basic_text_iprimitive<std::__1::basic_istream<char,
 std::__1::char_traits<char> > >::load(signed char&)
 00000000000046d0 T
 boost::archive::basic_text_iprimitive<std::__1::basic_istream<char,
 std::__1::char_traits<char> > >::load(char&)
 0000000000004870 T
 boost::archive::basic_text_iprimitive<std::__1::basic_istream<char,
 std::__1::char_traits<char> > >::load(unsigned char&)
 0000000000004940 T
 boost::archive::basic_text_iprimitive<std::__1::basic_istream<char,
 std::__1::char_traits<char> > >::load(wchar_t&)
 0000000000004ba0 T
 boost::archive::basic_text_iprimitive<std::__1::basic_istream<char,
 std::__1::char_traits<char> >
 >::basic_text_iprimitive(std::__1::basic_istream<char,
 std::__1::char_traits<char> >&, bool)
 0000000000004a10 T
 boost::archive::basic_text_iprimitive<std::__1::basic_istream<char,
 std::__1::char_traits<char> >
 >::basic_text_iprimitive(std::__1::basic_istream<char,
 std::__1::char_traits<char> >&, bool)
 0000000000004c80 T
 boost::archive::basic_text_iprimitive<std::__1::basic_istream<char,
 std::__1::char_traits<char> > >::~basic_text_iprimitive()
 0000000000004bb0 T
 boost::archive::basic_text_iprimitive<std::__1::basic_istream<char,
 std::__1::char_traits<char> > >::~basic_text_iprimitive()
 0000000000026740 D typeinfo for
 boost::archive::basic_text_iprimitive<std::__1::basic_istream<char,
 std::__1::char_traits<char> > >
 00000000000210d0 S typeinfo name for
 boost::archive::basic_text_iprimitive<std::__1::basic_istream<char,
 std::__1::char_traits<char> > >
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/48717#comment:11>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list