[openssl-users] 1.1.1 pre1 tests failing on Solaris SPARC

Dennis Clarke dclarke at blastwave.org
Wed Feb 21 02:17:32 UTC 2018


On 20/02/18 01:36 PM, Norm Green wrote:
> Hi Dennis,
> 
> You're right, I did modify the config file...
<snip>

I have managed to get to the link stage here and ran into some odd
  syntax issue.

Have to dig around and see what LDCMD was intended to be.

${LDCMD:-/opt/developerstudio12.6/bin/cc} -errfmt=error -erroff=%none 
-errshort=full -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xc 
-xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -Qy -xs -g 
-xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -xtarget=sparc64viiplus 
-xarch=sparcima -xchip=sparc64viiplus -xcache=64/64/2:11264/256/11 
-D_TS_ERRNO -D__EXTENSIONS__ -D_POSIX_C_SOURCE 
-D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE  -L. -mt  \
         -o apps/openssl apps/asn1pars.o apps/ca.o apps/ciphers.o 
apps/cms.o apps/crl.o apps/crl2p7.o apps/dgst.o apps/dhparam.o 
apps/dsa.o apps/dsaparam.o apps/ec.o apps/ecparam.o apps/enc.o 
apps/engine.o apps/errstr.o apps/gendsa.o apps/genpkey.o apps/genrsa.o 
apps/nseq.o apps/ocsp.o apps/openssl.o apps/passwd.o apps/pkcs12.o 
apps/pkcs7.o apps/pkcs8.o apps/pkey.o apps/pkeyparam.o apps/pkeyutl.o 
apps/prime.o apps/rand.o apps/rehash.o apps/req.o apps/rsa.o 
apps/rsautl.o apps/s_client.o apps/s_server.o apps/s_time.o 
apps/sess_id.o apps/smime.o apps/speed.o apps/spkac.o apps/srp.o 
apps/storeutl.o apps/ts.o apps/verify.o apps/version.o apps/x509.o \
           apps/libapps.a -lssl -lcrypto -lz -lsocket -lnsl -ldl -lpthread
Undefined                       first referenced
  symbol                             in file
