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 2013年06月18日 00:20 by David.Edelsohn, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg191381 - (view) | Author: David Edelsohn (David.Edelsohn) * | Date: 2013年06月18日 00:20 | |
fficonfig.py.in incorrectly mixes source files intended for Linux with source files intended for AIX, causing a build failure. AIX uses ffi_darwin.c not ffi.c diff -r f6f70f1ab124 Modules/_ctypes/libffi.diff --- a/Modules/_ctypes/libffi.diff Mon Jun 17 22:02:14 2013 +0200 +++ b/Modules/_ctypes/libffi.diff Mon Jun 17 22:18:44 2013 -0700 @@ -135,7 +135,7 @@ + 'M32R': ['src/m32r/sysv.S', 'src/m32r/ffi.c'], + 'M68K': ['src/m68k/ffi.c', 'src/m68k/sysv.S'], + 'POWERPC': ['src/powerpc/ffi.c', 'src/powerpc/sysv.S', 'src/powerpc/ppc_closure.S', 'src/powerpc/linux64.S', 'src/powerpc/linux64_closure.S'], -+ 'POWERPC_AIX': ['src/powerpc/ffi.c', 'src/powerpc/aix.S', 'src/powerpc/aix_closure.S'], ++ 'POWERPC_AIX': ['src/powerpc/ffi_darwin.c', 'src/powerpc/aix.S', 'src/powerpc/aix_closure.S'], + 'POWERPC_FREEBSD': ['src/powerpc/ffi.c', 'src/powerpc/sysv.S', 'src/powerpc/ppc_closure.S'], + 'ARM': ['src/arm/sysv.S', 'src/arm/ffi.c'], + 'LIBFFI_CRIS': ['src/cris/sysv.S', 'src/cris/ffi.c'], diff -r f6f70f1ab124 Modules/_ctypes/libffi/fficonfig.py.in --- a/Modules/_ctypes/libffi/fficonfig.py.in Mon Jun 17 22:02:14 2013 +0200 +++ b/Modules/_ctypes/libffi/fficonfig.py.in Mon Jun 17 22:18:44 2013 -0700 @@ -16,7 +16,7 @@ 'M32R': ['src/m32r/sysv.S', 'src/m32r/ffi.c'], 'M68K': ['src/m68k/ffi.c', 'src/m68k/sysv.S'], 'POWERPC': ['src/powerpc/ffi.c', 'src/powerpc/sysv.S', 'src/powerpc/ppc_closure.S', 'src/powerpc/linux64.S', 'src/powerpc/linux64_closure.S'], - 'POWERPC_AIX': ['src/powerpc/ffi.c', 'src/powerpc/aix.S', 'src/powerpc/aix_closure.S'], + 'POWERPC_AIX': ['src/powerpc/ffi_darwin.c', 'src/powerpc/aix.S', 'src/powerpc/aix_closure.S'], 'POWERPC_FREEBSD': ['src/powerpc/ffi.c', 'src/powerpc/sysv.S', 'src/powerpc/ppc_closure.S'], 'ARM': ['src/arm/sysv.S', 'src/arm/ffi.c'], 'LIBFFI_CRIS': ['src/cris/sysv.S', 'src/cris/ffi.c'], |
|||
| msg191433 - (view) | Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) | Date: 2013年06月18日 20:46 | |
LGTM. I checked in Makefile.am, and the list of platform-specific files is the same. |
|||
| msg191484 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年06月19日 16:02 | |
New changeset 00082406e13f by Benjamin Peterson in branch '3.3': fix libffi build on AIX (closes #18248) http://hg.python.org/cpython/rev/00082406e13f New changeset 974d4844d5a7 by Benjamin Peterson in branch 'default': merge 3.3 (#18248) http://hg.python.org/cpython/rev/974d4844d5a7 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:47 | admin | set | github: 62448 |
| 2013年06月19日 16:04:41 | vstinner | set | versions: - Python 2.7 |
| 2013年06月19日 16:02:53 | python-dev | set | status: open -> closed nosy: + python-dev messages: + msg191484 resolution: fixed stage: patch review -> resolved |
| 2013年06月18日 20:46:33 | amaury.forgeotdarc | set | messages: + msg191433 |
| 2013年06月18日 20:24:19 | pitrou | set | nosy:
+ amaury.forgeotdarc, belopolsky, meador.inge stage: patch review versions: - Python 3.5 |
| 2013年06月18日 00:21:47 | vstinner | set | nosy:
+ vstinner |
| 2013年06月18日 00:20:24 | David.Edelsohn | create | |