[MacPorts] #59772: python38: fails on Leopard: Undefined symbols: :info:build "_pthread_threadid_np"

MacPorts noreply at macports.org
Thu Dec 19 01:46:12 UTC 2019


#59772: python38: fails on Leopard: Undefined symbols: :info:build
"_pthread_threadid_np"
-----------------------+---------------------------
  Reporter:  kencu     |      Owner:  jmroot
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  leopard tiger
      Port:  python38  |
-----------------------+---------------------------

Comment (by jmroot):

 Probably because it returns a pointer to a struct and not a "real" thread
 id number. There may be concerns about that not being guaranteed to be
 unique over the lifetime of the process. I don't know if using an
 undocumented syscall will give better results though. Have you tested that
 it returns sane values? At minimum, I'd want to start a few threads and
 check that the ids it returns for them are all different, and maybe kill
 one and spawn a new one and check again.

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


More information about the macports-tickets mailing list