Open odyslam opened 9 months ago
Opening this for visibility for other Zigbuild users:
https://github.com/ziglang/zig/issues/18009
Encountered this error as part of a GHA:
error: failed to run custom build command for `ring v0.16.20` Caused by: process didn't exit successfully: `/home/runner/work/phylax/phylax/target/maxperf/build/ring-d48658530c86af3d/build-script-build` (exit status: 101) --- stdout OPT_LEVEL = Some("3") TARGET = Some("aarch64-unknown-linux-gnu") HOST = Some("x86_64-unknown-linux-gnu") cargo:rerun-if-env-changed=CC_aarch64-unknown-linux-gnu CC_aarch64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CC_aarch64_unknown_linux_gnu CC_aarch64_unknown_linux_gnu = Some("/home/runner/.cache/cargo-zigbuild/0.18.0/zigcc-aarch64-unknown-linux-gnu.sh") cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None DEBUG = Some("false") CARGO_CFG_TARGET_FEATURE = Some("neon") cargo:rerun-if-env-changed=CFLAGS_aarch64-unknown-linux-gnu CFLAGS_aarch64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CFLAGS_aarch64_unknown_linux_gnu CFLAGS_aarch64_unknown_linux_gnu = None cargo:rerun-if-env-changed=TARGET_CFLAGS TARGET_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS CFLAGS = None --- stderr running "/home/runner/.cache/cargo-zigbuild/0.18.0/zigcc-aarch64-unknown-linux-gnu.sh" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-Wall" "-Wextra" "-pedantic" "-pedantic-errors" "-Wall" "-Wextra" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-fno-strict-aliasing" "-fvisibility=hidden" "-fstack-protector" "-g3" "-DNDEBUG" "-c" "-o/home/runner/work/phylax/phylax/target/aarch64-unknown-linux-gnu/maxperf/build/ring-2cec8a3ee029a3d4/out/aesv8-armx-linux64.o" "/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.20/pregenerated/aesv8-armx-linux64.S" error: unable to create compilation: StackProtectorUnsupportedByTarget thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.20/build.rs:656:9: execution failed note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... make: *** [makefile:50: build-aarch64-unknown-linux-gnu] Error 101 Error: Process completed with exit code 2.
Opening this for visibility for other Zigbuild users:
https://github.com/ziglang/zig/issues/18009
Encountered this error as part of a GHA: