[MacPorts] #70067: xdispatch2: undefined symbols for architecture on macOS 10.7 and 10.8

MacPorts noreply at macports.org
Fri May 24 08:03:03 UTC 2024


#70067: xdispatch2: undefined symbols for architecture on macOS 10.7 and 10.8
---------------------------------------------+-----------------------------
  Reporter:  aeiouaeiouaeiouaeiouaeiouaeiou  |      Owner:  (none)
      Type:  defect                          |     Status:  new
  Priority:  Normal                          |  Milestone:
 Component:  ports                           |    Version:
Resolution:                                  |   Keywords:  lion,
      Port:  xdispatch2                      |  mountainlion
---------------------------------------------+-----------------------------

Comment (by ryandesign):

 Replying to [ticket:70067 aeiouaeiouaeiouaeiouaeiouaeiou]:
 > [changeset:a275395ef873f752a66edca8184b91b4327ba019/macports-ports Last
 change] fixed the compilation, but on 10.7/10.8 the linker crashes with
 this error:

 The linker does not crash; it just emits an error.

 > {{{
 >   "std::__1::__get_sp_mut(void const*)", referenced from:
 > }}}
 >
 > I don't know if {{{legacysupport.use_mp_libcxx}}} needs to be added, and
 I can't test it on those systems.

 Searching for this symbol,
 [https://cplusplusmusings.wordpress.com/2013/03/ this page] says "this was
 added to libc++ after 10.8 shipped, so it’s not in the dylib in /usr/lib".
 If that's true, then using a newer MacPorts libc++ would fix it.

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


More information about the macports-tickets mailing list