OPENSSL_LH_stats_bio                apps/asn1pars.o
SSL_stateless                       apps/s_server.o
BN_GENCB_free                       apps/dhparam.o
SSL_CTX_set_ctlog_list_file         apps/libapps.a(apps.o)
TLS_client_method                   apps/ocsp.o
SSL_SESSION_get0_cipher             apps/s_client.o
OPENSSL_strlcpy                     apps/ca.o
OPENSSL_strlcat                     apps/ca.o
OPENSSL_sk_pop_free                 apps/asn1pars.o
SSL_CTX_set_options                 apps/s_time.o
BN_is_zero                          apps/ca.o
BIO_ADDRINFO_free                   apps/libapps.a(s_socket.o)
BIO_ADDRINFO_next                   apps/libapps.a(s_socket.o)
SSL_is_dtls                         apps/libapps.a(s_cb.o)
BIO_sock_info                       apps/s_client.o
OpenSSL_version                     apps/speed.o
PKCS12_SAFEBAG_get0_attrs           apps/pkcs12.o
PKCS12_SAFEBAG_get_nid              apps/pkcs12.o
PKCS12_SAFEBAG_get0_safes           apps/pkcs12.o
PKCS12_SAFEBAG_get0_p8inf           apps/pkcs12.o
PKCS12_SAFEBAG_get0_pkcs8           apps/pkcs12.o
SSL_get0_dane_authority             apps/libapps.a(s_cb.o)
PEM_write_bio_PrivateKey_traditional apps/pkcs8.o
CRYPTO_clear_free                   apps/dgst.o
SSL_CTX_set_default_read_buffer_len apps/s_client.o
SSL_write_early_data                apps/s_client.o
RSA_check_key_ex                    apps/rsa.o
SSL_get1_supported_ciphers          apps/ciphers.o
SSL_SESSION_get_max_early_data      apps/s_client.o
EVP_PKEY_meth_get0                  apps/openssl.o
X509_STORE_CTX_set0_trusted_stack   apps/verify.o
PKCS12_SAFEBAG_get0_attr            apps/pkcs12.o
PKCS12_SAFEBAG_get0_type            apps/pkcs12.o
PKCS12_SAFEBAG_get1_cert            apps/pkcs12.o
ASN1_TIME_set_string_X509           apps/ca.o
OPENSSL_sk_dup                      apps/asn1pars.o
OPENSSL_sk_pop                      apps/asn1pars.o
OPENSSL_sk_num                      apps/asn1pars.o
OPENSSL_sk_new                      apps/asn1pars.o
OPENSSL_sk_set                      apps/asn1pars.o
EVP_PKEY_meth_get_count             apps/openssl.o
BIO_ADDRINFO_protocol               apps/libapps.a(s_socket.o)
SCT_validation_status_string        apps/s_client.o
SSL_ct_is_enabled                   apps/s_client.o
IDEA_options                        apps/speed.o
IDEA_set_encrypt_key                apps/speed.o
PKCS8_pkey_get0_attrs               apps/pkcs12.o
RSA_generate_multi_prime_key        apps/genrsa.o
X509_STORE_CTX_get_obj_by_subject   apps/crl.o
X509_CRL_get0_nextUpdate            apps/crl.o
X509_CRL_get0_lastUpdate            apps/crl.o
ASN1_ITEM_lookup                    apps/asn1pars.o
SSL_get0_peer_CA_list               apps/libapps.a(s_cb.o)
X509_CRL_set1_nextUpdate            apps/ca.o
X509_CRL_set1_lastUpdate            apps/ca.o
SSL_CTX_dane_enable                 apps/s_client.o
SSL_CTX_set_default_ctlog_list_file apps/libapps.a(apps.o)
SSL_CTX_set_keylog_callback         apps/libapps.a(s_cb.o)
X509_CRL_get0_signature             apps/crl.o
PKCS8_set0_pbe                      apps/pkcs8.o
EVP_MD_CTX_new                      apps/ocsp.o
PKCS12_get0_mac                     apps/pkcs12.o
SSL_set_options                     apps/s_client.o
ASYNC_WAIT_CTX_free                 apps/speed.o
SSL_get_options                     apps/s_server.o
OPENSSL_sk_free                     apps/asn1pars.o
OPENSSL_sk_find                     apps/asn1pars.o
OPENSSL_sk_push                     apps/asn1pars.o
OPENSSL_sk_sort                     apps/asn1pars.o
OPENSSL_sk_zero                     apps/asn1pars.o
PKCS12_mac_present                  apps/pkcs12.o
OPENSSL_LH_get_down_load            apps/asn1pars.o
BIO_lookup_ex                       apps/libapps.a(s_socket.o)
HMAC_CTX_free                       apps/speed.o
OCSP_basic_sign_ctx                 apps/ocsp.o
OPENSSL_sk_is_sorted                apps/asn1pars.o
TS_RESP_CTX_set_signer_digest       apps/ts.o
OPENSSL_sk_shift                    apps/asn1pars.o
OPENSSL_sk_value                    apps/asn1pars.o
SSL_has_pending                     apps/s_client.o
OSSL_STORE_LOADER_get0_engine       apps/engine.o
X509_get0_extensions                apps/ca.o
EVP_PKEY_param_check                apps/pkeyparam.o
BIO_meth_set_callback_ctrl          apps/libapps.a(bf_prefix.o)
SSL_get0_peer_scts                  apps/s_client.o
SSL_CTX_set_max_early_data          apps/s_server.o
SSL_CTX_set_default_verify_dir      apps/libapps.a(apps.o)
TS_VERIFY_CTX_set_data              apps/ts.o
BN_GENCB_set                        apps/dhparam.o
BN_GENCB_new                        apps/dhparam.o
TS_VERIFY_CTX_set_imprint           apps/ts.o
BN_is_odd                           apps/s_client.o
OSSL_STORE_LOADER_get0_scheme       apps/engine.o
X509_get_X509_PUBKEY                apps/x509.o
BIO_listen                          apps/libapps.a(s_socket.o)
EVP_PKEY_check                      apps/pkey.o
X509_SIG_get0                       apps/pkcs12.o
SSL_get0_peername                   apps/libapps.a(s_cb.o)
BN_GENCB_get_arg                    apps/dhparam.o
BIO_socket                          apps/libapps.a(s_socket.o)
ASYNC_start_job                     apps/speed.o
PKCS5_pbe2_set_scrypt               apps/pkcs8.o
OPENSSL_uni2utf8                    apps/pkcs12.o
SSL_CTX_get0_ctlog_store            apps/s_client.o
ASYNC_WAIT_CTX_get_all_fds          apps/speed.o
OSSL_STORE_INFO_free                apps/storeutl.o
X509_OBJECT_free                    apps/crl.o
SSL_dane_enable                     apps/s_client.o
BIO_ADDR_rawaddress                 apps/libapps.a(s_cb.o)
SCRYPT_PARAMS_it                    apps/pkcs12.o
OPENSSL_die                         apps/ocsp.o
OSSL_STORE_INFO_get0_CERT           apps/storeutl.o
OSSL_STORE_INFO_get0_NAME           apps/storeutl.o
OSSL_STORE_INFO_get0_PKEY           apps/storeutl.o
ASYNC_WAIT_CTX_new                  apps/speed.o
SSL_is_init_finished                apps/s_client.o
OpenSSL_version_num                 apps/version.o
OPENSSL_init_ssl                    apps/errstr.o
OPENSSL_hexchar2int                 apps/enc.o
OPENSSL_LH_set_down_load            apps/asn1pars.o
OPENSSL_LH_new                      apps/asn1pars.o
BIO_meth_new                        apps/libapps.a(bf_prefix.o)
EVP_PKEY_get0_RSA                   apps/req.o
EVP_PKEY_get0_DSA                   apps/x509.o
DSA_set0_pqg                        apps/speed.o
DSA_get0_pqg                        apps/dsaparam.o
DSA_get0_key                        apps/dsa.o
DSA_set0_key                        apps/speed.o
DH_bits                             apps/dhparam.o
OPENSSL_sk_delete_ptr               apps/asn1pars.o
BIO_read_ex                         apps/s_client.o
RSA_get0_key                        apps/genrsa.o
BIO_set_init                        apps/libapps.a(bf_prefix.o)
BIO_get_data                        apps/libapps.a(bf_prefix.o)
BIO_set_data                        apps/libapps.a(bf_prefix.o)
OSSL_STORE_error                    apps/storeutl.o
OSSL_STORE_close                    apps/storeutl.o
X509_REQ_get0_pubkey                apps/ca.o
X509_get0_pubkey                    apps/ca.o
OPENSSL_sk_unshift                  apps/asn1pars.o
EVP_PKEY_public_check               apps/pkey.o
SSL_dane_tlsa_add                   apps/s_client.o
OSSL_STORE_do_all_loaders           apps/engine.o
OPENSSL_LH_strhash                  apps/openssl.o
OPENSSL_hexstr2buf                  apps/cms.o
SSL_SESSION_up_ref                  apps/s_client.o
BIO_closesocket                     apps/s_client.o
BIO_meth_set_create                 apps/libapps.a(bf_prefix.o)
SSL_CTX_set0_CA_list                apps/s_client.o
UI_null                             apps/libapps.a(apps.o)
SSL_CIPHER_standard_name            apps/ciphers.o
ASN1_STRING_get0_data               apps/ca.o
BIO_connect                         apps/s_server.o
OPENSSL_LH_retrieve                 apps/asn1pars.o
BIO_ADDRINFO_family                 apps/libapps.a(s_socket.o)
SSL_verify_client_post_handshake    apps/s_server.o
X509_STORE_set_lookup_crls          apps/libapps.a(apps.o)
BIO_parse_hostserv                  apps/s_client.o
SCT_print                           apps/s_client.o
OPENSSL_cipher_name                 apps/ciphers.o
SSL_waiting_for_async               apps/s_server.o
X509_VERIFY_PARAM_set_auth_level    apps/libapps.a(opt.o)
SSL_get_all_async_fds               apps/libapps.a(apps.o)
OPENSSL_sk_new_null                 apps/asn1pars.o
OPENSSL_LH_free                     apps/asn1pars.o
OPENSSL_sk_set_cmp_func             apps/asn1pars.o
ASYNC_is_capable                    apps/speed.o
SSL_get_early_data_status           apps/s_client.o
SSL_SESSION_set_protocol_version    apps/s_client.o
X509_CRL_print_ex                   apps/crl.o
OPENSSL_LH_node_stats_bio           apps/asn1pars.o
SSL_dane_set_flags                  apps/s_client.o
OPENSSL_sk_reserve                  apps/asn1pars.o
TS_CONF_set_ess_cert_id_digest      apps/ts.o
BIO_ADDR_rawport                    apps/libapps.a(s_cb.o)
SSL_CTX_set_default_verify_file     apps/libapps.a(apps.o)
SSL_CTX_set_not_resumable_session_callback apps/s_server.o
OPENSSL_LH_num_items                apps/asn1pars.o
OPENSSL_sk_new_reserve              apps/asn1pars.o
DH_get0_pqg                         apps/dhparam.o
BIO_meth_free                       apps/libapps.a(apps.o)
OPENSSL_LH_node_usage_stats_bio     apps/asn1pars.o
HMAC_CTX_new                        apps/speed.o
X509_STORE_CTX_get_num_untrusted    apps/verify.o
OSSL_STORE_INFO_get0_NAME_description apps/storeutl.o
BIO_meth_set_read_ex                apps/libapps.a(bf_prefix.o)
X509_CRL_get_issuer                 apps/crl.o
RSA_pkey_ctx_ctrl                   apps/req.o
TS_VERIFY_CTX_set_store             apps/ts.o
BIO_ADDRINFO_socktype               apps/libapps.a(s_socket.o)
SSL_read_early_data                 apps/s_server.o
SSL_CTX_set_psk_find_session_callback apps/s_server.o
OSSL_STORE_eof                      apps/storeutl.o
TS_VERIFY_CTS_set_certs             apps/ts.o
BIO_meth_set_write_ex               apps/libapps.a(bf_prefix.o)
TS_VERIFY_CTX_add_flags             apps/ts.o
ASYNC_cleanup_thread                apps/speed.o
BIO_ADDR_new                        apps/s_client.o
IDEA_cbc_encrypt                    apps/speed.o
TS_STATUS_INFO_set_status           apps/ts.o
SSL_SESSION_set1_master_key         apps/s_client.o
X509_OBJECT_get0_X509               apps/crl.o
OSSL_STORE_INFO_type_string         apps/storeutl.o
BIO_write_ex                        apps/libapps.a(bf_prefix.o)
SSL_get0_dane_tlsa                  apps/libapps.a(s_cb.o)
OSSL_STORE_INFO_get_type            apps/storeutl.o
SSL_SESSION_print_keylog            apps/sess_id.o
CRYPTO_set_mem_debug                apps/openssl.o
OSSL_STORE_INFO_get0_CRL            apps/storeutl.o
SSL_CTX_get_security_callback       apps/libapps.a(s_cb.o)
SSL_CTX_set_security_callback       apps/libapps.a(s_cb.o)
OPENSSL_sk_delete                   apps/asn1pars.o
OPENSSL_LH_delete                   apps/asn1pars.o
SSL_CTX_set_tlsext_max_fragment_length apps/s_client.o
TLS_server_method                   apps/ciphers.o
OCSP_resp_get0_signature            apps/ocsp.o
DTLSv1_listen                       apps/s_server.o
SSL_force_post_handshake_auth       apps/s_client.o
SSL_CTX_config                      apps/s_client.o
OPENSSL_LH_insert                   apps/asn1pars.o
OPENSSL_sk_insert                   apps/asn1pars.o
SSL_SESSION_set_cipher              apps/s_client.o
X509_REQ_get_subject_name           apps/ca.o
PKCS12_SAFEBAG_get_bag_nid          apps/pkcs12.o
OPENSSL_sk_deep_copy                apps/asn1pars.o
ASN1_ITEM_get                       apps/asn1pars.o
CRYPTO_memdup                       apps/s_server.o
SSL_get_key_update_type             apps/s_client.o
SSL_CTX_set_psk_use_session_callback apps/s_client.o
OSSL_STORE_open                     apps/storeutl.o
OSSL_STORE_load                     apps/storeutl.o
DH_get_length                       apps/dhparam.o
SSL_CIPHER_get_handshake_digest     apps/s_client.o
SSL_key_update                      apps/s_client.o
X509_getm_notAfter                  apps/libapps.a(apps.o)
BIO_meth_set_destroy                apps/libapps.a(bf_prefix.o)
X509_get0_notAfter                  apps/ca.o
BIO_accept_ex                       apps/libapps.a(s_socket.o)
BIO_meth_set_gets                   apps/libapps.a(bf_prefix.o)
BIO_meth_set_ctrl                   apps/libapps.a(bf_prefix.o)
BIO_meth_set_puts                   apps/libapps.a(bf_prefix.o)
BIO_ADDRINFO_address                apps/libapps.a(s_socket.o)
SSL_CTX_enable_ct                   apps/s_client.o
CRYPTO_zalloc                       apps/passwd.o
X509_get0_notBefore                 apps/x509.o
OSSL_STORE_INFO_get0_PARAMS         apps/storeutl.o
BIO_ADDR_free                       apps/s_client.o
EVP_MD_CTX_free                     apps/ocsp.o
OPENSSL_sk_find_ex                  apps/asn1pars.o
TS_CONF_set_signer_digest           apps/ts.o
SSL_session_reused                  apps/s_client.o
ASYNC_init_thread                   apps/speed.o
X509_getm_notBefore                 apps/libapps.a(apps.o)
SCRYPT_PARAMS_free                  apps/pkcs12.o
OPENSSL_LH_doall                    apps/asn1pars.o
SSL_get_peer_signature_type_nid     apps/libapps.a(s_cb.o)
OPENSSL_LH_error                    apps/asn1pars.o
SSL_CTX_set0_security_ex_data       apps/libapps.a(s_cb.o)
ld: fatal: symbol referencing errors. No output written to apps/openssl
gmake[1]: *** [Makefile:7936: apps/openssl] Error 2
gmake[1]: Leaving directory 
'/usr/local/build/openssl-1.1.1-pre1_SunOS5.10_sparcv9.001'
gmake: *** [Makefile:143: all] Error 2
corv $


Making progress here however.

Dennis


More information about the openssl-users mailing list