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
avx xor illegal instruction #13
Comments
The CPU clearly reports being capable of AVX, so the most likely culprit is that the kernel itself does not support saving and restoring the entire AVX context. I already do this check for WIndows, but incorrectly assumed that Linux would always do the right thing. |
Commit 60ea749 should have fixed this, but I have currently no way of testing this. |
I pushed the fix on debian/experimental, and requested for feedbacks. I packaged the latest git master to avoid the three patches I was bringing :) |
builds ongoing there, https://buildd.debian.org/status/package.php?p=libb2&suite=experimental thanks a lot for the quick "fix" :) |
I'm going to assume this resolved the issue. |
yes, it is now building correctly everywhere |
Hello, seems that we are getting illegal instructions on Xen CPUs, when libb2 is built with fat mode on.
this is how libb2 is built [1] and this is the assembly strace
AVX XOR is not available there
see the complete bug report here [2].
Do you have any clue?
[1] https://buildd.debian.org/status/fetch.php?pkg=libb2&arch=amd64&ver=0.97-4&stamp=1507640440&raw=0
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=884958
The text was updated successfully, but these errors were encountered: