Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Illegal instruction" issue with armv6 wheels #276

Closed
bennuttall opened this issue Jan 17, 2022 · 3 comments
Closed

"Illegal instruction" issue with armv6 wheels #276

bennuttall opened this issue Jan 17, 2022 · 3 comments
Assignees
Labels
piwheels issue issue with the piwheels source code

Comments

@bennuttall
Copy link
Member

Since a recent update to our provider's OS images, we've noticed that the version of gcc we have is compiled strictly for armv7 and not compatible with armv6 as before. This means that although wheels work on armv7 models (Pi 2 and up, inc Zero 2), they don't work on armv6 models (Pi 1 and Zero). This causes a fatal "Illegal instruction" error.

The issue applies to all (I think) armv6 wheels built since around mid-December.

We have identified the cause, but need further investigation to work out how to resolve the issue.

Please don't open new issues per package relating to this issue.

The workaround is unfortunately to build any required wheels yourself, e.g:

pip3 wheel numpy --no-binary :all:

For speed, build on an armv7 model, and rename to armv7 to armv6.

@bennuttall
Copy link
Member Author

A fix has been deployed, all affected builds since early December will be rebuilt overnight.

@bennuttall
Copy link
Member Author

All packages have been rebuilt, this should have fixed the problem now.

@magicse
Copy link

magicse commented Feb 4, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
piwheels issue issue with the piwheels source code
Projects
None yet
Development

No branches or pull requests

2 participants