Source: python3.13 Version: 3.13.0-2 Severity: normal Tags: patch User: debian-68k@lists.debian.org Usertags: m68k X-Debbugs-Cc: debian-68k@lists.debian.org
Hello, the package python3.13 fails to build from source on m68k due to alignment issues. This is fixed with the following patch: Index: python3.13-3.13.0/Include/internal/pycore_gc.h =================================================================== --- python3.13-3.13.0.orig/Include/internal/pycore_gc.h +++ python3.13-3.13.0/Include/internal/pycore_gc.h @@ -19,7 +19,7 @@ typedef struct { // Pointer to previous object in the list. // Lowest two bits are used for flags documented later. uintptr_t _gc_prev; -} PyGC_Head; +} PyGC_Head Py_ALIGNED(sizeof(uintptr_t)); #define _PyGC_Head_UNUSED PyGC_Head I'm attaching it as a separate diff. I hope that we will be able to waive for this patch in the future when we switch the m68k port to 4-byte alignment. Thanks, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Index: python3.13-3.13.0/Include/internal/pycore_gc.h =================================================================== --- python3.13-3.13.0.orig/Include/internal/pycore_gc.h +++ python3.13-3.13.0/Include/internal/pycore_gc.h @@ -19,7 +19,7 @@ typedef struct { // Pointer to previous object in the list. // Lowest two bits are used for flags documented later. uintptr_t _gc_prev; -} PyGC_Head; +} PyGC_Head Py_ALIGNED(sizeof(uintptr_t)); #define _PyGC_Head_UNUSED PyGC_Head