Just tried your suggestion and although the unresolved symbols are much less, there still are some that break the linking phase :(. With previous setting (i.e. symbol_visibility_hidden) I get 65 boringssl unresolved symbols, while with new setting (i.e. symbol_visibility_default) I get 6 boringssl unresolved symbols:
Undefined symbols for architecture armv7:
"_X509_verify_cert_error_string", referenced from:
_tls_verify_cb in libsofia-sip-ua.a(tport_tls.o)
"_SSL_load_client_CA_file", referenced from:
_tls_init_master in libsofia-sip-ua.a(tport_tls.o)
"_SSL_CTX_use_certificate_file", referenced from:
_tls_init_context in libsofia-sip-ua.a(tport_tls.o)
"_SSL_CTX_set_default_passwd_cb", referenced from:
_tls_init_context in libsofia-sip-ua.a(tport_tls.o)
"_SSL_CTX_set_default_passwd_cb_userdata", referenced from:
_tls_init_context in libsofia-sip-ua.a(tport_tls.o)
"_SSL_CTX_use_PrivateKey_file", referenced from:
_tls_init_context in libsofia-sip-ua.a(tport_tls.o)
I tried to see if these symbols are indeed there using 'strings' command and indeed I can see that in the webrtc lib they are missing, while in the libboringssl.a they are there. Any ideas what might be the issue? Also tried to see if there's another option apart from symbol_visibility_default, but gcc docs suggest that with 'default' everything is public.
Best regards,
Antonis