Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ctypes.CFUNCTYPE raises MemoryError on Apple Silicon #139

Open
qTich opened this issue Jul 24, 2024 · 2 comments
Open

ctypes.CFUNCTYPE raises MemoryError on Apple Silicon #139

qTich opened this issue Jul 24, 2024 · 2 comments

Comments

@qTich
Copy link
Contributor

qTich commented Jul 24, 2024

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
Copy link
Contributor Author

qTich commented Jul 27, 2024

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

@renpytom
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants