[issue17423] libffi on 32bit is broken on linux

2013-03-18 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- superseder: -> ctypes libffi needs to align the x86 stack to 16 bytes ___ Python tracker ___ ___ Pyt

[issue17423] libffi on 32bit is broken on linux

2013-03-18 Thread Gregory P. Smith
Gregory P. Smith added the comment: I'm taking care of this with a libffi update per #17192 and #19245. Thanks for the upstream fix into libffi 3.0.13 alex. :) -- nosy: +gregory.p.smith resolution: -> duplicate status: open -> closed ___ Python tra

[issue17423] libffi on 32bit is broken on linux

2013-03-16 Thread Alex Gaynor
Alex Gaynor added the comment: The patch has been merged into libffi upstream: https://github.com/atgreen/libffi/pull/32 -- ___ Python tracker ___ __

[issue17423] libffi on 32bit is broken on linux

2013-03-16 Thread Maciej Fijalkowski
Maciej Fijalkowski added the comment: 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. -- ___ Python tracker

[issue17423] libffi on 32bit is broken on linux

2013-03-16 Thread Maciej Fijalkowski
Maciej Fijalkowski added the comment: The issue is reported upstrem and is/will be fixed -- ___ Python tracker ___ ___ Python-bugs-lis

[issue17423] libffi on 32bit is broken on linux

2013-03-16 Thread STINNER Victor
STINNER Victor added the comment: 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: http://sourceware.org/libffi/ (Or is the issue already fixed upstream?) -- nosy: +haypo ___

[issue17423] libffi on 32bit is broken on linux

2013-03-15 Thread Simon Cross
Changes by Simon Cross : -- nosy: +hodgestar ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue17423] libffi on 32bit is broken on linux

2013-03-14 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue17423] libffi on 32bit is broken on linux

2013-03-14 Thread Stefan Krah
Stefan Krah added the comment: Is this the same as #17245? -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue17423] libffi on 32bit is broken on linux

2013-03-14 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue17423] libffi on 32bit is broken on linux

2013-03-14 Thread Maciej Fijalkowski
Changes by Maciej Fijalkowski : -- keywords: +patch Added file: http://bugs.python.org/file29412/ffi.diff ___ Python tracker ___ ___ P

[issue17423] libffi on 32bit is broken on linux

2013-03-14 Thread Maciej Fijalkowski
Changes by Maciej Fijalkowski : Added file: http://bugs.python.org/file29411/x.c ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue17423] libffi on 32bit is broken on linux

2013-03-14 Thread Maciej Fijalkowski
Changes by Maciej Fijalkowski : Removed file: http://bugs.python.org/file29409/x.c ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue17423] libffi on 32bit is broken on linux

2013-03-14 Thread Maciej Fijalkowski
Changes by Maciej Fijalkowski : Added file: http://bugs.python.org/file29410/x.py ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue17423] libffi on 32bit is broken on linux

2013-03-14 Thread Maciej Fijalkowski
New submission from Maciej Fijalkowski: 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 as