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

MacPorts noreply at macports.org
Fri May 24 06:42:16 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:
 Keywords:  lion, mountainlion              |       Port:  xdispatch2
--------------------------------------------+------------------------
 [changeset:a275395ef873f752a66edca8184b91b4327ba019/macports-ports Last
 change] fixed the compilation, but on 10.7/10.8 the linker crashes with
 this error:

 {{{
 Undefined symbols for architecture x86_64:
   "std::__1::__get_sp_mut(void const*)", referenced from:
 __ZNSt3__111atomic_loadB7v160006IN9xdispatch5naive10consumableEEENS_10shared_ptrIT_EEPKS6_
 in naive_group.cpp.o
 __ZNSt3__130atomic_compare_exchange_strongB7v160006IN9xdispatch5naive10consumableEEEbPNS_10shared_ptrIT_EES7_S6_
 in naive_group.cpp.o
   "std::__1::__sp_mut::lock()", referenced from:
 __ZNSt3__111atomic_loadB7v160006IN9xdispatch5naive10consumableEEENS_10shared_ptrIT_EEPKS6_
 in naive_group.cpp.o
 __ZNSt3__130atomic_compare_exchange_strongB7v160006IN9xdispatch5naive10consumableEEEbPNS_10shared_ptrIT_EES7_S6_
 in naive_group.cpp.o
   "std::__1::__sp_mut::unlock()", referenced from:
 __ZNSt3__111atomic_loadB7v160006IN9xdispatch5naive10consumableEEENS_10shared_ptrIT_EEPKS6_
 in naive_group.cpp.o
 __ZNSt3__130atomic_compare_exchange_strongB7v160006IN9xdispatch5naive10consumableEEEbPNS_10shared_ptrIT_EES7_S6_
 in naive_group.cpp.o
 ld: symbol(s) not found for architecture x86_64
 }}}

 I don't know if {{{legacysupport.use_mp_libcxx}}} needs to be added, and I
 can't test it on those systems.

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


More information about the macports-tickets mailing list