Xuanwo opened a new issue, #3673:
URL: https://github.com/apache/incubator-opendal/issues/3673
```shell
The following warnings were emitted during compilation:
warning: In file included from
/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.5/pregenerated/aesv8-armx-linux64.S:4:0:
warning: include/ring-core/asm_base.h:73:2: error: #error "ARM assembler
must define __ARM_ARCH"
warning: #error "ARM assembler must define __ARM_ARCH"
warning: ^
warning: In file included from
/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.5/pregenerated/aesv8-armx-linux64.S:7:0:
warning: include/ring-core/arm_arch.h:82:2: error: #error "ARM assembler
must define __ARM_ARCH"
warning: #error "ARM assembler must define __ARM_ARCH"
warning: ^
error: failed to run custom build command for `ring v0.17.5`
Caused by:
process didn't exit successfully:
`/home/runner/work/incubator-opendal/incubator-opendal/target/release/build/ring-16856389787853ac/build-script-build`
(exit status: 1)
--- stdout
cargo:rerun-if-env-changed=RING_PREGENERATE_ASM
cargo:rustc-env=RING_CORE_PREFIX=ring_core_0_17_5_
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("aarch64-unknown-linux-gnu-gcc")
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
running: "aarch64-unknown-linux-gnu-gcc" "-O3" "-ffunction-sections"
"-fdata-sections" "-fPIC" "-I" "include" "-I"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out"
"-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-pedantic" "-Wall"
"-Wextra" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion"
"-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch"
"-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs"
"-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion"
"-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-g3"
"-DNDEBUG" "-o"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out/crypto/curve25519/curve25519.o"
"-c" "crypto/curve25519/curve25519.c"
exit status: 0
running: "aarch64-unknown-linux-gnu-gcc" "-O3" "-ffunction-sections"
"-fdata-sections" "-fPIC" "-I" "include" "-I"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out"
"-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-pedantic" "-Wall"
"-Wextra" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion"
"-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch"
"-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs"
"-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion"
"-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-g3"
"-DNDEBUG" "-o"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out/crypto/fipsmodule/aes/aes_nohw.o"
"-c" "crypto/fipsmodule/aes/aes_nohw.c"
exit status: 0
running: "aarch64-unknown-linux-gnu-gcc" "-O3" "-ffunction-sections"
"-fdata-sections" "-fPIC" "-I" "include" "-I"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out"
"-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-pedantic" "-Wall"
"-Wextra" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion"
"-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch"
"-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs"
"-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion"
"-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-g3"
"-DNDEBUG" "-o"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out/crypto/fipsmodule/bn/montgomery.o"
"-c" "crypto/fipsmodule/bn/montgomery.c"
exit status: 0
running: "aarch64-unknown-linux-gnu-gcc" "-O3" "-ffunction-sections"
"-fdata-sections" "-fPIC" "-I" "include" "-I"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out"
"-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-pedantic" "-Wall"
"-Wextra" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion"
"-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch"
"-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs"
"-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion"
"-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-g3"
"-DNDEBUG" "-o"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out/crypto/fipsmodule/bn/montgomery_inv.o"
"-c" "crypto/fipsmodule/bn/montgomery_inv.c"
exit status: 0
running: "aarch64-unknown-linux-gnu-gcc" "-O3" "-ffunction-sections"
"-fdata-sections" "-fPIC" "-I" "include" "-I"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out"
"-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-pedantic" "-Wall"
"-Wextra" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion"
"-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch"
"-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs"
"-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion"
"-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-g3"
"-DNDEBUG" "-o"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out/crypto/fipsmodule/ec/ecp_nistz.o"
"-c" "crypto/fipsmodule/ec/ecp_nistz.c"
exit status: 0
running: "aarch64-unknown-linux-gnu-gcc" "-O3" "-ffunction-sections"
"-fdata-sections" "-fPIC" "-I" "include" "-I"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out"
"-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-pedantic" "-Wall"
"-Wextra" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion"
"-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch"
"-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs"
"-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion"
"-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-g3"
"-DNDEBUG" "-o"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out/crypto/fipsmodule/ec/gfp_p256.o"
"-c" "crypto/fipsmodule/ec/gfp_p256.c"
exit status: 0
running: "aarch64-unknown-linux-gnu-gcc" "-O3" "-ffunction-sections"
"-fdata-sections" "-fPIC" "-I" "include" "-I"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out"
"-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-pedantic" "-Wall"
"-Wextra" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion"
"-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch"
"-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs"
"-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion"
"-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-g3"
"-DNDEBUG" "-o"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out/crypto/fipsmodule/ec/gfp_p384.o"
"-c" "crypto/fipsmodule/ec/gfp_p384.c"
exit status: 0
running: "aarch64-unknown-linux-gnu-gcc" "-O3" "-ffunction-sections"
"-fdata-sections" "-fPIC" "-I" "include" "-I"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out"
"-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-pedantic" "-Wall"
"-Wextra" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion"
"-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch"
"-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs"
"-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion"
"-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-g3"
"-DNDEBUG" "-o"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out/crypto/fipsmodule/ec/p256.o"
"-c" "crypto/fipsmodule/ec/p256.c"
exit status: 0
running: "aarch64-unknown-linux-gnu-gcc" "-O3" "-ffunction-sections"
"-fdata-sections" "-fPIC" "-I" "include" "-I"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out"
"-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-pedantic" "-Wall"
"-Wextra" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion"
"-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch"
"-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs"
"-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion"
"-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-g3"
"-DNDEBUG" "-o"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out/crypto/limbs/limbs.o"
"-c" "crypto/limbs/limbs.c"
exit status: 0
running: "aarch64-unknown-linux-gnu-gcc" "-O3" "-ffunction-sections"
"-fdata-sections" "-fPIC" "-I" "include" "-I"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out"
"-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-pedantic" "-Wall"
"-Wextra" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion"
"-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch"
"-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs"
"-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion"
"-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-g3"
"-DNDEBUG" "-o"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out/crypto/mem.o"
"-c" "crypto/mem.c"
exit status: 0
running: "aarch64-unknown-linux-gnu-gcc" "-O3" "-ffunction-sections"
"-fdata-sections" "-fPIC" "-I" "include" "-I"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out"
"-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-pedantic" "-Wall"
"-Wextra" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion"
"-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch"
"-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs"
"-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion"
"-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-g3"
"-DNDEBUG" "-o"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out/crypto/poly1305/poly1305.o"
"-c" "crypto/poly1305/poly1305.c"
exit status: 0
running: "aarch64-unknown-linux-gnu-gcc" "-O3" "-ffunction-sections"
"-fdata-sections" "-fPIC" "-I" "include" "-I"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out"
"-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-pedantic" "-Wall"
"-Wextra" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion"
"-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch"
"-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs"
"-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion"
"-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-g3"
"-DNDEBUG" "-o"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out/crypto/crypto.o"
"-c" "crypto/crypto.c"
exit status: 0
running: "aarch64-unknown-linux-gnu-gcc" "-O3" "-ffunction-sections"
"-fdata-sections" "-fPIC" "-I" "include" "-I"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out"
"-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-pedantic" "-Wall"
"-Wextra" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion"
"-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch"
"-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs"
"-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion"
"-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-g3"
"-DNDEBUG" "-o"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out/crypto/fipsmodule/ec/p256-nistz.o"
"-c" "crypto/fipsmodule/ec/p256-nistz.c"
exit status: 0
running: "aarch64-unknown-linux-gnu-gcc" "-O3" "-ffunction-sections"
"-fdata-sections" "-fPIC" "-I" "include" "-I"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out"
"-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-pedantic" "-Wall"
"-Wextra" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion"
"-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch"
"-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs"
"-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion"
"-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-g3"
"-DNDEBUG" "-o"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out/d[733](https://github.com/apache/incubator-opendal/actions/runs/7019954081/job/19098594580#step:3:739)2ef10c1d514d-aesv8-armx-linux64.o"
"-c" "/root/.cargo/registry/src
/index.crates.io-6f17d22bba15001f/ring-0.17.5/pregenerated/aesv8-armx-linux64.S"
cargo:warning=In file included from
/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.5/pregenerated/aesv8-armx-linux64.S:4:0:
cargo:warning=include/ring-core/asm_base.h:73:2: error: #error "ARM
assembler must define __ARM_ARCH"
cargo:warning= #error "ARM assembler must define __ARM_ARCH"
cargo:warning= ^
cargo:warning=In file included from
/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.5/pregenerated/aesv8-armx-linux64.S:7:0:
cargo:warning=include/ring-core/arm_arch.h:82:2: error: #error "ARM
assembler must define __ARM_ARCH"
cargo:warning= #error "ARM assembler must define __ARM_ARCH"
cargo:warning= ^
exit status: 1
--- stderr
error occurred: Command "aarch64-unknown-linux-gnu-gcc" "-O3"
"-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out"
"-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-pedantic" "-Wall"
"-Wextra" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion"
"-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch"
"-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs"
"-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion"
"-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-g3"
"-DNDEBUG" "-o"
"/home/runner/work/incubator-opendal/incubator-opendal/target/aarch64-unknown-linux-gnu/release/build/ring-6e3d7e68fc99d51d/out/d7332ef10c1d514d-aesv8-armx-linux64.o"
"-c"
"/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.5/pregenerated/aesv8-armx-linux64.S"
wi
th args "aarch64-unknown-linux-gnu-gcc" did not execute successfully (status
code exit status: 1).
```
Workflow:
https://github.com/apache/incubator-opendal/actions/runs/7019954081/job/19098594580
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]