-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Description
cryptography 46 contains wheels for ppc64le. However when used, weird errors happen. The kernel logs point to cryptography/hazmat/bindings/ _rust.abi3.so
To reproduce
#. go on a PPC machine
#. docker run -ti python:3.14 /bin/bash
#. pip install cryptography
#. python -c "import cryptography.hazmat.bindings._rust"
--> fails with Illegal instruction and python terminates right away
# lscpu
Architecture: ppc64le
Byte Order: Little Endian
CPU(s): 40
On-line CPU(s) list: 0-39
Model name: POWER8 (architected), altivec supported
Model: 2.0 (pvr 004d 0200)
Thread(s) per core: 8
Core(s) per socket: 5
Socket(s): 1
Physical sockets: 8
Physical chips: 1
Physical cores/chip: 10
Virtualization features:
Hypervisor vendor: pHyp
Virtualization type: para
Caches (sum of all):
L1d: 320 KiB (5 instances)
L1i: 160 KiB (5 instances)
L2: 2.5 MiB (5 instances)
L3: 40 MiB (5 instances)
NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0-39
Vulnerabilities:
Gather data sampling: Not affected
Indirect target selection: Not affected
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Mmio stale data: Not affected
Reg file data sampling: Not affected
Retbleed: Not affected
Spec rstack overflow: Not affected
Spec store bypass: Not affected
Spectre v1: Not affected
Spectre v2: Vulnerable
Srbds: Not affected
Tsx async abort: Not affected
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels