warning: fasthash-sys@0.3.2: cc: error: unrecognized command-line option ‘-msse4.2’
warning: fasthash-sys@0.3.2: cc: error: unrecognized command-line option ‘-maes’
warning: fasthash-sys@0.3.2: cc: error: unrecognized command-line option ‘-mavx’
warning: fasthash-sys@0.3.2: cc: error: unrecognized command-line option ‘-mavx2’
error: failed to run custom build command for `fasthash-sys v0.3.2`
Caused by:
process didn't exit successfully: `/tmp/cargo-installYmAOCt/release/build/fasthash-sys-cc5f57f0436718b8/build-script-build` (exit status: 101)
--- stdout
TARGET = Some("aarch64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
TARGET = Some("aarch64-unknown-linux-gnu")
HOST = Some("aarch64-unknown-linux-gnu")
TARGET = Some("aarch64-unknown-linux-gnu")
TARGET = Some("aarch64-unknown-linux-gnu")
HOST = Some("aarch64-unknown-linux-gnu")
CC_aarch64-unknown-linux-gnu = None
CC_aarch64_unknown_linux_gnu = None
HOST_CC = None
CC = None
HOST = Some("aarch64-unknown-linux-gnu")
TARGET = Some("aarch64-unknown-linux-gnu")
HOST = Some("aarch64-unknown-linux-gnu")
CFLAGS_aarch64-unknown-linux-gnu = None
CFLAGS_aarch64_unknown_linux_gnu = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wno-implicit-fallthrough" "-Wno-unknown-attributes" "-msse4.2" "-maes" "-mavx" "-mavx2" "-DT1HA0_RUNTIME_SELECT=1" "-DT1HA0_AESNI_AVAILABLE=1" "-Wall" "-Wextra" "-o" "/tmp/cargo-installYmAOCt/release/build/fasthash-sys-2c54a85e73662116/out/src/fasthash.o" "-c" "src/fasthash.cpp"
cargo:warning=cc: error: unrecognized command-line option ‘-msse4.2’
cargo:warning=cc: error: unrecognized command-line option ‘-maes’
cargo:warning=cc: error: unrecognized command-line option ‘-mavx’
cargo:warning=cc: error: unrecognized command-line option ‘-mavx2’
exit status: 1
--- stderr
thread 'main' panicked at /home/saiful/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gcc-0.3.55/src/lib.rs:1672:5:
Internal error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wno-implicit-fallthrough" "-Wno-unknown-attributes" "-msse4.2" "-maes" "-mavx" "-mavx2" "-DT1HA0_RUNTIME_SELECT=1" "-DT1HA0_AESNI_AVAILABLE=1" "-Wall" "-Wextra" "-o" "/tmp/cargo-installYmAOCt/release/build/fasthash-sys-2c54a85e73662116/out/src/fasthash.o" "-c" "src/fasthash.cpp" with args "cc" did not execute successfully (status code exit status: 1).
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `grug v0.1.0 (https://github.com/jtrv/grug#bdc83b83)`, intermediate artifacts can be found at `/tmp/cargo-installYmAOCt`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.