bpo-44263: Fix _decimal and _testcapi GC protocol#26464
Conversation
* _testcapi.heapgctype: implement a traverse function since the type is defined with Py_TPFLAGS_HAVE_GC. * _decimal: PyDecSignalDictMixin_Type is no longer defined with Py_TPFLAGS_HAVE_GC since it has no traverse function.
|
It's possible to access the internal |
Sorry, something went wrong.
|
PyDecSignalDictMixin_Type doesn't contain any Python object. It cannot be part of a reference cycle. So it doesn't have to be tracked by the GC. Its structure only contains 32-bit flags: |
Sorry, something went wrong.
Sorry, something went wrong.
|
The following script does crash in |
Sorry, something went wrong.
erlend-aasland
left a comment
There was a problem hiding this comment.
LGTM!
Sorry, something went wrong.
Is it worth it adding this as a regression test? |
Sorry, something went wrong.
|
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Sorry, something went wrong.
* _testcapi.heapgctype: implement a traverse function since the type is defined with Py_TPFLAGS_HAVE_GC. * _decimal: PyDecSignalDictMixin_Type is no longer defined with Py_TPFLAGS_HAVE_GC since it has no traverse function. (cherry picked from commit 142e5c5) Co-authored-by: Victor Stinner <vstinner@python.org>
|
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9. |
Sorry, something went wrong.
* _testcapi.heapgctype: implement a traverse function since the type is defined with Py_TPFLAGS_HAVE_GC. * _decimal: PyDecSignalDictMixin_Type is no longer defined with Py_TPFLAGS_HAVE_GC since it has no traverse function. (cherry picked from commit 142e5c5) Co-authored-by: Victor Stinner <vstinner@python.org>
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot s390x RHEL7 LTO + PGO 3.x has failed when building commit 142e5c5. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/244/builds/273 Failed tests:
Summary of the results of the build (if available): == Click to see traceback logsremote: Enumerating objects: 11, done.�[K
remote: Counting objects: 9% (1/11)�[K
remote: Counting objects: 18% (2/11)�[K
remote: Counting objects: 27% (3/11)�[K
remote: Counting objects: 36% (4/11)�[K
remote: Counting objects: 45% (5/11)�[K
remote: Counting objects: 54% (6/11)�[K
remote: Counting objects: 63% (7/11)�[K
remote: Counting objects: 72% (8/11)�[K
remote: Counting objects: 81% (9/11)�[K
remote: Counting objects: 90% (10/11)�[K
remote: Counting objects: 100% (11/11)�[K
remote: Counting objects: 100% (11/11), done.�[K
remote: Compressing objects: 100% (1/1)�[K
remote: Compressing objects: 100% (1/1), done.�[K
remote: Total 6 (delta 5), reused 5 (delta 5), pack-reused 0�[K
From https://github.com/python/cpython
* branch main -> FETCH_HEAD
Note: checking out '142e5c5445c019542246d93fe2f9e195d3131686'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at 142e5c5... [bpo-44263](https://bugs.python.org/issue44263): Fix _decimal and _testcapi GC protocol (GH-26464)
Switched to and reset branch 'main'
./configure: line 10530: PKG_PROG_PKG_CONFIG: command not found
find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
make[2]: [clean-retain-profile] Error 1 (ignored)
Python/ceval.c: In function ‘PyEval_EvalCodeEx’:
Python/ceval.c:5287:19: warning: ‘newargs’ may be used uninitialized in this function [-Wmaybe-uninitialized]
PyMem_Free(newargs);
^
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:390:0:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl/debughelpers.c: In function ‘_PySSLContext_set_keylog_filename’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl/debughelpers.c:180:5: error: implicit declaration of function ‘SSL_CTX_set_keylog_callback’ [-Werror=implicit-function-declaration]
SSL_CTX_set_keylog_callback(self->ctx, NULL);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl_configure_hostname’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:765:13: error: implicit declaration of function ‘ASN1_STRING_get0_data’ [-Werror=implicit-function-declaration]
if (!X509_VERIFY_PARAM_set1_ip(param, ASN1_STRING_get0_data(ip),
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:766:44: warning: passing argument 2 of ‘X509_VERIFY_PARAM_set1_ip’ makes pointer from integer without a cast [enabled by default]
ASN1_STRING_length(ip))) {
^
In file included from /usr/include/openssl/x509.h:581:0,
from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.h:6,
from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:31:
/usr/include/openssl/x509_vfy.h:604:5: note: expected ‘const unsigned char *’ but argument is of type ‘int’
int X509_VERIFY_PARAM_set1_ip(X509_VERIFY_PARAM *param,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘newPySSLSocket’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:831:9: error: implicit declaration of function ‘BIO_up_ref’ [-Werror=implicit-function-declaration]
BIO_up_ref(inbio->bio);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_create_tuple_for_X509_NAME’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1086:13: error: implicit declaration of function ‘X509_NAME_ENTRY_set’ [-Werror=implicit-function-declaration]
if (rdn_level != X509_NAME_ENTRY_set(entry)) {
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_get_peer_alt_names’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1251:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
v = PyUnicode_FromStringAndSize((char *)ASN1_STRING_get0_data(as),
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_decode_certificate’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1611:5: error: implicit declaration of function ‘X509_get0_notBefore’ [-Werror=implicit-function-declaration]
notBefore = X509_get0_notBefore(certificate);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1611:15: warning: assignment makes pointer from integer without a cast [enabled by default]
notBefore = X509_get0_notBefore(certificate);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1628:5: error: implicit declaration of function ‘X509_get0_notAfter’ [-Werror=implicit-function-declaration]
notAfter = X509_get0_notAfter(certificate);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1628:14: warning: assignment makes pointer from integer without a cast [enabled by default]
notAfter = X509_get0_notAfter(certificate);
^
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1724:0:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl/cert.c: In function ‘newCertificate’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl/cert.c:30:9: error: implicit declaration of function ‘X509_up_ref’ [-Werror=implicit-function-declaration]
X509_up_ref(cert);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_get_verified_chain_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1828:29: warning: initialization makes pointer from integer without a cast [enabled by default]
STACK_OF(X509) *chain = SSL_get0_verified_chain(self->ssl);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘cipher_to_dict’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1946:5: error: implicit declaration of function ‘SSL_CIPHER_is_aead’ [-Werror=implicit-function-declaration]
aead = SSL_CIPHER_is_aead(cipher);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1947:5: error: implicit declaration of function ‘SSL_CIPHER_get_cipher_nid’ [-Werror=implicit-function-declaration]
nid = SSL_CIPHER_get_cipher_nid(cipher);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1949:5: error: implicit declaration of function ‘SSL_CIPHER_get_digest_nid’ [-Werror=implicit-function-declaration]
nid = SSL_CIPHER_get_digest_nid(cipher);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1951:5: error: implicit declaration of function ‘SSL_CIPHER_get_kx_nid’ [-Werror=implicit-function-declaration]
nid = SSL_CIPHER_get_kx_nid(cipher);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1953:5: error: implicit declaration of function ‘SSL_CIPHER_get_auth_nid’ [-Werror=implicit-function-declaration]
nid = SSL_CIPHER_get_auth_nid(cipher);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_compression_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:2078:5: error: implicit declaration of function ‘COMP_get_type’ [-Werror=implicit-function-declaration]
if (comp_method == NULL || COMP_get_type(comp_method) == NID_undef)
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_write_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:2335:9: error: implicit declaration of function ‘SSL_write_ex’ [-Werror=implicit-function-declaration]
retval = SSL_write_ex(self->ssl, b->buf, (int)b->len, &count);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_read_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:2487:9: error: implicit declaration of function ‘SSL_read_ex’ [-Werror=implicit-function-declaration]
retval = SSL_read_ex(self->ssl, mem, len, &count);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3013:9: error: implicit declaration of function ‘TLS_method’ [-Werror=implicit-function-declaration]
method = TLS_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3013:16: warning: assignment makes pointer from integer without a cast [enabled by default]
method = TLS_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3016:9: error: implicit declaration of function ‘TLS_client_method’ [-Werror=implicit-function-declaration]
method = TLS_client_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3016:16: warning: assignment makes pointer from integer without a cast [enabled by default]
method = TLS_client_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3019:9: error: implicit declaration of function ‘TLS_server_method’ [-Werror=implicit-function-declaration]
method = TLS_server_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3019:16: warning: assignment makes pointer from integer without a cast [enabled by default]
method = TLS_server_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3122:9: error: implicit declaration of function ‘SSL_CTX_set_min_proto_version’ [-Werror=implicit-function-declaration]
result = SSL_CTX_set_min_proto_version(ctx, PY_SSL_MIN_PROTOCOL);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘set_min_max_proto_version’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3482:9: error: implicit declaration of function ‘SSL_CTX_set_max_proto_version’ [-Werror=implicit-function-declaration]
result = SSL_CTX_set_max_proto_version(self->ctx, v);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘get_minimum_version’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3495:37: error: ‘SSL_CTRL_GET_MIN_PROTO_VERSION’ undeclared (first use in this function)
int v = SSL_CTX_ctrl(self->ctx, SSL_CTRL_GET_MIN_PROTO_VERSION, 0, NULL);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3495:37: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘get_maximum_version’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3511:37: error: ‘SSL_CTRL_GET_MAX_PROTO_VERSION’ undeclared (first use in this function)
int v = SSL_CTX_ctrl(self->ctx, SSL_CTRL_GET_MAX_PROTO_VERSION, 0, NULL);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘get_security_level’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3560:5: error: implicit declaration of function ‘SSL_CTX_get_security_level’ [-Werror=implicit-function-declaration]
return PyLong_FromLong(SSL_CTX_get_security_level(self->ctx));
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_load_cert_chain_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3801:5: error: implicit declaration of function ‘SSL_CTX_get_default_passwd_cb’ [-Werror=implicit-function-declaration]
pem_password_cb *orig_passwd_cb = SSL_CTX_get_default_passwd_cb(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3801:39: warning: initialization makes pointer from integer without a cast [enabled by default]
pem_password_cb *orig_passwd_cb = SSL_CTX_get_default_passwd_cb(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3802:5: error: implicit declaration of function ‘SSL_CTX_get_default_passwd_cb_userdata’ [-Werror=implicit-function-declaration]
void *orig_passwd_userdata = SSL_CTX_get_default_passwd_cb_userdata(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3802:34: warning: initialization makes pointer from integer without a cast [enabled by default]
void *orig_passwd_userdata = SSL_CTX_get_default_passwd_cb_userdata(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_add_ca_certs’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3935:37: warning: passing argument 3 of ‘PEM_read_bio_X509’ makes pointer from integer without a cast [enabled by default]
);
^
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:59:0:
/usr/include/openssl/pem.h:451:1: note: expected ‘int (*)(char *, int, int, void *)’ but argument is of type ‘int’
DECLARE_PEM_rw(X509, X509)
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3935:37: warning: passing argument 4 of ‘PEM_read_bio_X509’ makes pointer from integer without a cast [enabled by default]
);
^
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:59:0:
/usr/include/openssl/pem.h:451:1: note: expected ‘void *’ but argument is of type ‘int’
DECLARE_PEM_rw(X509, X509)
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_cert_store_stats_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4495:5: error: implicit declaration of function ‘X509_STORE_get0_objects’ [-Werror=implicit-function-declaration]
objs = X509_STORE_get0_objects(store);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4495:10: warning: assignment makes pointer from integer without a cast [enabled by default]
objs = X509_STORE_get0_objects(store);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4498:9: error: implicit declaration of function ‘X509_OBJECT_get_type’ [-Werror=implicit-function-declaration]
switch (X509_OBJECT_get_type(obj)) {
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4501:17: error: implicit declaration of function ‘X509_OBJECT_get0_X509’ [-Werror=implicit-function-declaration]
if (X509_check_ca(X509_OBJECT_get0_X509(obj))) {
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4501:17: warning: passing argument 1 of ‘X509_check_ca’ makes pointer from integer without a cast [enabled by default]
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:58:0:
/usr/include/openssl/x509v3.h:697:5: note: expected ‘struct X509 *’ but argument is of type ‘int’
int X509_check_ca(X509 *x);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_get_ca_certs_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4546:10: warning: assignment makes pointer from integer without a cast [enabled by default]
objs = X509_STORE_get0_objects(store);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4557:14: warning: assignment makes pointer from integer without a cast [enabled by default]
cert = X509_OBJECT_get0_X509(obj);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘PySSLSession_get_ticket_lifetime_hint’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4984:5: error: implicit declaration of function ‘SSL_SESSION_get_ticket_lifetime_hint’ [-Werror=implicit-function-declaration]
unsigned long hint = SSL_SESSION_get_ticket_lifetime_hint(self->session);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘PySSLSession_get_has_ticket’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:5006:5: error: implicit declaration of function ‘SSL_SESSION_has_ticket’ [-Werror=implicit-function-declaration]
if (SSL_SESSION_has_ticket(self->session)) {
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘sslmodule_init_versioninfo’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:6059:5: error: implicit declaration of function ‘OpenSSL_version_num’ [-Werror=implicit-function-declaration]
libver = OpenSSL_version_num();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:6069:5: error: implicit declaration of function ‘OpenSSL_version’ [-Werror=implicit-function-declaration]
r = PyUnicode_FromString(OpenSSL_version(OPENSSL_VERSION));
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:6069:46: error: ‘OPENSSL_VERSION’ undeclared (first use in this function)
r = PyUnicode_FromString(OpenSSL_version(OPENSSL_VERSION));
^
cc1: some warnings being treated as errors
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘py_digest_name’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:158:10: error: ‘NID_sha3_224’ undeclared (first use in this function)
case NID_sha3_224:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:158:10: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:161:10: error: ‘NID_sha3_256’ undeclared (first use in this function)
case NID_sha3_256:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:164:10: error: ‘NID_sha3_384’ undeclared (first use in this function)
case NID_sha3_384:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:167:10: error: ‘NID_sha3_512’ undeclared (first use in this function)
case NID_sha3_512:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:172:10: error: ‘NID_shake128’ undeclared (first use in this function)
case NID_shake128:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:175:10: error: ‘NID_shake256’ undeclared (first use in this function)
case NID_shake256:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:180:10: error: ‘NID_blake2s256’ undeclared (first use in this function)
case NID_blake2s256:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:183:10: error: ‘NID_blake2b512’ undeclared (first use in this function)
case NID_blake2b512:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘py_digest_by_name’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:222:13: error: implicit declaration of function ‘EVP_sha3_224’ [-Werror=implicit-function-declaration]
digest = EVP_sha3_224();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:222:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_sha3_224();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:225:13: error: implicit declaration of function ‘EVP_sha3_256’ [-Werror=implicit-function-declaration]
digest = EVP_sha3_256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:225:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_sha3_256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:228:13: error: implicit declaration of function ‘EVP_sha3_384’ [-Werror=implicit-function-declaration]
digest = EVP_sha3_384();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:228:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_sha3_384();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:231:13: error: implicit declaration of function ‘EVP_sha3_512’ [-Werror=implicit-function-declaration]
digest = EVP_sha3_512();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:231:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_sha3_512();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:236:13: error: implicit declaration of function ‘EVP_shake128’ [-Werror=implicit-function-declaration]
digest = EVP_shake128();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:236:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_shake128();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:239:13: error: implicit declaration of function ‘EVP_shake256’ [-Werror=implicit-function-declaration]
digest = EVP_shake256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:239:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_shake256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:244:13: error: implicit declaration of function ‘EVP_blake2s256’ [-Werror=implicit-function-declaration]
digest = EVP_blake2s256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:244:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_blake2s256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:247:13: error: implicit declaration of function ‘EVP_blake2b512’ [-Werror=implicit-function-declaration]
digest = EVP_blake2b512();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:247:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_blake2b512();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘newEVPobject’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:312:5: error: implicit declaration of function ‘EVP_MD_CTX_new’ [-Werror=implicit-function-declaration]
retval->ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:312:17: warning: assignment makes pointer from integer without a cast [enabled by default]
retval->ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVP_dealloc’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:350:5: error: implicit declaration of function ‘EVP_MD_CTX_free’ [-Werror=implicit-function-declaration]
EVP_MD_CTX_free(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVP_digest_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:404:14: warning: assignment makes pointer from integer without a cast [enabled by default]
temp_ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVP_hexdigest_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:438:14: warning: assignment makes pointer from integer without a cast [enabled by default]
temp_ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVPXOF_digest_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:616:14: warning: assignment makes pointer from integer without a cast [enabled by default]
temp_ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:628:5: error: implicit declaration of function ‘EVP_DigestFinalXOF’ [-Werror=implicit-function-declaration]
if (!EVP_DigestFinalXOF(temp_ctx,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVPXOF_hexdigest_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:663:14: warning: assignment makes pointer from integer without a cast [enabled by default]
temp_ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVPnew’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:761:33: error: ‘EVP_MD_FLAG_XOF’ undeclared (first use in this function)
if ((EVP_MD_flags(digest) & EVP_MD_FLAG_XOF) == EVP_MD_FLAG_XOF) {
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_224_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1009:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_sha3_224(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_256_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1028:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_sha3_256(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_384_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1047:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_sha3_384(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_512_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1066:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_sha3_512(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_shake_128_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1087:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_shake128(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_shake_256_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1106:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_shake256(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_scrypt_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1298:5: error: implicit declaration of function ‘EVP_PBE_scrypt’ [-Werror=implicit-function-declaration]
retval = EVP_PBE_scrypt(NULL, 0, NULL, 0, n, r, p, maxmem, NULL, 0);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_new_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1428:5: error: implicit declaration of function ‘HMAC_CTX_new’ [-Werror=implicit-function-declaration]
ctx = HMAC_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1428:9: warning: assignment makes pointer from integer without a cast [enabled by default]
ctx = HMAC_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1461:5: error: implicit declaration of function ‘HMAC_CTX_free’ [-Werror=implicit-function-declaration]
if (ctx) HMAC_CTX_free(ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hmac_digest_size’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1480:5: error: implicit declaration of function ‘HMAC_CTX_get_md’ [-Werror=implicit-function-declaration]
unsigned int digest_size = EVP_MD_size(HMAC_CTX_get_md(self->ctx));
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1480:5: warning: passing argument 1 of ‘EVP_MD_size’ makes pointer from integer without a cast [enabled by default]
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:28:0:
/usr/include/openssl/evp.h:523:5: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
int EVP_MD_size(const EVP_MD *md);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_HMAC_copy_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1529:21: warning: initialization makes pointer from integer without a cast [enabled by default]
HMAC_CTX *ctx = HMAC_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hmac_repr’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1564:5: warning: passing argument 1 of ‘py_digest_name’ makes pointer from integer without a cast [enabled by default]
PyObject *digest_name = py_digest_name(HMAC_CTX_get_md(self->ctx));
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:122:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
py_digest_name(const EVP_MD *md)
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hmac_digest’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1595:26: warning: initialization makes pointer from integer without a cast [enabled by default]
HMAC_CTX *temp_ctx = HMAC_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_get_block_size’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1672:24: warning: initialization makes pointer from integer without a cast [enabled by default]
const EVP_MD *md = HMAC_CTX_get_md(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_get_name’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1682:5: warning: passing argument 1 of ‘py_digest_name’ makes pointer from integer without a cast [enabled by default]
PyObject *digest_name = py_digest_name(HMAC_CTX_get_md(self->ctx));
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:122:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
py_digest_name(const EVP_MD *md)
^
cc1: some warnings being treated as errors
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_sha3/sha3module.c:118:0:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c: In function ‘_PySHA3_KeccakP1600_ExtractAndAddLanes’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:421:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
((UINT32*)(output+lanePosition*8))[0] = ((UINT32*)(input+lanePosition*8))[0] ^ (*(const UINT32*)(laneAsBytes+0));
^
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
Objects/bytes_methods.c: In function ‘find_internal’:
Objects/bytes_methods.c:523:31: warning: ‘subobj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (PyObject_GetBuffer(subobj, &subbuf, PyBUF_SIMPLE) != 0)
^
Objects/bytes_methods.c: In function ‘_Py_bytes_find’:
Objects/bytes_methods.c:523:31: warning: ‘subobj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Objects/bytes_methods.c:510:15: note: ‘subobj’ was declared here
PyObject *subobj;
^
Objects/bytes_methods.c: In function ‘_Py_bytes_rfind’:
Objects/bytes_methods.c:523:31: warning: ‘subobj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (PyObject_GetBuffer(subobj, &subbuf, PyBUF_SIMPLE) != 0)
^
Objects/bytes_methods.c:510:15: note: ‘subobj’ was declared here
PyObject *subobj;
^
Objects/bytes_methods.c: In function ‘_Py_bytes_count’:
Objects/bytes_methods.c:672:31: warning: ‘sub_obj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (PyObject_GetBuffer(sub_obj, &vsub, PyBUF_SIMPLE) != 0)
^
Python/ceval.c: In function ‘PyEval_EvalCodeEx’:
Python/ceval.c:5287:19: warning: ‘newargs’ may be used uninitialized in this function [-Wmaybe-uninitialized]
PyMem_Free(newargs);
^
Python/pyfpe.c: In function ‘PyFPE_dummy’:
Python/pyfpe.c:15:1: note: file /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Python/pyfpe.gcda not found, execution counts estimated
}
^
./Modules/_io/clinic/textio.c.h: In function ‘_io_TextIOWrapper_seek’:
./Modules/_io/textio.c:2608:48: warning: ‘MEM[(char * {ref-all})&cookie + 20B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
decoded = _PyObject_CallMethodIdObjArgs(self->decoder, &PyId_decode,
^
./Modules/_io/textio.c:2457:17: note: ‘MEM[(char * {ref-all})&cookie + 20B]’ was declared here
cookie_type cookie;
^
./Modules/_io/textio.c:2617:54: warning: ‘MEM[(char * {ref-all})&cookie + 16B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (PyUnicode_GetLength(self->decoded_chars) < cookie.chars_to_skip) {
^
./Modules/_io/textio.c:2457:17: note: ‘MEM[(char * {ref-all})&cookie + 16B]’ was declared here
cookie_type cookie;
^
./Modules/_io/textio.c:2441:40: warning: ‘MEM[(char * {ref-all})&cookie + 8B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return _textiowrapper_encoder_reset(
^
./Modules/_io/textio.c:2457:17: note: ‘MEM[(char * {ref-all})&cookie + 8B]’ was declared here
cookie_type cookie;
^
./Modules/_io/textio.c:2441:40: warning: ‘MEM[(char * {ref-all})&cookie]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return _textiowrapper_encoder_reset(
^
./Modules/_io/textio.c:2457:17: note: ‘MEM[(char * {ref-all})&cookie]’ was declared here
cookie_type cookie;
^
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_pickle.c: In function ‘load’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_pickle.c:5177:15: warning: ‘s’ may be used uninitialized in this function [-Wmaybe-uninitialized]
value = PyLong_FromString(s, NULL, 0);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_pickle.c:5158:20: note: ‘s’ was declared here
char *endptr, *s;
^
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:390:0:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl/debughelpers.c: In function ‘_PySSLContext_set_keylog_filename’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl/debughelpers.c:180:5: error: implicit declaration of function ‘SSL_CTX_set_keylog_callback’ [-Werror=implicit-function-declaration]
SSL_CTX_set_keylog_callback(self->ctx, NULL);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl_configure_hostname’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:765:13: error: implicit declaration of function ‘ASN1_STRING_get0_data’ [-Werror=implicit-function-declaration]
if (!X509_VERIFY_PARAM_set1_ip(param, ASN1_STRING_get0_data(ip),
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:766:44: warning: passing argument 2 of ‘X509_VERIFY_PARAM_set1_ip’ makes pointer from integer without a cast [enabled by default]
ASN1_STRING_length(ip))) {
^
In file included from /usr/include/openssl/x509.h:581:0,
from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.h:6,
from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:31:
/usr/include/openssl/x509_vfy.h:604:5: note: expected ‘const unsigned char *’ but argument is of type ‘int’
int X509_VERIFY_PARAM_set1_ip(X509_VERIFY_PARAM *param,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘newPySSLSocket’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:831:9: error: implicit declaration of function ‘BIO_up_ref’ [-Werror=implicit-function-declaration]
BIO_up_ref(inbio->bio);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_create_tuple_for_X509_NAME’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1086:13: error: implicit declaration of function ‘X509_NAME_ENTRY_set’ [-Werror=implicit-function-declaration]
if (rdn_level != X509_NAME_ENTRY_set(entry)) {
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_get_peer_alt_names’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1251:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
v = PyUnicode_FromStringAndSize((char *)ASN1_STRING_get0_data(as),
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_decode_certificate’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1611:5: error: implicit declaration of function ‘X509_get0_notBefore’ [-Werror=implicit-function-declaration]
notBefore = X509_get0_notBefore(certificate);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1611:15: warning: assignment makes pointer from integer without a cast [enabled by default]
notBefore = X509_get0_notBefore(certificate);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1628:5: error: implicit declaration of function ‘X509_get0_notAfter’ [-Werror=implicit-function-declaration]
notAfter = X509_get0_notAfter(certificate);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1628:14: warning: assignment makes pointer from integer without a cast [enabled by default]
notAfter = X509_get0_notAfter(certificate);
^
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1724:0:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl/cert.c: In function ‘newCertificate’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl/cert.c:30:9: error: implicit declaration of function ‘X509_up_ref’ [-Werror=implicit-function-declaration]
X509_up_ref(cert);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_get_verified_chain_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1828:29: warning: initialization makes pointer from integer without a cast [enabled by default]
STACK_OF(X509) *chain = SSL_get0_verified_chain(self->ssl);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘cipher_to_dict’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1946:5: error: implicit declaration of function ‘SSL_CIPHER_is_aead’ [-Werror=implicit-function-declaration]
aead = SSL_CIPHER_is_aead(cipher);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1947:5: error: implicit declaration of function ‘SSL_CIPHER_get_cipher_nid’ [-Werror=implicit-function-declaration]
nid = SSL_CIPHER_get_cipher_nid(cipher);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1949:5: error: implicit declaration of function ‘SSL_CIPHER_get_digest_nid’ [-Werror=implicit-function-declaration]
nid = SSL_CIPHER_get_digest_nid(cipher);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1951:5: error: implicit declaration of function ‘SSL_CIPHER_get_kx_nid’ [-Werror=implicit-function-declaration]
nid = SSL_CIPHER_get_kx_nid(cipher);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1953:5: error: implicit declaration of function ‘SSL_CIPHER_get_auth_nid’ [-Werror=implicit-function-declaration]
nid = SSL_CIPHER_get_auth_nid(cipher);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_compression_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:2078:5: error: implicit declaration of function ‘COMP_get_type’ [-Werror=implicit-function-declaration]
if (comp_method == NULL || COMP_get_type(comp_method) == NID_undef)
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_write_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:2335:9: error: implicit declaration of function ‘SSL_write_ex’ [-Werror=implicit-function-declaration]
retval = SSL_write_ex(self->ssl, b->buf, (int)b->len, &count);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_read_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:2487:9: error: implicit declaration of function ‘SSL_read_ex’ [-Werror=implicit-function-declaration]
retval = SSL_read_ex(self->ssl, mem, len, &count);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3013:9: error: implicit declaration of function ‘TLS_method’ [-Werror=implicit-function-declaration]
method = TLS_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3013:16: warning: assignment makes pointer from integer without a cast [enabled by default]
method = TLS_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3016:9: error: implicit declaration of function ‘TLS_client_method’ [-Werror=implicit-function-declaration]
method = TLS_client_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3016:16: warning: assignment makes pointer from integer without a cast [enabled by default]
method = TLS_client_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3019:9: error: implicit declaration of function ‘TLS_server_method’ [-Werror=implicit-function-declaration]
method = TLS_server_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3019:16: warning: assignment makes pointer from integer without a cast [enabled by default]
method = TLS_server_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3122:9: error: implicit declaration of function ‘SSL_CTX_set_min_proto_version’ [-Werror=implicit-function-declaration]
result = SSL_CTX_set_min_proto_version(ctx, PY_SSL_MIN_PROTOCOL);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘set_min_max_proto_version’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3482:9: error: implicit declaration of function ‘SSL_CTX_set_max_proto_version’ [-Werror=implicit-function-declaration]
result = SSL_CTX_set_max_proto_version(self->ctx, v);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘get_minimum_version’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3495:37: error: ‘SSL_CTRL_GET_MIN_PROTO_VERSION’ undeclared (first use in this function)
int v = SSL_CTX_ctrl(self->ctx, SSL_CTRL_GET_MIN_PROTO_VERSION, 0, NULL);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3495:37: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘get_maximum_version’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3511:37: error: ‘SSL_CTRL_GET_MAX_PROTO_VERSION’ undeclared (first use in this function)
int v = SSL_CTX_ctrl(self->ctx, SSL_CTRL_GET_MAX_PROTO_VERSION, 0, NULL);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘get_security_level’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3560:5: error: implicit declaration of function ‘SSL_CTX_get_security_level’ [-Werror=implicit-function-declaration]
return PyLong_FromLong(SSL_CTX_get_security_level(self->ctx));
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_load_cert_chain_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3801:5: error: implicit declaration of function ‘SSL_CTX_get_default_passwd_cb’ [-Werror=implicit-function-declaration]
pem_password_cb *orig_passwd_cb = SSL_CTX_get_default_passwd_cb(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3801:39: warning: initialization makes pointer from integer without a cast [enabled by default]
pem_password_cb *orig_passwd_cb = SSL_CTX_get_default_passwd_cb(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3802:5: error: implicit declaration of function ‘SSL_CTX_get_default_passwd_cb_userdata’ [-Werror=implicit-function-declaration]
void *orig_passwd_userdata = SSL_CTX_get_default_passwd_cb_userdata(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3802:34: warning: initialization makes pointer from integer without a cast [enabled by default]
void *orig_passwd_userdata = SSL_CTX_get_default_passwd_cb_userdata(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_add_ca_certs’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3935:37: warning: passing argument 3 of ‘PEM_read_bio_X509’ makes pointer from integer without a cast [enabled by default]
);
^
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:59:0:
/usr/include/openssl/pem.h:451:1: note: expected ‘int (*)(char *, int, int, void *)’ but argument is of type ‘int’
DECLARE_PEM_rw(X509, X509)
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3935:37: warning: passing argument 4 of ‘PEM_read_bio_X509’ makes pointer from integer without a cast [enabled by default]
);
^
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:59:0:
/usr/include/openssl/pem.h:451:1: note: expected ‘void *’ but argument is of type ‘int’
DECLARE_PEM_rw(X509, X509)
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_cert_store_stats_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4495:5: error: implicit declaration of function ‘X509_STORE_get0_objects’ [-Werror=implicit-function-declaration]
objs = X509_STORE_get0_objects(store);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4495:10: warning: assignment makes pointer from integer without a cast [enabled by default]
objs = X509_STORE_get0_objects(store);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4498:9: error: implicit declaration of function ‘X509_OBJECT_get_type’ [-Werror=implicit-function-declaration]
switch (X509_OBJECT_get_type(obj)) {
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4501:17: error: implicit declaration of function ‘X509_OBJECT_get0_X509’ [-Werror=implicit-function-declaration]
if (X509_check_ca(X509_OBJECT_get0_X509(obj))) {
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4501:17: warning: passing argument 1 of ‘X509_check_ca’ makes pointer from integer without a cast [enabled by default]
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:58:0:
/usr/include/openssl/x509v3.h:697:5: note: expected ‘struct X509 *’ but argument is of type ‘int’
int X509_check_ca(X509 *x);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_get_ca_certs_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4546:10: warning: assignment makes pointer from integer without a cast [enabled by default]
objs = X509_STORE_get0_objects(store);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4557:14: warning: assignment makes pointer from integer without a cast [enabled by default]
cert = X509_OBJECT_get0_X509(obj);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘PySSLSession_get_ticket_lifetime_hint’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4984:5: error: implicit declaration of function ‘SSL_SESSION_get_ticket_lifetime_hint’ [-Werror=implicit-function-declaration]
unsigned long hint = SSL_SESSION_get_ticket_lifetime_hint(self->session);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘PySSLSession_get_has_ticket’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:5006:5: error: implicit declaration of function ‘SSL_SESSION_has_ticket’ [-Werror=implicit-function-declaration]
if (SSL_SESSION_has_ticket(self->session)) {
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘sslmodule_init_versioninfo’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:6059:5: error: implicit declaration of function ‘OpenSSL_version_num’ [-Werror=implicit-function-declaration]
libver = OpenSSL_version_num();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:6069:5: error: implicit declaration of function ‘OpenSSL_version’ [-Werror=implicit-function-declaration]
r = PyUnicode_FromString(OpenSSL_version(OPENSSL_VERSION));
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:6069:46: error: ‘OPENSSL_VERSION’ undeclared (first use in this function)
r = PyUnicode_FromString(OpenSSL_version(OPENSSL_VERSION));
^
cc1: some warnings being treated as errors
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘py_digest_name’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:158:10: error: ‘NID_sha3_224’ undeclared (first use in this function)
case NID_sha3_224:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:158:10: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:161:10: error: ‘NID_sha3_256’ undeclared (first use in this function)
case NID_sha3_256:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:164:10: error: ‘NID_sha3_384’ undeclared (first use in this function)
case NID_sha3_384:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:167:10: error: ‘NID_sha3_512’ undeclared (first use in this function)
case NID_sha3_512:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:172:10: error: ‘NID_shake128’ undeclared (first use in this function)
case NID_shake128:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:175:10: error: ‘NID_shake256’ undeclared (first use in this function)
case NID_shake256:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:180:10: error: ‘NID_blake2s256’ undeclared (first use in this function)
case NID_blake2s256:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:183:10: error: ‘NID_blake2b512’ undeclared (first use in this function)
case NID_blake2b512:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘py_digest_by_name’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:222:13: error: implicit declaration of function ‘EVP_sha3_224’ [-Werror=implicit-function-declaration]
digest = EVP_sha3_224();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:222:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_sha3_224();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:225:13: error: implicit declaration of function ‘EVP_sha3_256’ [-Werror=implicit-function-declaration]
digest = EVP_sha3_256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:225:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_sha3_256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:228:13: error: implicit declaration of function ‘EVP_sha3_384’ [-Werror=implicit-function-declaration]
digest = EVP_sha3_384();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:228:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_sha3_384();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:231:13: error: implicit declaration of function ‘EVP_sha3_512’ [-Werror=implicit-function-declaration]
digest = EVP_sha3_512();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:231:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_sha3_512();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:236:13: error: implicit declaration of function ‘EVP_shake128’ [-Werror=implicit-function-declaration]
digest = EVP_shake128();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:236:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_shake128();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:239:13: error: implicit declaration of function ‘EVP_shake256’ [-Werror=implicit-function-declaration]
digest = EVP_shake256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:239:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_shake256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:244:13: error: implicit declaration of function ‘EVP_blake2s256’ [-Werror=implicit-function-declaration]
digest = EVP_blake2s256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:244:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_blake2s256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:247:13: error: implicit declaration of function ‘EVP_blake2b512’ [-Werror=implicit-function-declaration]
digest = EVP_blake2b512();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:247:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_blake2b512();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘newEVPobject’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:312:5: error: implicit declaration of function ‘EVP_MD_CTX_new’ [-Werror=implicit-function-declaration]
retval->ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:312:17: warning: assignment makes pointer from integer without a cast [enabled by default]
retval->ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVP_dealloc’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:350:5: error: implicit declaration of function ‘EVP_MD_CTX_free’ [-Werror=implicit-function-declaration]
EVP_MD_CTX_free(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVP_digest_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:404:14: warning: assignment makes pointer from integer without a cast [enabled by default]
temp_ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVP_hexdigest_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:438:14: warning: assignment makes pointer from integer without a cast [enabled by default]
temp_ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVPXOF_digest_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:616:14: warning: assignment makes pointer from integer without a cast [enabled by default]
temp_ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:628:5: error: implicit declaration of function ‘EVP_DigestFinalXOF’ [-Werror=implicit-function-declaration]
if (!EVP_DigestFinalXOF(temp_ctx,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVPXOF_hexdigest_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:663:14: warning: assignment makes pointer from integer without a cast [enabled by default]
temp_ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVPnew’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:761:33: error: ‘EVP_MD_FLAG_XOF’ undeclared (first use in this function)
if ((EVP_MD_flags(digest) & EVP_MD_FLAG_XOF) == EVP_MD_FLAG_XOF) {
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_224_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1009:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_sha3_224(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_256_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1028:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_sha3_256(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_384_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1047:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_sha3_384(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_512_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1066:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_sha3_512(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_shake_128_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1087:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_shake128(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_shake_256_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1106:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_shake256(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_scrypt_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1298:5: error: implicit declaration of function ‘EVP_PBE_scrypt’ [-Werror=implicit-function-declaration]
retval = EVP_PBE_scrypt(NULL, 0, NULL, 0, n, r, p, maxmem, NULL, 0);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_new_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1428:5: error: implicit declaration of function ‘HMAC_CTX_new’ [-Werror=implicit-function-declaration]
ctx = HMAC_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1428:9: warning: assignment makes pointer from integer without a cast [enabled by default]
ctx = HMAC_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1461:5: error: implicit declaration of function ‘HMAC_CTX_free’ [-Werror=implicit-function-declaration]
if (ctx) HMAC_CTX_free(ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hmac_digest_size’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1480:5: error: implicit declaration of function ‘HMAC_CTX_get_md’ [-Werror=implicit-function-declaration]
unsigned int digest_size = EVP_MD_size(HMAC_CTX_get_md(self->ctx));
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1480:5: warning: passing argument 1 of ‘EVP_MD_size’ makes pointer from integer without a cast [enabled by default]
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:28:0:
/usr/include/openssl/evp.h:523:5: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
int EVP_MD_size(const EVP_MD *md);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_HMAC_copy_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1529:21: warning: initialization makes pointer from integer without a cast [enabled by default]
HMAC_CTX *ctx = HMAC_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hmac_repr’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1564:5: warning: passing argument 1 of ‘py_digest_name’ makes pointer from integer without a cast [enabled by default]
PyObject *digest_name = py_digest_name(HMAC_CTX_get_md(self->ctx));
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:122:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
py_digest_name(const EVP_MD *md)
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hmac_digest’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1595:26: warning: initialization makes pointer from integer without a cast [enabled by default]
HMAC_CTX *temp_ctx = HMAC_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_get_block_size’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1672:24: warning: initialization makes pointer from integer without a cast [enabled by default]
const EVP_MD *md = HMAC_CTX_get_md(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_get_name’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1682:5: warning: passing argument 1 of ‘py_digest_name’ makes pointer from integer without a cast [enabled by default]
PyObject *digest_name = py_digest_name(HMAC_CTX_get_md(self->ctx));
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:122:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
py_digest_name(const EVP_MD *md)
^
cc1: some warnings being treated as errors
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_sha3/sha3module.c:118:0:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c: In function ‘_PySHA3_KeccakP1600_ExtractAndAddLanes’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:421:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
((UINT32*)(output+lanePosition*8))[0] = ((UINT32*)(input+lanePosition*8))[0] ^ (*(const UINT32*)(laneAsBytes+0));
^
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:390:0:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl/debughelpers.c: In function ‘_PySSLContext_set_keylog_filename’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl/debughelpers.c:180:5: error: implicit declaration of function ‘SSL_CTX_set_keylog_callback’ [-Werror=implicit-function-declaration]
SSL_CTX_set_keylog_callback(self->ctx, NULL);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl_configure_hostname’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:765:13: error: implicit declaration of function ‘ASN1_STRING_get0_data’ [-Werror=implicit-function-declaration]
if (!X509_VERIFY_PARAM_set1_ip(param, ASN1_STRING_get0_data(ip),
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:766:44: warning: passing argument 2 of ‘X509_VERIFY_PARAM_set1_ip’ makes pointer from integer without a cast [enabled by default]
ASN1_STRING_length(ip))) {
^
In file included from /usr/include/openssl/x509.h:581:0,
from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.h:6,
from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:31:
/usr/include/openssl/x509_vfy.h:604:5: note: expected ‘const unsigned char *’ but argument is of type ‘int’
int X509_VERIFY_PARAM_set1_ip(X509_VERIFY_PARAM *param,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘newPySSLSocket’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:831:9: error: implicit declaration of function ‘BIO_up_ref’ [-Werror=implicit-function-declaration]
BIO_up_ref(inbio->bio);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_create_tuple_for_X509_NAME’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1086:13: error: implicit declaration of function ‘X509_NAME_ENTRY_set’ [-Werror=implicit-function-declaration]
if (rdn_level != X509_NAME_ENTRY_set(entry)) {
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_get_peer_alt_names’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1251:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
v = PyUnicode_FromStringAndSize((char *)ASN1_STRING_get0_data(as),
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_decode_certificate’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1611:5: error: implicit declaration of function ‘X509_get0_notBefore’ [-Werror=implicit-function-declaration]
notBefore = X509_get0_notBefore(certificate);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1611:15: warning: assignment makes pointer from integer without a cast [enabled by default]
notBefore = X509_get0_notBefore(certificate);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1628:5: error: implicit declaration of function ‘X509_get0_notAfter’ [-Werror=implicit-function-declaration]
notAfter = X509_get0_notAfter(certificate);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1628:14: warning: assignment makes pointer from integer without a cast [enabled by default]
notAfter = X509_get0_notAfter(certificate);
^
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1724:0:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl/cert.c: In function ‘newCertificate’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl/cert.c:30:9: error: implicit declaration of function ‘X509_up_ref’ [-Werror=implicit-function-declaration]
X509_up_ref(cert);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_get_verified_chain_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1828:29: warning: initialization makes pointer from integer without a cast [enabled by default]
STACK_OF(X509) *chain = SSL_get0_verified_chain(self->ssl);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘cipher_to_dict’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1946:5: error: implicit declaration of function ‘SSL_CIPHER_is_aead’ [-Werror=implicit-function-declaration]
aead = SSL_CIPHER_is_aead(cipher);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1947:5: error: implicit declaration of function ‘SSL_CIPHER_get_cipher_nid’ [-Werror=implicit-function-declaration]
nid = SSL_CIPHER_get_cipher_nid(cipher);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1949:5: error: implicit declaration of function ‘SSL_CIPHER_get_digest_nid’ [-Werror=implicit-function-declaration]
nid = SSL_CIPHER_get_digest_nid(cipher);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1951:5: error: implicit declaration of function ‘SSL_CIPHER_get_kx_nid’ [-Werror=implicit-function-declaration]
nid = SSL_CIPHER_get_kx_nid(cipher);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1953:5: error: implicit declaration of function ‘SSL_CIPHER_get_auth_nid’ [-Werror=implicit-function-declaration]
nid = SSL_CIPHER_get_auth_nid(cipher);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_compression_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:2078:5: error: implicit declaration of function ‘COMP_get_type’ [-Werror=implicit-function-declaration]
if (comp_method == NULL || COMP_get_type(comp_method) == NID_undef)
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_write_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:2335:9: error: implicit declaration of function ‘SSL_write_ex’ [-Werror=implicit-function-declaration]
retval = SSL_write_ex(self->ssl, b->buf, (int)b->len, &count);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_read_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:2487:9: error: implicit declaration of function ‘SSL_read_ex’ [-Werror=implicit-function-declaration]
retval = SSL_read_ex(self->ssl, mem, len, &count);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3013:9: error: implicit declaration of function ‘TLS_method’ [-Werror=implicit-function-declaration]
method = TLS_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3013:16: warning: assignment makes pointer from integer without a cast [enabled by default]
method = TLS_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3016:9: error: implicit declaration of function ‘TLS_client_method’ [-Werror=implicit-function-declaration]
method = TLS_client_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3016:16: warning: assignment makes pointer from integer without a cast [enabled by default]
method = TLS_client_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3019:9: error: implicit declaration of function ‘TLS_server_method’ [-Werror=implicit-function-declaration]
method = TLS_server_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3019:16: warning: assignment makes pointer from integer without a cast [enabled by default]
method = TLS_server_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3122:9: error: implicit declaration of function ‘SSL_CTX_set_min_proto_version’ [-Werror=implicit-function-declaration]
result = SSL_CTX_set_min_proto_version(ctx, PY_SSL_MIN_PROTOCOL);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘set_min_max_proto_version’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3482:9: error: implicit declaration of function ‘SSL_CTX_set_max_proto_version’ [-Werror=implicit-function-declaration]
result = SSL_CTX_set_max_proto_version(self->ctx, v);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘get_minimum_version’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3495:37: error: ‘SSL_CTRL_GET_MIN_PROTO_VERSION’ undeclared (first use in this function)
int v = SSL_CTX_ctrl(self->ctx, SSL_CTRL_GET_MIN_PROTO_VERSION, 0, NULL);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3495:37: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘get_maximum_version’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3511:37: error: ‘SSL_CTRL_GET_MAX_PROTO_VERSION’ undeclared (first use in this function)
int v = SSL_CTX_ctrl(self->ctx, SSL_CTRL_GET_MAX_PROTO_VERSION, 0, NULL);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘get_security_level’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3560:5: error: implicit declaration of function ‘SSL_CTX_get_security_level’ [-Werror=implicit-function-declaration]
return PyLong_FromLong(SSL_CTX_get_security_level(self->ctx));
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_load_cert_chain_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3801:5: error: implicit declaration of function ‘SSL_CTX_get_default_passwd_cb’ [-Werror=implicit-function-declaration]
pem_password_cb *orig_passwd_cb = SSL_CTX_get_default_passwd_cb(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3801:39: warning: initialization makes pointer from integer without a cast [enabled by default]
pem_password_cb *orig_passwd_cb = SSL_CTX_get_default_passwd_cb(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3802:5: error: implicit declaration of function ‘SSL_CTX_get_default_passwd_cb_userdata’ [-Werror=implicit-function-declaration]
void *orig_passwd_userdata = SSL_CTX_get_default_passwd_cb_userdata(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3802:34: warning: initialization makes pointer from integer without a cast [enabled by default]
void *orig_passwd_userdata = SSL_CTX_get_default_passwd_cb_userdata(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_add_ca_certs’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3935:37: warning: passing argument 3 of ‘PEM_read_bio_X509’ makes pointer from integer without a cast [enabled by default]
);
^
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:59:0:
/usr/include/openssl/pem.h:451:1: note: expected ‘int (*)(char *, int, int, void *)’ but argument is of type ‘int’
DECLARE_PEM_rw(X509, X509)
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3935:37: warning: passing argument 4 of ‘PEM_read_bio_X509’ makes pointer from integer without a cast [enabled by default]
);
^
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:59:0:
/usr/include/openssl/pem.h:451:1: note: expected ‘void *’ but argument is of type ‘int’
DECLARE_PEM_rw(X509, X509)
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_cert_store_stats_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4495:5: error: implicit declaration of function ‘X509_STORE_get0_objects’ [-Werror=implicit-function-declaration]
objs = X509_STORE_get0_objects(store);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4495:10: warning: assignment makes pointer from integer without a cast [enabled by default]
objs = X509_STORE_get0_objects(store);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4498:9: error: implicit declaration of function ‘X509_OBJECT_get_type’ [-Werror=implicit-function-declaration]
switch (X509_OBJECT_get_type(obj)) {
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4501:17: error: implicit declaration of function ‘X509_OBJECT_get0_X509’ [-Werror=implicit-function-declaration]
if (X509_check_ca(X509_OBJECT_get0_X509(obj))) {
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4501:17: warning: passing argument 1 of ‘X509_check_ca’ makes pointer from integer without a cast [enabled by default]
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:58:0:
/usr/include/openssl/x509v3.h:697:5: note: expected ‘struct X509 *’ but argument is of type ‘int’
int X509_check_ca(X509 *x);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_get_ca_certs_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4546:10: warning: assignment makes pointer from integer without a cast [enabled by default]
objs = X509_STORE_get0_objects(store);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4557:14: warning: assignment makes pointer from integer without a cast [enabled by default]
cert = X509_OBJECT_get0_X509(obj);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘PySSLSession_get_ticket_lifetime_hint’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4984:5: error: implicit declaration of function ‘SSL_SESSION_get_ticket_lifetime_hint’ [-Werror=implicit-function-declaration]
unsigned long hint = SSL_SESSION_get_ticket_lifetime_hint(self->session);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘PySSLSession_get_has_ticket’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:5006:5: error: implicit declaration of function ‘SSL_SESSION_has_ticket’ [-Werror=implicit-function-declaration]
if (SSL_SESSION_has_ticket(self->session)) {
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘sslmodule_init_versioninfo’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:6059:5: error: implicit declaration of function ‘OpenSSL_version_num’ [-Werror=implicit-function-declaration]
libver = OpenSSL_version_num();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:6069:5: error: implicit declaration of function ‘OpenSSL_version’ [-Werror=implicit-function-declaration]
r = PyUnicode_FromString(OpenSSL_version(OPENSSL_VERSION));
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:6069:46: error: ‘OPENSSL_VERSION’ undeclared (first use in this function)
r = PyUnicode_FromString(OpenSSL_version(OPENSSL_VERSION));
^
cc1: some warnings being treated as errors
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘py_digest_name’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:158:10: error: ‘NID_sha3_224’ undeclared (first use in this function)
case NID_sha3_224:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:158:10: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:161:10: error: ‘NID_sha3_256’ undeclared (first use in this function)
case NID_sha3_256:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:164:10: error: ‘NID_sha3_384’ undeclared (first use in this function)
case NID_sha3_384:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:167:10: error: ‘NID_sha3_512’ undeclared (first use in this function)
case NID_sha3_512:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:172:10: error: ‘NID_shake128’ undeclared (first use in this function)
case NID_shake128:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:175:10: error: ‘NID_shake256’ undeclared (first use in this function)
case NID_shake256:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:180:10: error: ‘NID_blake2s256’ undeclared (first use in this function)
case NID_blake2s256:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:183:10: error: ‘NID_blake2b512’ undeclared (first use in this function)
case NID_blake2b512:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘py_digest_by_name’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:222:13: error: implicit declaration of function ‘EVP_sha3_224’ [-Werror=implicit-function-declaration]
digest = EVP_sha3_224();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:222:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_sha3_224();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:225:13: error: implicit declaration of function ‘EVP_sha3_256’ [-Werror=implicit-function-declaration]
digest = EVP_sha3_256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:225:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_sha3_256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:228:13: error: implicit declaration of function ‘EVP_sha3_384’ [-Werror=implicit-function-declaration]
digest = EVP_sha3_384();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:228:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_sha3_384();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:231:13: error: implicit declaration of function ‘EVP_sha3_512’ [-Werror=implicit-function-declaration]
digest = EVP_sha3_512();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:231:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_sha3_512();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:236:13: error: implicit declaration of function ‘EVP_shake128’ [-Werror=implicit-function-declaration]
digest = EVP_shake128();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:236:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_shake128();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:239:13: error: implicit declaration of function ‘EVP_shake256’ [-Werror=implicit-function-declaration]
digest = EVP_shake256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:239:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_shake256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:244:13: error: implicit declaration of function ‘EVP_blake2s256’ [-Werror=implicit-function-declaration]
digest = EVP_blake2s256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:244:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_blake2s256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:247:13: error: implicit declaration of function ‘EVP_blake2b512’ [-Werror=implicit-function-declaration]
digest = EVP_blake2b512();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:247:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_blake2b512();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘newEVPobject’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:312:5: error: implicit declaration of function ‘EVP_MD_CTX_new’ [-Werror=implicit-function-declaration]
retval->ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:312:17: warning: assignment makes pointer from integer without a cast [enabled by default]
retval->ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVP_dealloc’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:350:5: error: implicit declaration of function ‘EVP_MD_CTX_free’ [-Werror=implicit-function-declaration]
EVP_MD_CTX_free(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVP_digest_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:404:14: warning: assignment makes pointer from integer without a cast [enabled by default]
temp_ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVP_hexdigest_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:438:14: warning: assignment makes pointer from integer without a cast [enabled by default]
temp_ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVPXOF_digest_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:616:14: warning: assignment makes pointer from integer without a cast [enabled by default]
temp_ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:628:5: error: implicit declaration of function ‘EVP_DigestFinalXOF’ [-Werror=implicit-function-declaration]
if (!EVP_DigestFinalXOF(temp_ctx,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVPXOF_hexdigest_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:663:14: warning: assignment makes pointer from integer without a cast [enabled by default]
temp_ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVPnew’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:761:33: error: ‘EVP_MD_FLAG_XOF’ undeclared (first use in this function)
if ((EVP_MD_flags(digest) & EVP_MD_FLAG_XOF) == EVP_MD_FLAG_XOF) {
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_224_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1009:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_sha3_224(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_256_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1028:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_sha3_256(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_384_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1047:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_sha3_384(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_512_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1066:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_sha3_512(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_shake_128_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1087:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_shake128(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_shake_256_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1106:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_shake256(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_scrypt_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1298:5: error: implicit declaration of function ‘EVP_PBE_scrypt’ [-Werror=implicit-function-declaration]
retval = EVP_PBE_scrypt(NULL, 0, NULL, 0, n, r, p, maxmem, NULL, 0);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_new_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1428:5: error: implicit declaration of function ‘HMAC_CTX_new’ [-Werror=implicit-function-declaration]
ctx = HMAC_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1428:9: warning: assignment makes pointer from integer without a cast [enabled by default]
ctx = HMAC_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1461:5: error: implicit declaration of function ‘HMAC_CTX_free’ [-Werror=implicit-function-declaration]
if (ctx) HMAC_CTX_free(ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hmac_digest_size’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1480:5: error: implicit declaration of function ‘HMAC_CTX_get_md’ [-Werror=implicit-function-declaration]
unsigned int digest_size = EVP_MD_size(HMAC_CTX_get_md(self->ctx));
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1480:5: warning: passing argument 1 of ‘EVP_MD_size’ makes pointer from integer without a cast [enabled by default]
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:28:0:
/usr/include/openssl/evp.h:523:5: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
int EVP_MD_size(const EVP_MD *md);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_HMAC_copy_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1529:21: warning: initialization makes pointer from integer without a cast [enabled by default]
HMAC_CTX *ctx = HMAC_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hmac_repr’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1564:5: warning: passing argument 1 of ‘py_digest_name’ makes pointer from integer without a cast [enabled by default]
PyObject *digest_name = py_digest_name(HMAC_CTX_get_md(self->ctx));
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:122:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
py_digest_name(const EVP_MD *md)
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hmac_digest’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1595:26: warning: initialization makes pointer from integer without a cast [enabled by default]
HMAC_CTX *temp_ctx = HMAC_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_get_block_size’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1672:24: warning: initialization makes pointer from integer without a cast [enabled by default]
const EVP_MD *md = HMAC_CTX_get_md(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_get_name’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1682:5: warning: passing argument 1 of ‘py_digest_name’ makes pointer from integer without a cast [enabled by default]
PyObject *digest_name = py_digest_name(HMAC_CTX_get_md(self->ctx));
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:122:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
py_digest_name(const EVP_MD *md)
^
cc1: some warnings being treated as errors
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘py_digest_name’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:158:10: error: ‘NID_sha3_224’ undeclared (first use in this function)
case NID_sha3_224:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:158:10: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:161:10: error: ‘NID_sha3_256’ undeclared (first use in this function)
case NID_sha3_256:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:164:10: error: ‘NID_sha3_384’ undeclared (first use in this function)
case NID_sha3_384:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:167:10: error: ‘NID_sha3_512’ undeclared (first use in this function)
case NID_sha3_512:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:172:10: error: ‘NID_shake128’ undeclared (first use in this function)
case NID_shake128:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:175:10: error: ‘NID_shake256’ undeclared (first use in this function)
case NID_shake256:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:180:10: error: ‘NID_blake2s256’ undeclared (first use in this function)
case NID_blake2s256:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:183:10: error: ‘NID_blake2b512’ undeclared (first use in this function)
case NID_blake2b512:
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘py_digest_by_name’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:222:13: error: implicit declaration of function ‘EVP_sha3_224’ [-Werror=implicit-function-declaration]
digest = EVP_sha3_224();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:222:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_sha3_224();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:225:13: error: implicit declaration of function ‘EVP_sha3_256’ [-Werror=implicit-function-declaration]
digest = EVP_sha3_256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:225:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_sha3_256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:228:13: error: implicit declaration of function ‘EVP_sha3_384’ [-Werror=implicit-function-declaration]
digest = EVP_sha3_384();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:228:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_sha3_384();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:231:13: error: implicit declaration of function ‘EVP_sha3_512’ [-Werror=implicit-function-declaration]
digest = EVP_sha3_512();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:231:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_sha3_512();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:236:13: error: implicit declaration of function ‘EVP_shake128’ [-Werror=implicit-function-declaration]
digest = EVP_shake128();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:236:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_shake128();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:239:13: error: implicit declaration of function ‘EVP_shake256’ [-Werror=implicit-function-declaration]
digest = EVP_shake256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:239:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_shake256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:244:13: error: implicit declaration of function ‘EVP_blake2s256’ [-Werror=implicit-function-declaration]
digest = EVP_blake2s256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:244:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_blake2s256();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:247:13: error: implicit declaration of function ‘EVP_blake2b512’ [-Werror=implicit-function-declaration]
digest = EVP_blake2b512();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:247:20: warning: assignment makes pointer from integer without a cast [enabled by default]
digest = EVP_blake2b512();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘newEVPobject’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:312:5: error: implicit declaration of function ‘EVP_MD_CTX_new’ [-Werror=implicit-function-declaration]
retval->ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:312:17: warning: assignment makes pointer from integer without a cast [enabled by default]
retval->ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVP_dealloc’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:350:5: error: implicit declaration of function ‘EVP_MD_CTX_free’ [-Werror=implicit-function-declaration]
EVP_MD_CTX_free(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVP_digest_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:404:14: warning: assignment makes pointer from integer without a cast [enabled by default]
temp_ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVP_hexdigest_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:438:14: warning: assignment makes pointer from integer without a cast [enabled by default]
temp_ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVPXOF_digest_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:616:14: warning: assignment makes pointer from integer without a cast [enabled by default]
temp_ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:628:5: error: implicit declaration of function ‘EVP_DigestFinalXOF’ [-Werror=implicit-function-declaration]
if (!EVP_DigestFinalXOF(temp_ctx,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVPXOF_hexdigest_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:663:14: warning: assignment makes pointer from integer without a cast [enabled by default]
temp_ctx = EVP_MD_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘EVPnew’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:761:33: error: ‘EVP_MD_FLAG_XOF’ undeclared (first use in this function)
if ((EVP_MD_flags(digest) & EVP_MD_FLAG_XOF) == EVP_MD_FLAG_XOF) {
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_224_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1009:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_sha3_224(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_256_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1028:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_sha3_256(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_384_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1047:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_sha3_384(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_512_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1066:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_sha3_512(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_shake_128_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1087:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_shake128(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_shake_256_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1106:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default]
return EVP_fast_new(module, data_obj, EVP_shake256(), usedforsecurity);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_scrypt_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1298:5: error: implicit declaration of function ‘EVP_PBE_scrypt’ [-Werror=implicit-function-declaration]
retval = EVP_PBE_scrypt(NULL, 0, NULL, 0, n, r, p, maxmem, NULL, 0);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_new_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1428:5: error: implicit declaration of function ‘HMAC_CTX_new’ [-Werror=implicit-function-declaration]
ctx = HMAC_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1428:9: warning: assignment makes pointer from integer without a cast [enabled by default]
ctx = HMAC_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1461:5: error: implicit declaration of function ‘HMAC_CTX_free’ [-Werror=implicit-function-declaration]
if (ctx) HMAC_CTX_free(ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hmac_digest_size’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1480:5: error: implicit declaration of function ‘HMAC_CTX_get_md’ [-Werror=implicit-function-declaration]
unsigned int digest_size = EVP_MD_size(HMAC_CTX_get_md(self->ctx));
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1480:5: warning: passing argument 1 of ‘EVP_MD_size’ makes pointer from integer without a cast [enabled by default]
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:28:0:
/usr/include/openssl/evp.h:523:5: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
int EVP_MD_size(const EVP_MD *md);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_HMAC_copy_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1529:21: warning: initialization makes pointer from integer without a cast [enabled by default]
HMAC_CTX *ctx = HMAC_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hmac_repr’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1564:5: warning: passing argument 1 of ‘py_digest_name’ makes pointer from integer without a cast [enabled by default]
PyObject *digest_name = py_digest_name(HMAC_CTX_get_md(self->ctx));
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:122:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
py_digest_name(const EVP_MD *md)
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hmac_digest’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1595:26: warning: initialization makes pointer from integer without a cast [enabled by default]
HMAC_CTX *temp_ctx = HMAC_CTX_new();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_get_block_size’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1672:24: warning: initialization makes pointer from integer without a cast [enabled by default]
const EVP_MD *md = HMAC_CTX_get_md(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_get_name’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:1682:5: warning: passing argument 1 of ‘py_digest_name’ makes pointer from integer without a cast [enabled by default]
PyObject *digest_name = py_digest_name(HMAC_CTX_get_md(self->ctx));
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_hashopenssl.c:122:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’
py_digest_name(const EVP_MD *md)
^
cc1: some warnings being treated as errors
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:390:0:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl/debughelpers.c: In function ‘_PySSLContext_set_keylog_filename’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl/debughelpers.c:180:5: error: implicit declaration of function ‘SSL_CTX_set_keylog_callback’ [-Werror=implicit-function-declaration]
SSL_CTX_set_keylog_callback(self->ctx, NULL);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl_configure_hostname’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:765:13: error: implicit declaration of function ‘ASN1_STRING_get0_data’ [-Werror=implicit-function-declaration]
if (!X509_VERIFY_PARAM_set1_ip(param, ASN1_STRING_get0_data(ip),
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:766:44: warning: passing argument 2 of ‘X509_VERIFY_PARAM_set1_ip’ makes pointer from integer without a cast [enabled by default]
ASN1_STRING_length(ip))) {
^
In file included from /usr/include/openssl/x509.h:581:0,
from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.h:6,
from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:31:
/usr/include/openssl/x509_vfy.h:604:5: note: expected ‘const unsigned char *’ but argument is of type ‘int’
int X509_VERIFY_PARAM_set1_ip(X509_VERIFY_PARAM *param,
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘newPySSLSocket’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:831:9: error: implicit declaration of function ‘BIO_up_ref’ [-Werror=implicit-function-declaration]
BIO_up_ref(inbio->bio);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_create_tuple_for_X509_NAME’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1086:13: error: implicit declaration of function ‘X509_NAME_ENTRY_set’ [-Werror=implicit-function-declaration]
if (rdn_level != X509_NAME_ENTRY_set(entry)) {
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_get_peer_alt_names’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1251:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
v = PyUnicode_FromStringAndSize((char *)ASN1_STRING_get0_data(as),
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_decode_certificate’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1611:5: error: implicit declaration of function ‘X509_get0_notBefore’ [-Werror=implicit-function-declaration]
notBefore = X509_get0_notBefore(certificate);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1611:15: warning: assignment makes pointer from integer without a cast [enabled by default]
notBefore = X509_get0_notBefore(certificate);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1628:5: error: implicit declaration of function ‘X509_get0_notAfter’ [-Werror=implicit-function-declaration]
notAfter = X509_get0_notAfter(certificate);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1628:14: warning: assignment makes pointer from integer without a cast [enabled by default]
notAfter = X509_get0_notAfter(certificate);
^
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1724:0:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl/cert.c: In function ‘newCertificate’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl/cert.c:30:9: error: implicit declaration of function ‘X509_up_ref’ [-Werror=implicit-function-declaration]
X509_up_ref(cert);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_get_verified_chain_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1828:29: warning: initialization makes pointer from integer without a cast [enabled by default]
STACK_OF(X509) *chain = SSL_get0_verified_chain(self->ssl);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘cipher_to_dict’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1946:5: error: implicit declaration of function ‘SSL_CIPHER_is_aead’ [-Werror=implicit-function-declaration]
aead = SSL_CIPHER_is_aead(cipher);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1947:5: error: implicit declaration of function ‘SSL_CIPHER_get_cipher_nid’ [-Werror=implicit-function-declaration]
nid = SSL_CIPHER_get_cipher_nid(cipher);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1949:5: error: implicit declaration of function ‘SSL_CIPHER_get_digest_nid’ [-Werror=implicit-function-declaration]
nid = SSL_CIPHER_get_digest_nid(cipher);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1951:5: error: implicit declaration of function ‘SSL_CIPHER_get_kx_nid’ [-Werror=implicit-function-declaration]
nid = SSL_CIPHER_get_kx_nid(cipher);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:1953:5: error: implicit declaration of function ‘SSL_CIPHER_get_auth_nid’ [-Werror=implicit-function-declaration]
nid = SSL_CIPHER_get_auth_nid(cipher);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_compression_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:2078:5: error: implicit declaration of function ‘COMP_get_type’ [-Werror=implicit-function-declaration]
if (comp_method == NULL || COMP_get_type(comp_method) == NID_undef)
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_write_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:2335:9: error: implicit declaration of function ‘SSL_write_ex’ [-Werror=implicit-function-declaration]
retval = SSL_write_ex(self->ssl, b->buf, (int)b->len, &count);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_read_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:2487:9: error: implicit declaration of function ‘SSL_read_ex’ [-Werror=implicit-function-declaration]
retval = SSL_read_ex(self->ssl, mem, len, &count);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3013:9: error: implicit declaration of function ‘TLS_method’ [-Werror=implicit-function-declaration]
method = TLS_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3013:16: warning: assignment makes pointer from integer without a cast [enabled by default]
method = TLS_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3016:9: error: implicit declaration of function ‘TLS_client_method’ [-Werror=implicit-function-declaration]
method = TLS_client_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3016:16: warning: assignment makes pointer from integer without a cast [enabled by default]
method = TLS_client_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3019:9: error: implicit declaration of function ‘TLS_server_method’ [-Werror=implicit-function-declaration]
method = TLS_server_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3019:16: warning: assignment makes pointer from integer without a cast [enabled by default]
method = TLS_server_method();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3122:9: error: implicit declaration of function ‘SSL_CTX_set_min_proto_version’ [-Werror=implicit-function-declaration]
result = SSL_CTX_set_min_proto_version(ctx, PY_SSL_MIN_PROTOCOL);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘set_min_max_proto_version’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3482:9: error: implicit declaration of function ‘SSL_CTX_set_max_proto_version’ [-Werror=implicit-function-declaration]
result = SSL_CTX_set_max_proto_version(self->ctx, v);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘get_minimum_version’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3495:37: error: ‘SSL_CTRL_GET_MIN_PROTO_VERSION’ undeclared (first use in this function)
int v = SSL_CTX_ctrl(self->ctx, SSL_CTRL_GET_MIN_PROTO_VERSION, 0, NULL);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3495:37: note: each undeclared identifier is reported only once for each function it appears in
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘get_maximum_version’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3511:37: error: ‘SSL_CTRL_GET_MAX_PROTO_VERSION’ undeclared (first use in this function)
int v = SSL_CTX_ctrl(self->ctx, SSL_CTRL_GET_MAX_PROTO_VERSION, 0, NULL);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘get_security_level’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3560:5: error: implicit declaration of function ‘SSL_CTX_get_security_level’ [-Werror=implicit-function-declaration]
return PyLong_FromLong(SSL_CTX_get_security_level(self->ctx));
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_load_cert_chain_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3801:5: error: implicit declaration of function ‘SSL_CTX_get_default_passwd_cb’ [-Werror=implicit-function-declaration]
pem_password_cb *orig_passwd_cb = SSL_CTX_get_default_passwd_cb(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3801:39: warning: initialization makes pointer from integer without a cast [enabled by default]
pem_password_cb *orig_passwd_cb = SSL_CTX_get_default_passwd_cb(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3802:5: error: implicit declaration of function ‘SSL_CTX_get_default_passwd_cb_userdata’ [-Werror=implicit-function-declaration]
void *orig_passwd_userdata = SSL_CTX_get_default_passwd_cb_userdata(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3802:34: warning: initialization makes pointer from integer without a cast [enabled by default]
void *orig_passwd_userdata = SSL_CTX_get_default_passwd_cb_userdata(self->ctx);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_add_ca_certs’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3935:37: warning: passing argument 3 of ‘PEM_read_bio_X509’ makes pointer from integer without a cast [enabled by default]
);
^
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:59:0:
/usr/include/openssl/pem.h:451:1: note: expected ‘int (*)(char *, int, int, void *)’ but argument is of type ‘int’
DECLARE_PEM_rw(X509, X509)
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:3935:37: warning: passing argument 4 of ‘PEM_read_bio_X509’ makes pointer from integer without a cast [enabled by default]
);
^
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:59:0:
/usr/include/openssl/pem.h:451:1: note: expected ‘void *’ but argument is of type ‘int’
DECLARE_PEM_rw(X509, X509)
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_cert_store_stats_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4495:5: error: implicit declaration of function ‘X509_STORE_get0_objects’ [-Werror=implicit-function-declaration]
objs = X509_STORE_get0_objects(store);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4495:10: warning: assignment makes pointer from integer without a cast [enabled by default]
objs = X509_STORE_get0_objects(store);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4498:9: error: implicit declaration of function ‘X509_OBJECT_get_type’ [-Werror=implicit-function-declaration]
switch (X509_OBJECT_get_type(obj)) {
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4501:17: error: implicit declaration of function ‘X509_OBJECT_get0_X509’ [-Werror=implicit-function-declaration]
if (X509_check_ca(X509_OBJECT_get0_X509(obj))) {
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4501:17: warning: passing argument 1 of ‘X509_check_ca’ makes pointer from integer without a cast [enabled by default]
In file included from /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:58:0:
/usr/include/openssl/x509v3.h:697:5: note: expected ‘struct X509 *’ but argument is of type ‘int’
int X509_check_ca(X509 *x);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_get_ca_certs_impl’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4546:10: warning: assignment makes pointer from integer without a cast [enabled by default]
objs = X509_STORE_get0_objects(store);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4557:14: warning: assignment makes pointer from integer without a cast [enabled by default]
cert = X509_OBJECT_get0_X509(obj);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘PySSLSession_get_ticket_lifetime_hint’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:4984:5: error: implicit declaration of function ‘SSL_SESSION_get_ticket_lifetime_hint’ [-Werror=implicit-function-declaration]
unsigned long hint = SSL_SESSION_get_ticket_lifetime_hint(self->session);
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘PySSLSession_get_has_ticket’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:5006:5: error: implicit declaration of function ‘SSL_SESSION_has_ticket’ [-Werror=implicit-function-declaration]
if (SSL_SESSION_has_ticket(self->session)) {
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c: In function ‘sslmodule_init_versioninfo’:
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:6059:5: error: implicit declaration of function ‘OpenSSL_version_num’ [-Werror=implicit-function-declaration]
libver = OpenSSL_version_num();
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:6069:5: error: implicit declaration of function ‘OpenSSL_version’ [-Werror=implicit-function-declaration]
r = PyUnicode_FromString(OpenSSL_version(OPENSSL_VERSION));
^
/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Modules/_ssl.c:6069:46: error: ‘OPENSSL_VERSION’ undeclared (first use in this function)
r = PyUnicode_FromString(OpenSSL_version(OPENSSL_VERSION));
^
cc1: some warnings being treated as errors
test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
test_winreg skipped -- No module named 'winreg'
test_tk skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]
test_tix skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]
test_winsound skipped -- No module named 'winsound'
test_kqueue skipped -- test works only on BSD
test_smtpnet skipped -- No module named '_ssl'
test_badargs (__main__.GeneralTest) ... ok
test_bound_methods (__main__.GeneralTest) ... ok
test_clear (__main__.GeneralTest) ... ok
test_exit (__main__.GeneralTest) ... ok
test_order (__main__.GeneralTest) ... ok
test_raise (__main__.GeneralTest) ... ok
test_raise_unnormalized (__main__.GeneralTest) ... ok
test_stress (__main__.GeneralTest) ... ok
test_unregister (__main__.GeneralTest) ... ok
----------------------------------------------------------------------
Ran 9 tests in 0.002s
OK
test_winconsoleio skipped -- test only relevant on win32
test_ssl skipped -- No module named '_ssl'
test_flock (__main__.FNTLEINTRTest) ... ok
test_lockf (__main__.FNTLEINTRTest) ... ok
test_read (__main__.OSEINTRTest) ... ok
test_wait (__main__.OSEINTRTest) ... ok
test_wait3 (__main__.OSEINTRTest) ... ok
test_wait4 (__main__.OSEINTRTest) ... ok
test_waitpid (__main__.OSEINTRTest) ... ok
test_write (__main__.OSEINTRTest) ... ok
test_devpoll (__main__.SelectEINTRTest) ... skipped 'need select.devpoll'
test_epoll (__main__.SelectEINTRTest) ... ok
test_kqueue (__main__.SelectEINTRTest) ... skipped 'need select.kqueue'
test_poll (__main__.SelectEINTRTest) ... ok
test_select (__main__.SelectEINTRTest) ... ok
test_sigtimedwait (__main__.SignalEINTRTest) ... ok
test_sigwaitinfo (__main__.SignalEINTRTest) ... ok
test_accept (__main__.SocketEINTRTest) ... ok
test_open (__main__.SocketEINTRTest) ... ok
test_os_open (__main__.SocketEINTRTest) ... ok
test_recv (__main__.SocketEINTRTest) ... ok
test_recvmsg (__main__.SocketEINTRTest) ... ok
test_send (__main__.SocketEINTRTest) ... ok
test_sendall (__main__.SocketEINTRTest) ... ok
test_sendmsg (__main__.SocketEINTRTest) ... ok
test_sleep (__main__.TimeEINTRTest) ... ok
----------------------------------------------------------------------
Ran 24 tests in 6.533s
OK (skipped=2)
test_startfile skipped -- object <module 'os' from '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/os.py'> has no attribute 'startfile'
test_ttk_guionly skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]
test_ioctl skipped -- Unable to open /dev/tty
test_msilib skipped -- No module named '_msi'
test_ossaudiodev skipped -- [Errno 2] No such file or directory: '/dev/dsp'
test_devpoll skipped -- test works only on Solaris OS family
test_gdb skipped -- test_gdb is not reliable on PGO builds
Timeout (0:15:00)!
Thread 0x000003ffb3077700 (most recent call first):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/selectors.py", line 469 in select
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/asyncio/base_events.py", line 1845 in _run_once
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/asyncio/base_events.py", line 595 in run_forever
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/asyncio/base_events.py", line 628 in run_until_complete
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/test_asyncio/test_subprocess.py", line 442 in test_cancel_make_subprocess_transport_exec
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/case.py", line 549 in _callTestMethod
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/case.py", line 592 in run
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/case.py", line 652 in __call__
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/suite.py", line 122 in run
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/suite.py", line 84 in __call__
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/suite.py", line 122 in run
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/suite.py", line 84 in __call__
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/suite.py", line 122 in run
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/suite.py", line 84 in __call__
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/suite.py", line 122 in run
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/suite.py", line 84 in __call__
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/suite.py", line 122 in run
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/suite.py", line 84 in __call__
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/runner.py", line 176 in run
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/support/__init__.py", line 960 in _run_suite
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/support/__init__.py", line 1083 in run_unittest
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 210 in _test_module
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 246 in _runtest_inner2
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 282 in _runtest_inner
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 141 in _runtest
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 194 in runtest
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/runtest_mp.py", line 81 in run_tests_worker
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/main.py", line 661 in _main
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/main.py", line 641 in main
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/main.py", line 719 in main
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/regrtest.py", line 43 in _main
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/regrtest.py", line 47 in <module>
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/runpy.py", line 86 in _run_code
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/runpy.py", line 196 in _run_module_as_main
Timeout (0:15:00)!
Thread 0x000003ffa6177700 (most recent call first):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/selectors.py", line 469 in select
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/asyncio/base_events.py", line 1845 in _run_once
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/asyncio/base_events.py", line 595 in run_forever
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/asyncio/base_events.py", line 628 in run_until_complete
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/test_asyncio/test_subprocess.py", line 442 in test_cancel_make_subprocess_transport_exec
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/case.py", line 549 in _callTestMethod
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/case.py", line 592 in run
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/case.py", line 652 in __call__
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/suite.py", line 122 in run
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/suite.py", line 84 in __call__
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/suite.py", line 122 in run
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/suite.py", line 84 in __call__
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/suite.py", line 122 in run
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/suite.py", line 84 in __call__
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/suite.py", line 122 in run
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/suite.py", line 84 in __call__
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/suite.py", line 122 in run
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/suite.py", line 84 in __call__
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/unittest/runner.py", line 176 in run
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/support/__init__.py", line 960 in _run_suite
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/support/__init__.py", line 1083 in run_unittest
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 210 in _test_module
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 246 in _runtest_inner2
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 282 in _runtest_inner
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 154 in _runtest
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 194 in runtest
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/main.py", line 321 in rerun_failed_tests
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/main.py", line 698 in _main
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/main.py", line 641 in main
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/libregrtest/main.py", line 719 in main
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/__main__.py", line 2 in <module>
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/runpy.py", line 86 in _run_code
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/runpy.py", line 196 in _run_module_as_main
make: *** [buildbottest] Error 1
Cannot open file '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/test-results.xml' for upload |
Sorry, something went wrong.
I consider that my PR #26463 is generic check for such bug. |
Sorry, something went wrong.
|
The _ssl.SSLError fix was merged with no test: see #26439 |
Sorry, something went wrong.
is defined with Py_TPFLAGS_HAVE_GC.
Py_TPFLAGS_HAVE_GC since it has no traverse function.
https://bugs.python.org/issue44263