Closed DrPeterVanNostrand closed 6 years ago
@DrPeterVanNostrand I'm getting this issue now, did you find a solution?
Yup, for me it was the Linux out-of-memory process killer caused by the loop unrolling macros unroll!
. If you try to build the tiny-keccak
crate and get the SIGILL
caused by crunchy
, you can check if the build process was killed by the Linux OOM killer by running:
grep -i kill /var/log/messages*
If you see something like the following, then you ran out of memory during the build process:
Out of Memory: Killed process <build PID>
When building anything using tiny-keccak
on a small EC2 instance, I manually remove the unroll!
macros and use that version in place of tiny-keccak
in my Cargo.toml files. If you are not limited to using a small EC2 instance, try starting an instance with more RAM and rebuilding there.
When building a Rust crate with
tiny-keccak
as a dependency, I received the following build error.This error occurred when building
tiny-keccak
on a fresh Ubuntu 16 EC2 instance.Cargo.toml:
Rust Version:
rustc 1.27.0-nightly