This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author shihai1991
Recipients Dima.Tisnek, alex, benjamin.peterson, christian.heimes, dstufft, eamanu, janssen, miss-islington, shihai1991
Date 2020-04-12.08:43:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586680990.8.0.887079027576.issue39953@roundup.psfhosted.org>
In-reply-to
Content
Got some compiling error of _ssl extension module in my vm after PR19082 merged:
building '_ssl' extension
gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -fPIC -I./Include -I. -I/usr/local/include -I/temp/shihai/cpython/Include -I/temp/shihai/cpython -c /temp/shihai/cpython/Modules/_ssl.c -o build/temp.linux-x86_64-3.9-pydebug/temp/shihai/cpython/Modules/_ssl.o
In file included from /temp/shihai/cpython/Modules/_ssl.c:136:
/temp/shihai/cpython/Modules/_ssl_data.h:6:15: error: ‘ERR_LIB_ASYNC’ undeclared here (not in a function); did you mean ‘ERR_LIB_ASN1’?
    6 |     {"ASYNC", ERR_LIB_ASYNC},
      |               ^~~~~~~~~~~~~
      |               ERR_LIB_ASN1
/temp/shihai/cpython/Modules/_ssl_data.h:13:12: error: ‘ERR_LIB_CT’ undeclared here (not in a function); did you mean ‘ERR_LIB_CMS’?
   13 |     {"CT", ERR_LIB_CT},
      |            ^~~~~~~~~~
      |            ERR_LIB_CMS
/temp/shihai/cpython/Modules/_ssl_data.h:19:13: error: ‘ERR_LIB_KDF’ undeclared here (not in a function); did you mean ‘ERR_LIB_BUF’?
   19 |     {"KDF", ERR_LIB_KDF},
      |             ^~~~~~~~~~~
      |             ERR_LIB_BUF
In file included from /temp/shihai/cpython/Modules/_ssl.c:136:
/temp/shihai/cpython/Modules/_ssl_data.h:598:28: warning: initialization of ‘int’ from ‘struct py_ssl_library_code *’ makes integer from pointer without a cast [-Wint-conversion]
  598 |     {"FAILED_TO_SET_POOL", ERR_LIB_ASYNC, 101},
      |                            ^~~~~~~~~~~~~
/temp/shihai/cpython/Modules/_ssl_data.h:598:28: note: (near initialization for ‘error_codes[112].library’)
/temp/shihai/cpython/Modules/_ssl_data.h:598:28: error: initializer element is not constant
/temp/shihai/cpython/Modules/_ssl_data.h:598:28: note: (near initialization for ‘error_codes[112].library’)
/temp/shihai/cpython/Modules/_ssl_data.h:603:32: warning: initialization of ‘int’ from ‘struct py_ssl_library_code *’ makes integer from pointer without a cast [-Wint-conversion]
  603 |     {"FAILED_TO_SWAP_CONTEXT", ERR_LIB_ASYNC, 102},
History
Date User Action Args
2020-04-12 08:43:10shihai1991setrecipients: + shihai1991, janssen, christian.heimes, benjamin.peterson, alex, Dima.Tisnek, dstufft, eamanu, miss-islington
2020-04-12 08:43:10shihai1991setmessageid: <1586680990.8.0.887079027576.issue39953@roundup.psfhosted.org>
2020-04-12 08:43:10shihai1991linkissue39953 messages
2020-04-12 08:43:10shihai1991create