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
libffi on 32bit is broken on linux #61625
Comments
The bug is a little tricky to reproduce. You need a 32bit linux. First compile x.c with: gcc -O3 -g -shared -o x.so x.c -std=c99 -msse3 -ftree-vectorize -mfpmath=sse and run x.py. It segfaults because the alignment of stack is not preserved (and it's assumed on a modern linux). Patch attached. |
Is this the same as bpo-17245? |
libffi is not part of Python project, but Python has a copy for system which don't provide system libffi. You should report the issue upstream: (Or is the issue already fixed upstream?) |
The issue is reported upstrem and is/will be fixed |
It's not "a copy for systems that don't provide libffi", since CPython makes zero effort to try to use system libffi if present. |
The patch has been merged into libffi upstream: https://github.com/atgreen/libffi/pull/32 |
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:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: