This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: When does pthread_create() return EINVAL?
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Manuel Lauss <manuel dot lauss at gmail dot com>
- Cc: libc-help at sourceware dot org
- Date: Sun, 19 May 2019 15:35:46 +0200
- Subject: Re: When does pthread_create() return EINVAL?
- References: <CAOLZvyHW9JRcSXQTCC9gNdTxNVJ69mE2mhLg5wyC9SiukX=R-Q@mail.gmail.com>
* Manuel Lauss:
> When does pthread_create() return EINVAL?
> I use qemu-user for mipsel, and after updating a python package in the mipsel
> userland, pthread_create() in qemu-user started returning EINVAL. I
> looked through the source of pthread_create, but could not find an
> explicit EINVAL anywhere.
Do you know which system call fails? It's probably something coming
from the Linux emulation, and not one of the glibc's stack-related
checks (which can produce EINVAL as well).