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.

classification
Title: build error in cygwin64 ,because pthread_key_t
Type: compile error Stage: resolved
Components: Cross-Build Versions: Python 3.5
process
Status: closed Resolution: duplicate
Dependencies: Superseder: PyThread assumes pthread_key_t is an integer, which is against POSIX
View: 25658
Assigned To: Nosy List: Alex.Willmer, muzhong, serhiy.storchaka
Priority: normal Keywords:

Created on 2016-11-10 09:33 by muzhong, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg280499 - (view) Author: muzhong (muzhong) Date: 2016-11-10 09:33
ENV: 
    CYGWIN_NT-6.1 2.6.0(0.304/5/3) 2016-08-31 14:32 x86_64 Cygwin
    gcc (GCC) 5.4.0
    g++ (GCC) 5.4.0
Error Msg:
    Fatal Python error: Could not allocate TLS entry
Cause:
    /usr/include/machine/types.h:typedef struct __pthread_key_t {char __dummy;} *pthread_key_t;
    but convert pthread_key_t to int or compare with int in thread_pthread.h/thread.c/pythread.h/pystate.c/pylifecycle.c
msg280503 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2016-11-10 11:51
See also issue25658.
History
Date User Action Args
2022-04-11 14:58:39adminsetgithub: 72842
2016-11-10 17:05:25serhiy.storchakasetstatus: open -> closed
superseder: PyThread assumes pthread_key_t is an integer, which is against POSIX
resolution: duplicate
stage: resolved
2016-11-10 11:51:25serhiy.storchakasetnosy: + serhiy.storchaka
messages: + msg280503
2016-11-10 09:33:06muzhongcreate