[issue15000] posixsubprocess module broken on x32

2012-06-04 Thread Mike Frysinger
Mike Frysinger added the comment: $ echo | gcc -m32 -E -P -dD - | grep LP $ echo | gcc -m64 -E -P -dD - | grep LP #define _LP64 1 #define __LP64__ 1 $ echo | gcc -mx32 -E -P -dD - | grep LP #define _ILP32 1 #define __ILP32__ 1 -- ___ Python tracker

[issue15000] posixsubprocess module broken on x32

2012-06-04 Thread Gregory P. Smith
Gregory P. Smith added the comment: for reference - https://sites.google.com/site/x32abi/ -- ___ Python tracker ___ ___ Python-bugs-l

[issue15000] posixsubprocess module broken on x32

2012-06-04 Thread Gregory P. Smith
Gregory P. Smith added the comment: Answering my own question I believe x32 is the new ABI being worked on as described in http://lwn.net/Articles/456731/. In that light, your patch makes sense assuming the __ILP32__ define is something gcc's cpp will always be defining when targeting x32. I

[issue15000] posixsubprocess module broken on x32

2012-06-04 Thread Gregory P. Smith
Gregory P. Smith added the comment: What is x32? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue15000] posixsubprocess module broken on x32

2012-06-04 Thread R. David Murray
Changes by R. David Murray : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue15000] posixsubprocess module broken on x32

2012-06-04 Thread Mike Frysinger
New submission from Mike Frysinger : the direct call to the getdents syscall is broken on x32. there, the first two args are not unsigned long, but unsigned long long. patch attached to fix the issue. -- components: Extension Modules files: python-3.2.3-x32.patch keywords: patch mess