Opened 5 months ago
#70268 assigned defect
gnutls @3.7.11+universal: Undefined symbols _rpl_malloc _rpl_realloc
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | Schamschula (Marius Schamschula) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.99 |
Keywords: | Cc: | ||
Port: | gnutls |
Description
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.
Note: See
TracTickets for help on using
tickets.