Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error in cygwin64 ,because pthread_key_t #72842

Closed
muzhong mannequin opened this issue Nov 10, 2016 · 2 comments
Closed

build error in cygwin64 ,because pthread_key_t #72842

muzhong mannequin opened this issue Nov 10, 2016 · 2 comments
Labels
build The build process and cross-build

Comments

@muzhong
Copy link
Mannequin

muzhong mannequin commented Nov 10, 2016

BPO 28656
Nosy @serhiy-storchaka, @moreati, @muzhong
Superseder
  • bpo-25658: PyThread assumes pthread_key_t is an integer, which is against POSIX
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2016-11-10.17:05:25.957>
    created_at = <Date 2016-11-10.09:33:06.597>
    labels = ['build']
    title = 'build error in cygwin64 ,because pthread_key_t'
    updated_at = <Date 2016-11-10.17:05:25.956>
    user = 'https://github.com/muzhong'

    bugs.python.org fields:

    activity = <Date 2016-11-10.17:05:25.956>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-11-10.17:05:25.957>
    closer = 'serhiy.storchaka'
    components = ['Cross-Build']
    creation = <Date 2016-11-10.09:33:06.597>
    creator = 'muzhong'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 28656
    keywords = []
    message_count = 2.0
    messages = ['280499', '280503']
    nosy_count = 3.0
    nosy_names = ['serhiy.storchaka', 'Alex.Willmer', 'muzhong']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '25658'
    type = 'compile error'
    url = 'https://bugs.python.org/issue28656'
    versions = ['Python 3.5']

    @muzhong
    Copy link
    Mannequin Author

    muzhong mannequin commented Nov 10, 2016

    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

    @muzhong muzhong mannequin added build The build process and cross-build labels Nov 10, 2016
    @serhiy-storchaka
    Copy link
    Member

    See also bpo-25658.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    build The build process and cross-build
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant