rnpgp / rnp

RNP: high performance C++ OpenPGP library used by Mozilla Thunderbird
https://www.rnpgp.org
Other
199 stars 55 forks source link

Warning: direct access ... to global weak symbol. #1185

Closed ni4 closed 2 years ago

ni4 commented 4 years ago

Description

As of PR #1182 the following warnings are generate during compilation (at least) on macOS:

ld: warning: direct access in function 'rnp_password_cb_bounce(pgp_password_ctx_t const*, char*, unsigned long, void*)' from file '../lib/librnp-0.a(rnp.cpp.o)' to global weak symbol 'typeinfo for bool (rnp_ffi_st*, void*, rnp_key_handle_st*, char const*, char*, unsigned long)' from file 'CMakeFiles/rnp.dir/fficli.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function '_rnp_request_password' from file '../lib/librnp-0.a(rnp.cpp.o)' to global weak symbol 'typeinfo for bool (rnp_ffi_st*, void*, rnp_key_handle_st*, char const*, char*, unsigned long)' from file 'CMakeFiles/rnp.dir/fficli.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'rnp_password_cb_bounce(pgp_password_ctx_t const*, char*, unsigned long, void*)' from file '../lib/librnp-0.a(rnp.cpp.o)' to global weak symbol 'typeinfo for bool (rnp_ffi_st*, void*, rnp_key_handle_st*, char const*, char*, unsigned long)' from file 'CMakeFiles/rnpkeys.dir/__/rnp/fficli.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function '_rnp_request_password' from file '../lib/librnp-0.a(rnp.cpp.o)' to global weak symbol 'typeinfo for bool (rnp_ffi_st*, void*, rnp_key_handle_st*, char const*, char*, unsigned long)' from file 'CMakeFiles/rnpkeys.dir/__/rnp/fficli.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
dewyatt commented 4 years ago

@ni4 Do you still see this issue?

ni4 commented 4 years ago

@dewyatt Yeah, still have it. Maybe it is something macOS-specific, dunno. Didn't have time to dig into it.

ronaldtse commented 2 years ago

@ni4 is this still present? Thanks.

ronaldtse commented 2 years ago

I'm actually seeing more of them:

https://github.com/rnpgp/rnp/runs/4554311357?check_suite_focus=true

