> Upgrading to python-2.6.6-r1 should fix this.  You'll also need to
> upgrade portage to 2.1.9.x.
> 
> See http://bugs.gentoo.org/show_bug.cgi?id=329499

No, 2.6.6-r1 breaks things another way, see my last comments on that
bug. While the fix for 2.6.5 is simple:

--- Python-2.6.5/Modules/_ctypes/malloc_closure.c.orig
+++ Python-2.6.5/Modules/_ctypes/malloc_closure.c
@@ -70,7 +70,7 @@
 #else
     item = (ITEM *)mmap(NULL,
                         count * sizeof(ITEM),
-                        PROT_READ | PROT_WRITE | PROT_EXEC,
+                        PROT_READ | PROT_WRITE,
                         MAP_PRIVATE | MAP_ANONYMOUS,
                         -1,
                         0);

Reply via email to