The error seen is:
/opt/lib/python3.8/config-3.8/ld_so_aix xlc_r -bI:/opt/lib/python3.8/config-3.8/python.exp build/temp.aix-5307-0747-64-3.8/c/_cffi_backend.o -lffi -o build/lib.aix-5307-0747-64-3.8/_cffi_backend.so
ld: 0711-736 ERROR: Input file build/temp.aix-5307-0747-64-3.8/c/_cffi_backend.o:
XCOFF64 object files are not allowed in 32-bit mode.
error: command '/opt/lib/python3.8/config-3.8/ld_so_aix' failed with exit status 8
The manual resolution is:
export OBJECT_MODE=64
and this issue is to look into ways to fix this via packaging.