2021-12-16T23:21:46.1079810Z ld: warning: direct access in function 'pgp_key_pkt_t::write(pgp_dest_t&)' from file '../lib/liblibrnp-static.a(stream-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1085020Z ld: warning: direct access in function 'pgp_key_pkt_t::write(pgp_dest_t&)' from file '../lib/liblibrnp-static.a(stream-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1090950Z ld: warning: direct access in function 'pgp_key_pkt_t::write(pgp_dest_t&)' from file '../lib/liblibrnp-static.a(stream-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1095550Z ld: warning: direct access in function 'pgp_key_pkt_t::write(pgp_dest_t&)' from file '../lib/liblibrnp-static.a(stream-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1100730Z ld: warning: direct access in function 'pgp_userid_pkt_t::write(pgp_dest_t&) const' from file '../lib/liblibrnp-static.a(stream-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1105690Z ld: warning: direct access in function 'encrypt_secret_key(pgp_key_pkt_t*, char const*, rng_st_t*)' from file '../lib/liblibrnp-static.a(stream-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1110810Z ld: warning: direct access in function 'encrypt_secret_key(pgp_key_pkt_t*, char const*, rng_st_t*)' from file '../lib/liblibrnp-static.a(stream-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1115300Z ld: warning: direct access in function 'pgp_key_pkt_t::fill_hashed_data()' from file '../lib/liblibrnp-static.a(stream-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1120280Z ld: warning: direct access in function 'pgp_key_pkt_t::fill_hashed_data()' from file '../lib/liblibrnp-static.a(stream-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1124900Z ld: warning: direct access in function 'pgp_key_pkt_t::fill_hashed_data()' from file '../lib/liblibrnp-static.a(stream-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1129510Z ld: warning: direct access in function 'pgp_packet_body_t::add(pgp_mpi_t const&)' from file '../lib/liblibrnp-static.a(stream-packet.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1134240Z ld: warning: direct access in function 'pgp_packet_body_t::add_subpackets(pgp_signature_t const&, bool)' from file '../lib/liblibrnp-static.a(stream-packet.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1138980Z ld: warning: direct access in function 'pgp_packet_body_t::add(pgp_curve_t)' from file '../lib/liblibrnp-static.a(stream-packet.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1143550Z ld: warning: direct access in function 'pgp_packet_body_t::add(pgp_s2k_t const&)' from file '../lib/liblibrnp-static.a(stream-packet.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1148050Z ld: warning: direct access in function 'pgp_sk_sesskey_t::write(pgp_dest_t&) const' from file '../lib/liblibrnp-static.a(stream-packet.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1152990Z ld: warning: direct access in function 'pgp_pk_sesskey_t::write_material(pgp_encrypted_material_t const&)' from file '../lib/liblibrnp-static.a(stream-packet.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1157680Z ld: warning: direct access in function 'signature_hash_userid(pgp_userid_pkt_t const&, rnp::Hash&, pgp_version_t)' from file '../lib/liblibrnp-static.a(stream-sig.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1162270Z ld: warning: direct access in function 'pgp_signature_t::set_keyfp(pgp_fingerprint_t const&)' from file '../lib/liblibrnp-static.a(stream-sig.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1167720Z ld: warning: direct access in function 'pgp_signature_t::set_expiration(unsigned int)' from file '../lib/liblibrnp-static.a(stream-sig.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1172090Z ld: warning: direct access in function 'pgp_signature_t::set_key_expiration(unsigned int)' from file '../lib/liblibrnp-static.a(stream-sig.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1177080Z ld: warning: direct access in function 'pgp_signature_t::set_preferred(std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > const&, pgp_sig_subpacket_type_t)' from file '../lib/liblibrnp-static.a(stream-sig.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1182090Z ld: warning: direct access in function 'pgp_signature_t::set_key_server_prefs(unsigned char)' from file '../lib/liblibrnp-static.a(stream-sig.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1187180Z ld: warning: direct access in function 'pgp_signature_t::set_key_server(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' from file '../lib/liblibrnp-static.a(stream-sig.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1192660Z ld: warning: direct access in function 'pgp_signature_t::set_revocation_reason(pgp_revocation_type_t, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' from file '../lib/liblibrnp-static.a(stream-sig.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1198570Z ld: warning: direct access in function 'pgp_signature_t::add_notation(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > const&, bool, bool)' from file '../lib/liblibrnp-static.a(stream-sig.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1203940Z ld: warning: direct access in function 'pgp_signature_t::set_embedded_sig(pgp_signature_t const&)' from file '../lib/liblibrnp-static.a(stream-sig.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1208850Z ld: warning: direct access in function 'pgp_signature_t::set_embedded_sig(pgp_signature_t const&)' from file '../lib/liblibrnp-static.a(stream-sig.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1213600Z ld: warning: direct access in function 'pgp_signature_t::write(pgp_dest_t&) const' from file '../lib/liblibrnp-static.a(stream-sig.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1218360Z ld: warning: direct access in function 'pgp_signature_t::write_material(pgp_signature_material_t const&)' from file '../lib/liblibrnp-static.a(stream-sig.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1223960Z ld: warning: direct access in function 'pgp_signature_t::write_material(pgp_signature_material_t const&)' from file '../lib/liblibrnp-static.a(stream-sig.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1228810Z ld: warning: direct access in function 'pgp_signature_t::fill_hashed_data()' from file '../lib/liblibrnp-static.a(stream-sig.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1233780Z ld: warning: direct access in function 'rnp_selfsig_cert_info_t::populate(pgp_userid_pkt_t&, pgp_signature_t&)' from file '../lib/liblibrnp-static.a(stream-sig.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1238460Z ld: warning: direct access in function 'signed_write_signature(pgp_dest_signed_param_t*, pgp_dest_signer_info_t*, pgp_dest_t*)' from file '../lib/liblibrnp-static.a(stream-write.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1243360Z ld: warning: direct access in function 'signed_write_signature(pgp_dest_signed_param_t*, pgp_dest_signer_info_t*, pgp_dest_t*)' from file '../lib/liblibrnp-static.a(stream-write.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1248290Z ld: warning: direct access in function 's_exp_t::add_curve(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, pgp_ec_key_t const&)' from file '../lib/liblibrnp-static.a(key_store_g10.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1254040Z ld: warning: direct access in function 's_exp_t::add_pubkey(pgp_key_pkt_t const&)' from file '../lib/liblibrnp-static.a(key_store_g10.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1258200Z ld: warning: direct access in function 's_exp_t::add_seckey(pgp_key_pkt_t const&)' from file '../lib/liblibrnp-static.a(key_store_g10.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1262710Z ld: warning: direct access in function 's_exp_t::write_padded(unsigned long) const' from file '../lib/liblibrnp-static.a(key_store_g10.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1266870Z ld: warning: direct access in function 's_exp_t::write_padded(unsigned long) const' from file '../lib/liblibrnp-static.a(key_store_g10.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1271010Z ld: warning: direct access in function 's_exp_t::write_padded(unsigned long) const' from file '../lib/liblibrnp-static.a(key_store_g10.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1275580Z ld: warning: direct access in function 's_exp_t::add_protected_seckey(pgp_key_pkt_t&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' from file '../lib/liblibrnp-static.a(key_store_g10.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1280350Z ld: warning: direct access in function 's_exp_t::add_protected_seckey(pgp_key_pkt_t&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' from file '../lib/liblibrnp-static.a(key_store_g10.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1285070Z ld: warning: direct access in function 's_exp_t::add_protected_seckey(pgp_key_pkt_t&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' from file '../lib/liblibrnp-static.a(key_store_g10.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1290050Z ld: warning: direct access in function 's_exp_t::add_protected_seckey(pgp_key_pkt_t&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' from file '../lib/liblibrnp-static.a(key_store_g10.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1294820Z ld: warning: direct access in function 's_exp_t::add_protected_seckey(pgp_key_pkt_t&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' from file '../lib/liblibrnp-static.a(key_store_g10.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1299490Z ld: warning: direct access in function 's_exp_t::add_protected_seckey(pgp_key_pkt_t&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' from file '../lib/liblibrnp-static.a(key_store_g10.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1304400Z ld: warning: direct access in function 'kbx_blob_t::kbx_blob_t(std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >&)' from file '../lib/liblibrnp-static.a(key_store_kbx.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1308920Z ld: warning: direct access in function 'kbx_blob_t::kbx_blob_t(std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >&)' from file '../lib/liblibrnp-static.a(key_store_kbx.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1313400Z ld: warning: direct access in function 'kbx_blob_t::kbx_blob_t(std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >&)' from file '../lib/liblibrnp-static.a(key_store_kbx.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1317490Z ld: warning: direct access in function 'rnp_key_store_kbx_from_src(rnp_key_store_t*, pgp_source_t*, pgp_key_provider_t const*)' from file '../lib/liblibrnp-static.a(key_store_kbx.cpp.o)' to global weak symbol 'typeinfo for kbx_blob_t' from file 'CMakeFiles/rnp_tests.dir/kbx-nsigs-test.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1321550Z ld: warning: direct access in function 'rnp_key_store_kbx_to_dst(rnp_key_store_t*, pgp_dest_t*)' from file '../lib/liblibrnp-static.a(key_store_kbx.cpp.o)' to global weak symbol 'typeinfo for kbx_blob_t' from file 'CMakeFiles/rnp_tests.dir/kbx-nsigs-test.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1326160Z ld: warning: direct access in function 'rnp_key_store_get_key_grip(pgp_key_material_t const*, std::__1::array<unsigned char, 20ul>&)' from file '../lib/liblibrnp-static.a(rnp_key_store.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1330740Z ld: warning: direct access in function 'rnp_key_store_get_key_grip(pgp_key_material_t const*, std::__1::array<unsigned char, 20ul>&)' from file '../lib/liblibrnp-static.a(rnp_key_store.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1342690Z ld: warning: direct access in function 'rnp_key_store_get_key_grip(pgp_key_material_t const*, std::__1::array<unsigned char, 20ul>&)' from file '../lib/liblibrnp-static.a(rnp_key_store.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1347550Z ld: warning: direct access in function 'rnp_key_store_get_key_grip(pgp_key_material_t const*, std::__1::array<unsigned char, 20ul>&)' from file '../lib/liblibrnp-static.a(rnp_key_store.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1351800Z ld: warning: direct access in function 'grip_hash_ecc_hex(rnp::Hash&, char const*, char)' from file '../lib/liblibrnp-static.a(rnp_key_store.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1355890Z ld: warning: direct access in function 'rnp::Hash::Hash(pgp_hash_alg_t)' from file '../lib/liblibrnp-static.a(hash.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1359940Z ld: warning: direct access in function 'rnp::Hash::Hash(pgp_hash_alg_t)' from file '../lib/liblibrnp-static.a(hash.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1363970Z ld: warning: direct access in function 'rnp::Hash::Hash(pgp_hash_alg_t)' from file '../lib/liblibrnp-static.a(hash.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1367990Z ld: warning: direct access in function 'rnp::Hash::add(void const*, unsigned long)' from file '../lib/liblibrnp-static.a(hash.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1372130Z ld: warning: direct access in function 'rnp::Hash::finish(unsigned char*)' from file '../lib/liblibrnp-static.a(hash.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1376370Z ld: warning: direct access in function 'rnp::Hash::clone(rnp::Hash&) const' from file '../lib/liblibrnp-static.a(hash.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1380450Z ld: warning: direct access in function 'rnp::Hash::clone(rnp::Hash&) const' from file '../lib/liblibrnp-static.a(hash.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1384680Z ld: warning: direct access in function 'rnp::CRC24::CRC24()' from file '../lib/liblibrnp-static.a(hash.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1388990Z ld: warning: direct access in function 'signature_init(pgp_key_material_t const&, pgp_hash_alg_t, rnp::Hash&)' from file '../lib/liblibrnp-static.a(signatures.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1393560Z ld: warning: direct access in function 'signature_calculate(pgp_signature_t&, pgp_key_material_t const&, rnp::Hash&, rng_st_t&)' from file '../lib/liblibrnp-static.a(signatures.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1398110Z ld: warning: direct access in function 'Cipher_Botan::set_ad(unsigned char const*, unsigned long)' from file '../lib/liblibrnp-static.a(cipher_botan.cpp.o)' to global weak symbol 'typeinfo for Botan::Cipher_Mode' from file '/tmp/rnp-local-installs/botan-install/lib/libbotan-2.a(ffi_cipher.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1402930Z ld: warning: direct access in function 'pgp_key_set_expiration(pgp_key_t*, pgp_key_t*, unsigned int, pgp_password_provider_t const&, rng_st_t&)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1407300Z ld: warning: direct access in function 'pgp_key_t::latest_selfsig(unsigned int)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1411500Z ld: warning: direct access in function 'pgp_key_t::get_sig(std::__1::array<unsigned char, 20ul> const&)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1416050Z ld: warning: direct access in function 'pgp_key_t::replace_sig(std::__1::array<unsigned char, 20ul> const&, pgp_signature_t const&)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1420720Z ld: warning: direct access in function 'pgp_key_t::replace_sig(std::__1::array<unsigned char, 20ul> const&, pgp_signature_t const&)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1425720Z ld: warning: direct access in function 'pgp_subkey_set_expiration(pgp_key_t*, pgp_key_t*, pgp_key_t*, unsigned int, pgp_password_provider_t const&, rng_st_t&)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1430560Z ld: warning: direct access in function 'pgp_key_t::latest_binding(bool)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1435030Z ld: warning: direct access in function 'pgp_key_t::sign_subkey_binding(pgp_key_t const&, pgp_signature_t&, rng_st_t&, bool) const' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1440140Z ld: warning: direct access in function 'pgp_key_t::pgp_key_t(pgp_key_pkt_t const&)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1446150Z ld: warning: direct access in function 'pgp_key_t::pgp_key_t(pgp_key_pkt_t const&)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1450300Z ld: warning: direct access in function 'pgp_key_t::pgp_key_t(pgp_key_pkt_t const&)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1454870Z ld: warning: direct access in function 'pgp_key_t::pgp_key_t(pgp_key_pkt_t const&, pgp_key_t&)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1461390Z ld: warning: direct access in function 'pgp_key_t::link_subkey_fp(pgp_key_t&)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1466350Z ld: warning: direct access in function 'pgp_key_t::pgp_key_t(pgp_key_pkt_t const&, pgp_key_t&)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1471340Z ld: warning: direct access in function 'pgp_key_t::pgp_key_t(pgp_transferable_subkey_t const&, pgp_key_t*)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1475810Z ld: warning: direct access in function 'pgp_key_t::pgp_key_t(pgp_transferable_subkey_t const&, pgp_key_t*)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1480080Z ld: warning: direct access in function 'pgp_key_t::get_sig(unsigned long)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1484220Z ld: warning: direct access in function 'pgp_key_t::get_sig(unsigned long) const' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1488980Z ld: warning: direct access in function 'pgp_key_t::get_sig(std::__1::array<unsigned char, 20ul> const&) const' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1494290Z ld: warning: direct access in function 'pgp_key_t::del_sig(std::__1::array<unsigned char, 20ul> const&)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1499640Z ld: warning: direct access in function 'pgp_key_t::del_sigs(std::__1::vector<std::__1::array<unsigned char, 20ul>, std::__1::allocator<std::__1::array<unsigned char, 20ul> > > const&)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1505090Z ld: warning: direct access in function 'pgp_key_t::get_keysig(unsigned long)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1510110Z ld: warning: direct access in function 'pgp_key_t::del_uid(unsigned long)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1514590Z ld: warning: direct access in function 'pgp_key_t::get_primary_uid() const' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1518690Z ld: warning: direct access in function 'pgp_key_t::revocation() const' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1523400Z ld: warning: direct access in function 'pgp_key_t::valid_till_common(bool) const' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1527550Z ld: warning: direct access in function 'pgp_key_t::primary_fp() const' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1532910Z ld: warning: direct access in function 'pgp_key_t::write(pgp_dest_t&) const' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1537260Z ld: warning: direct access in function 'pgp_key_t::latest_uid_selfcert(unsigned int)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1541850Z ld: warning: direct access in function 'pgp_key_t::validate_self_signatures()' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1546420Z ld: warning: direct access in function 'pgp_key_t::validate_self_signatures(pgp_key_t&)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1550730Z ld: warning: direct access in function 'pgp_key_t::validate_primary(rnp_key_store_t&)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1554910Z ld: warning: direct access in function 'pgp_key_t::validate_subkey(pgp_key_t*)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1560880Z ld: warning: direct access in function 'pgp_key_t::add_uid_cert(rnp_selfsig_cert_info_t&, pgp_hash_alg_t, rng_st_t&, pgp_key_t*)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:46.1565720Z ld: warning: direct access in function 'pgp_key_t::add_sub_binding(pgp_key_t&, pgp_key_t&, rnp_selfsig_binding_info_t const&, pgp_hash_alg_t, rng_st_t&)' from file '../lib/liblibrnp-static.a(pgp-key.cpp.o)' to global weak symbol 'typeinfo for rnp::rnp_exception' from file 'CMakeFiles/rnp_tests.dir/streams.cpp.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
2021-12-16T23:21:47.3196580Z [100%] Built target rnp_tests
ni4 commented 2 years ago

@ronaldtse Sorry, forgot to answer here - yeah, it is still present, see it each time when building rnp_tests.