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.

Author ned.deily
Recipients Anton.Korobeynikov, Stan.Seibert, ezberch, meador.inge, ned.deily, ronaldoussoren
Date 2012-08-21.10:43:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The patch as it stands causes _ctypes build failures when using the 10.4u SDK as in the traditional 10.3+ 32-bit-only installer configuration.  Apparently, in ppc-ffi_darwin.c, the skip that the patch removes was because OSCacheControl.h doesn't exist in the 10.4u SDK.  It is in the 10.5 SDK and builds and tests OK on both PPC and i386 with it.

--- a/Modules/_ctypes/libffi_osx/powerpc/ppc-ffi_darwin.c
+++ b/Modules/_ctypes/libffi_osx/powerpc/ppc-ffi_darwin.c
@@ -37,19 +37,10 @@
 #include <ppc-darwin.h>
 #include <architecture/ppc/mode_independent_asm.h>
-#if 0
 #if defined(POWERPC_DARWIN)
 #include <libkern/OSCacheControl.h>	// for sys_icache_invalidate()
-#pragma weak sys_icache_invalidate
-extern void sys_icache_invalidate(void *start, size_t len);

./Modules/_ctypes/libffi_osx/powerpc/ppc-ffi_darwin.c:41:67: error: libkern/OSCacheControl.h: No such file or directory
Date User Action Args
2012-08-21 10:44:01ned.deilysetrecipients: + ned.deily, ronaldoussoren, meador.inge, ezberch, Anton.Korobeynikov, Stan.Seibert
2012-08-21 10:44:00ned.deilysetmessageid: <>
2012-08-21 10:44:00ned.deilylinkissue13370 messages
2012-08-21 10:43:59ned.deilycreate