-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
TestF77Callback::test_all[t] fails: fatal error: threads.h: No such file or directory #18179
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
Comments
Is this supposed to be fixed in 1.23.3 ? I still get an error on OpenBSD
but still
full log:
|
I think pearu@e9eecc4 has not made it into 1.20.3. |
Basically, one cannot rely on |
or, most probably, the fix committed here is too Linux/GNU centric to do the job, which is basically to make sure not to
|
to track this, I opened #19437 |
Uh oh!
There was an error while loading. Please reload this page.
Reproducing code example:
Error message:
NumPy/Python version information:
Additional information
C11 threads.h appears to be supported starting from glibc 2.28, see here.
Undefining CPP macro F2PY_THREAD_LOCAL_DECL makes the test pass.
A solution is not to define F2PY_THREAD_LOCAL_DECL for glibc version < 2.28 in numpy/f2py/cfuncs.py .
The text was updated successfully, but these errors were encountered: