Skip to content

illegal instruction on arm #14733

@gabor-lbl

Description

@gabor-lbl

to reproduce. run this on an arm machine (eg. M4 mac):

docker run -ti python:3.14 /bin/bash
pip install cryptography
python -c "import cryptography.hazmat.bindings._rust"

Here is the output:

# uname -a
Linux bdbdf3618a2c 6.12.5-linuxkit #1 SMP Tue Jan 21 10:23:32 UTC 2025 aarch64 GNU/Linux

# pip show cryptography
Name: cryptography
Version: 47.0.0
Summary: cryptography is a package which provides cryptographic recipes and primitives to Python developers.
Home-page: https://github.com/pyca/cryptography
Author:
Author-email: The Python Cryptographic Authority and individual contributors <cryptography-dev@python.org>
License-Expression: Apache-2.0 OR BSD-3-Clause
Location: /usr/local/lib/python3.14/site-packages
Requires: cffi
Required-by:

# python -c "import cryptography.hazmat.bindings._rust"
Illegal instruction

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting-on-reporterIssue is waiting on a reply from the reporter. It will be automatically cloesd if there is no reply.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions