When using codon build PYTHON_FILE_NAME --march=native on my machine, it will throw Segmentation Fault regardless of the Python script content (even an empty Python file without anything). Removing the --march=native tag will make compilation successful.
Codon version: 0.19.6
Operating system info:
PRETTY_NAME="Ubuntu 26.04 LTS"
NAME="Ubuntu"
VERSION_ID="26.04"
VERSION="26.04 (Resolute Raccoon)"
VERSION_CODENAME=resolute
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=resolute
LOGO=ubuntu-logo
Kernel info:
Linux DESKTOP-5TKLC9I 6.18.33.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun 18 21:54:43 UTC 2026 x86_64 GNU/Linux
CPU info:
AMD Ryzen 7 4700U with Radeon Graphics
When using codon build PYTHON_FILE_NAME --march=native on my machine, it will throw Segmentation Fault regardless of the Python script content (even an empty Python file without anything). Removing the --march=native tag will make compilation successful.
Codon version: 0.19.6
Operating system info:
PRETTY_NAME="Ubuntu 26.04 LTS"
NAME="Ubuntu"
VERSION_ID="26.04"
VERSION="26.04 (Resolute Raccoon)"
VERSION_CODENAME=resolute
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=resolute
LOGO=ubuntu-logo
Kernel info:
Linux DESKTOP-5TKLC9I 6.18.33.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun 18 21:54:43 UTC 2026 x86_64 GNU/Linux
CPU info:
AMD Ryzen 7 4700U with Radeon Graphics