renpy / renpy-build

Build system for the Ren'Py visual novel engine. (The engine itself, not games.)
72 stars 50 forks source link

ctypes.CFUNCTYPE raises MemoryError on Apple Silicon #139

Open qTich opened 1 month ago

qTich commented 1 month ago
import ctypes

@ctypes.CFUNCTYPE(
    None,
)
def test():
    return None

Perhaps the libffi version should be raised higher.

3.4.6 Feb-18-2024
    Fix long double regression on mips64 and alpha.

3.4.5 Feb-15-2024
    Add support for wasm32.
    Add support for aarch64 branch target identification (bti).
    Add support for ARCv3: ARC32 & ARC64.
    Add support for HPPA64, and many HPPA fixes.
    Add support for Haikuos on PowerPC.
    Fixes for AIX, loongson, MIPS, power, sparc64, and x86 Darwin.

3.4.4 Oct-23-2022
    Important aarch64 fixes, including support for linux builds
      with Link Time Optimization (-flto).
    Fix x86 stdcall stack alignment.
    Fix x86 Windows msvc assembler compatibility.
    Fix moxie and or1k small structure args.

3.4.3 Sep-19-2022
    All struct args are passed by value, regardless of size, as per ABIs.
    Enable static trampolines for Cygwin.
    Add support for Loongson's LoongArch64 architecture.
    Fix x32 static trampolines.
    Fix 32-bit x86 stdcall stack corruption.
    Fix ILP32 aarch64 support.
qTich commented 1 month ago

971a4b2333694f81264a1a37d8fdef4958f37ca6 still causes a problem if it was in 8.3.0.24072601+nightly

renpytom commented 1 month ago

Do you have the link to the patch that fixes this?