[MacPorts] #70268: gnutls @3.7.11+universal: Undefined symbols _rpl_malloc _rpl_realloc

MacPorts noreply at macports.org
Fri Jun 21 07:33:54 UTC 2024


#70268: gnutls @3.7.11+universal: Undefined symbols _rpl_malloc _rpl_realloc
------------------------+-------------------------
 Reporter:  ryandesign  |      Owner:  Schamschula
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.9.99
 Keywords:              |       Port:  gnutls
------------------------+-------------------------
 I'm unable to build gnutls universal on macOS 12:

 {{{
 Undefined symbols for architecture arm64:
   "_rpl_malloc", referenced from:
       _gnutls_secure_malloc in mem.o
       _gnutls_malloc in mem.o
       _gnutls_system_mutex_init in threads.o
       _gnutls_idna_reverse_map in str-idna.o
       _gnutls_load_file in file.o
       _mdir_name in libgnu.a(dirname-lgpl.o)
       _hash_initialize in libgnu.a(hash.o)
       ...
   "_rpl_realloc", referenced from:
       _gnutls_realloc in mem.o
       __gnutls_fread_file in libgnu.a(read-file.o)
       _rpl_getdelim in libgnu.a(getdelim.o)
       _printf_parse in libgnu.a(printf-parse.o)
       _vasnprintf in libgnu.a(vasnprintf.o)
       _gnutls_realloc_zero in libcrypto.a(init.o)
 ld: symbol(s) not found for architecture arm64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 }}}

 There is one mention of this error in the upstream bug tracker re cross-
 compiling for Android: https://gitlab.com/gnutls/gnutls/-/issues/1376

 Some information about this problem here:
 https://web.archive.org/web/20090518093438/http://wiki.buici.com/wiki/Autoconf_and_RPL_MALLOC

 And here: https://github.com/maxmind/libmaxminddb/pull/152

 gnutls-devel @3.8.5 does not have this problem.

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


More information about the macports-tickets mailing list