This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年06月04日 18:07 by vapier, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| python-3.2.3-x32.patch | vapier, 2012年06月04日 18:07 | |||
| Messages (8) | |||
|---|---|---|---|
| msg162281 - (view) | Author: Mike Frysinger (vapier) | Date: 2012年06月04日 18:07 | |
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. |
|||
| msg162310 - (view) | Author: Gregory P. Smith (gregory.p.smith) * (Python committer) | Date: 2012年06月04日 23:42 | |
What is x32? |
|||
| msg162312 - (view) | Author: Gregory P. Smith (gregory.p.smith) * (Python committer) | Date: 2012年06月04日 23:54 | |
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 will apply it. |
|||
| msg162313 - (view) | Author: Gregory P. Smith (gregory.p.smith) * (Python committer) | Date: 2012年06月04日 23:58 | |
for reference - https://sites.google.com/site/x32abi/ |
|||
| msg162317 - (view) | Author: Mike Frysinger (vapier) | Date: 2012年06月05日 01:35 | |
$ echo | gcc -m32 -E -P -dD - | grep LP <nothing> $ 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 |
|||
| msg162366 - (view) | Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) | Date: 2012年06月05日 19:22 | |
Would a uint64_t be recommended in this case? |
|||
| msg162369 - (view) | Author: Mike Frysinger (vapier) | Date: 2012年06月05日 19:38 | |
a uint64_t would fix it for x86_64, but break it most 32bit systems as sizeof(unsigned long) == 32bit for them |
|||
| msg162372 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年06月05日 20:30 | |
New changeset aa9cfeea07ad by Gregory P. Smith in branch '3.2': Fixes issue #15000: support the odd x32 abi on posixsubprocess's system call. http://hg.python.org/cpython/rev/aa9cfeea07ad New changeset 5a4d5e714d08 by Gregory P. Smith in branch 'default': Fixes issue #15000: support the odd x32 abi on posixsubprocess's system call. http://hg.python.org/cpython/rev/5a4d5e714d08 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:31 | admin | set | github: 59205 |
| 2012年06月05日 20:37:32 | Arfrever | set | stage: patch review -> resolved |
| 2012年06月05日 20:32:09 | gregory.p.smith | set | status: open -> closed resolution: fixed |
| 2012年06月05日 20:30:56 | python-dev | set | nosy:
+ python-dev messages: + msg162372 |
| 2012年06月05日 19:38:08 | vapier | set | messages: + msg162369 |
| 2012年06月05日 19:22:56 | amaury.forgeotdarc | set | nosy:
+ amaury.forgeotdarc messages: + msg162366 |
| 2012年06月05日 19:09:08 | Arfrever | set | nosy:
+ Arfrever title: posixsubprocess module broken on x32 -> _posixsubprocess module broken on x32 stage: patch review versions: + Python 3.3 |
| 2012年06月05日 01:35:58 | vapier | set | messages: + msg162317 |
| 2012年06月04日 23:58:53 | gregory.p.smith | set | messages: + msg162313 |
| 2012年06月04日 23:54:04 | gregory.p.smith | set | assignee: gregory.p.smith messages: + msg162312 |
| 2012年06月04日 23:42:33 | gregory.p.smith | set | messages: + msg162310 |
| 2012年06月04日 22:02:35 | r.david.murray | set | nosy:
+ gregory.p.smith |
| 2012年06月04日 18:07:37 | vapier | create | |