[MacPorts] #66087: got fails to build: Undefined symbols: "_memset_s"

MacPorts noreply at macports.org
Fri Oct 28 02:56:41 UTC 2022


#66087: got fails to build: Undefined symbols: "_memset_s"
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  artkiver
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.0
Resolution:                |   Keywords:
      Port:  got           |
---------------------------+----------------------

Comment (by kencu):

 {{{memset_s}}} was not available until MacOSX 10.9:

 {{{
 errno_t memset_s(void *__s, rsize_t __smax, int __c, rsize_t __n)
 __OSX_AVAILABLE_STARTING(__MAC_10_9, __IPHONE_7_0);
 }}}

 but it does not look hard to write a similar function, so it could easily
 be put into legacysupport.

 https://github.com/apple/darwin-xnu/blob/main/osfmk/kern/memset_s.c

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


More information about the macports-tickets mailing list