enthought / enthought/traits

Restore Linux/aarch64 wheel builds

Open
#1,830 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
462
Forks
90
PR merge metrics
No merged PRs in 30d

Description

For the release of Traits 7.0.0, we were getting an internal compiler error from gcc when attempting to build wheels under QEMU emulation. To avoid this problem holding up the release, Traits 7.0.1 has been released _without_ Linux/aarch64 wheels.

It would be nice to find a solution to this.

Failing wheel-build job: https://github.com/enthought/traits/actions/runs/12952927173/job/36132003350

Relevant snippet of the build output:
```
Building cp310-manylinux_aarch64 wheel
CPython 3.10 manylinux aarch64

...

building 'traits.ctraits' extension
creating build/temp.linux-aarch64-cpython-310/traits
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/opt/_internal/cpython-3.10.15/include/python3.10 -c traits/ctraits.c -o build/temp.linux-aarch64-cpython-310/traits/ctraits.o
gcc: internal compiler error: Segmentation fault signal terminated program as
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
error: command '/opt/rh/devtoolset-10/root/usr/bin/gcc' failed with exit code 4
[end of output]
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.