In Cygwin environment python crashes during loading any pkcs11 library - tested on current Cygwin release, 64-bit, windows 10 pro 64-bit. It is caused by #pragma pack in cryptoki.h - after commenting ...
3.12.9 fails to build ctypes module on Cygwin if 3.12.8 is already installed as LIBFFI_LIBS has "-L/usr/lib/../lib" and pull the installed version of "libpython3.12.dll.a" instead of the built one. $ ...