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 on sparc64 #342

Closed
d-torrance opened this issue Aug 27, 2021 · 2 comments
Closed

Illegal instruction on sparc64 #342

d-torrance opened this issue Aug 27, 2021 · 2 comments

Comments

@d-torrance
Copy link
Contributor

On the sparc64 build of the 2.5.0rc0 package for Debian experimental, all the tests fail, e.g.,:

../build-aux/test-driver: line 112: 367433 Illegal instruction     "$@" >> "$log_file" 2>&1
FAIL: test-fdot

It looks like some instruction set isn't available. In previous versions, there were various --disable-* options to configure that could be used to disable instruction sets, but this feature appears to have been removed since the last release (I believe in #293).

@ClementPernet
Copy link
Member

This is probably due to a compilation of the library on a different architecture than the one where the package has been tested on. By default we now pass -march=native option to the compiler. You can disable this by passing the --without-archnative option to the configure script.
Please let us know if it fixes the problem.

@d-torrance
Copy link
Contributor Author

Yes, --without-archnative did the trick on sparc64 for the 2.5.0rc1 package in Debian experimental. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants