Skip to content

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

@kladkogex

Description

@kladkogex

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions