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

Libff compiled on Github actions crashes with SIGILL on AWS T2 instances #81

Open
kladkogex opened this issue Nov 6, 2020 · 0 comments

Comments

@kladkogex
Copy link

At SKALE we use libff for BLS signatures

https://github.com/skalenetwork/libBLS

we recently upgraded libff to the version that implements BLS384. After that, binaries compiled on Github Actions started to fail on AWS T2.

We reverted to an older version of libff,

03b719a

Then SIGILL disappeared.

Github Actions uses Xeon Platinum CPU, that in particular implements these instructions: avx512f avx512dq avx512cd avx512bw avx512vl.

I think some of them are not implemented on T2 instances, which causes SIGILL.

What is not clear to me is why it happens, since libff uses XBYAK JIT assembler that to my understanding should generate correct instructions depending on the CPU.

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

1 participant