[MacPorts] #68716: gdal @3.8.0: Undefined symbols std::__1::__shared_mutex_base::lock_shared()

MacPorts noreply at macports.org
Sat Nov 18 19:50:11 UTC 2023


#68716: gdal @3.8.0: Undefined symbols std::__1::__shared_mutex_base::lock_shared()
----------------------+----------------------------------------
  Reporter:  nilason  |      Owner:  Veence
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.8.1
Resolution:           |   Keywords:  elcapitan, mavericks, lion
      Port:  gdal     |
----------------------+----------------------------------------

Comment (by RobK88):

 Nope.  The build still fails with the same error when specifying
 `compiler.cxx_standard 2017` in the Portfile:

 {{{
 Undefined symbols for architecture x86_64:
   "std::__1::__shared_mutex_base::lock_shared()", referenced from:
       __ZNSt3__112shared_mutex11lock_sharedB7v160006Ev in
 cpl_vsi_mem.cpp.o
   "std::__1::__shared_mutex_base::unlock_shared()", referenced from:
       __ZNSt3__112shared_mutex13unlock_sharedB7v160006Ev in
 cpl_vsi_mem.cpp.o
   "std::__1::__shared_mutex_base::lock()", referenced from:
       __ZNSt3__112shared_mutex4lockB7v160006Ev in cpl_vsi_mem.cpp.o
   "std::__1::__shared_mutex_base::unlock()", referenced from:
       __ZNSt3__112shared_mutex6unlockB7v160006Ev in cpl_vsi_mem.cpp.o
   "std::__1::__shared_mutex_base::__shared_mutex_base()", referenced from:
       __ZNSt3__112shared_mutexC2B7v160006Ev in cpl_vsi_mem.cpp.o
 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 }}}

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


More information about the macports-tickets mailing list