You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently cloned the repository and followed the steps listed below to verify the checksum for v1.8.0 multi-coin firmware. However, the docker build failed.
After I ran the docker command, I get the following error message saying the build failed.
Thanks
-- compile rust
-- build target path: /keystone3-firmware/build/rust-builds
-- cargo build command: --release--targetthumbv7em-none-eabihf-prust_c--no-default-features--featuresfirmware
-- /keystone3-firmware/build/rust-builds
-- Enabled option: BUILD_PRODUCTION
-- Compiling for MAIN target
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /keystone3-firmware/build
Scanning dependencies of target rust_c
WARN: Skip rust_c::ENTROPY_MAX_LEN - (not pub).
WARN: Skip rust_c::__GETRANDOM_INTERNAL - (not pub).
WARN: Skip common_rust_c::KEYSTONE - (not no_mangle).
WARN: Skip common_rust_c::FRAGMENT_UNLIMITED_LENGTH - (not no_mangle).
WARN: Skipping bitcoin_rust_c::btc_sign_psbt_dynamic - (not extern "C")
Compiling proc-macro2 v1.0.89
Compiling unicode-ident v1.0.13
Compiling version_check v0.9.5
Compiling cfg-if v1.0.0
Compiling typenum v1.17.0
Compiling byteorder v1.5.0
Compiling subtle v2.6.1
Compiling autocfg v1.4.0
Compiling serde v1.0.214
Compiling arrayvec v0.7.6
Compiling getrandom v0.2.15
Compiling syn v1.0.109
Compiling rand_core v0.6.4
Compiling libm v0.2.11
Compiling zeroize v1.8.1
Compiling generic-array v0.14.7
Compiling memchr v2.7.4
Compiling const-oid v0.9.6
Compiling num-traits v0.2.19
Compiling hex v0.4.3
Compiling static_assertions v1.1.0
Compiling core2 v0.3.3
Compiling shlex v1.3.0
Compiling radium v0.7.0
Compiling tap v1.0.1
Compiling cc v1.1.31
Compiling wyz v0.5.1
Compiling arrayref v0.3.9
Compiling funty v2.0.0
Compiling constant_time_eq v0.3.1
Compiling blake2b_simd v1.0.2
Compiling bitcoin-io v0.1.3
Compiling quote v1.0.37
Compiling spin v0.9.8
Compiling syn v2.0.85
Compiling bitvec v1.0.1
Compiling opaque-debug v0.3.1
Compiling lazy_static v1.5.0
Compiling hex-conservative v0.2.1
Compiling strsim v0.11.1
Compiling num-integer v0.1.46
Compiling ident_case v1.0.1
Compiling fnv v1.0.7
Compiling bitcoin_hashes v0.14.0
Compiling pin-project-lite v0.2.15
Compiling semver v1.0.24
Compiling thiserror-core v1.0.50
Compiling secp256k1-sys v0.10.1
Compiling num-bigint v0.4.6
Compiling either v1.13.0
Compiling proc-macro-error-attr2 v2.0.0
Compiling tracing-core v0.1.32
Compiling bech32 v0.11.0
The following warnings were emitted during compilation:
warning: [email protected]: Compiler family detection failed due to error: ToolExecError: Command "arm-none-eabi-gcc" "-E" "/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out/14212113924254508170detect_compiler_family.c" with args arm-none-eabi-gcc did not execute successfully (status code signal: 5 (SIGTRAP)).
warning: [email protected]: Compiler family detection failed due to error: ToolExecError: Command "arm-none-eabi-gcc" "-E" "/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out/7360451524148430360detect_compiler_family.c" with args arm-none-eabi-gcc did not execute successfully (status code signal: 5 (SIGTRAP)).
warning: [email protected]: Compiler family detection failed due to error: ToolExecError: Command "arm-none-eabi-gcc" "-E" "/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out/9640541887519955396detect_compiler_family.c" with args arm-none-eabi-gcc did not execute successfully (status code signal: 5 (SIGTRAP)).
warning: [email protected]: rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
warning: [email protected]:
warning: [email protected]: Compiler family detection failed due to error: ToolExecError: Command "arm-none-eabi-gcc" "-E" "/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out/2951429428108592355detect_compiler_family.c" with args arm-none-eabi-gcc did not execute successfully (status code signal: 5 (SIGTRAP)).
warning: [email protected]: rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
warning: [email protected]:
error: failed to run custom build command for secp256k1-sys v0.10.1
Caused by:
process didn't exit successfully: /keystone3-firmware/rust/target/release/build/secp256k1-sys-ad7e161c5b25b89b/build-script-build (exit status: 1)
--- stdout
OUT_DIR = Some(/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out)
TARGET = Some(thumbv7em-none-eabihf)
OPT_LEVEL = Some(3)
HOST = Some(aarch64-unknown-linux-gnu)
cargo:rerun-if-env-changed=CC_thumbv7em-none-eabihf
CC_thumbv7em-none-eabihf = None
cargo:rerun-if-env-changed=CC_thumbv7em_none_eabihf
CC_thumbv7em_none_eabihf = None
cargo:rerun-if-env-changed=TARGET_CC
TARGET_CC = None
cargo:rerun-if-env-changed=CC
CC = None
cargo:rerun-if-env-changed=CROSS_COMPILE
CROSS_COMPILE = None
RUSTC_LINKER = None
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "arm-none-eabi-gcc" "-E" "/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out/14212113924254508170detect_compiler_family.c" with args arm-none-eabi-gcc did not execute successfully (status code signal: 5 (SIGTRAP)).
RUSTC_WRAPPER = None
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some(false)
CARGO_CFG_TARGET_FEATURE = Some(dsp,mclass,thumb-mode,thumb2,v5te,v6,v6k,v6t2,v7)
cargo:rerun-if-env-changed=CFLAGS_thumbv7em-none-eabihf
CFLAGS_thumbv7em-none-eabihf = None
cargo:rerun-if-env-changed=CFLAGS_thumbv7em_none_eabihf
CFLAGS_thumbv7em_none_eabihf = None
cargo:rerun-if-env-changed=TARGET_CFLAGS
TARGET_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
OUT_DIR = Some(/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "arm-none-eabi-gcc" "-E" "/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out/7360451524148430360detect_compiler_family.c" with args arm-none-eabi-gcc did not execute successfully (status code signal: 5 (SIGTRAP)).
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some(dsp,mclass,thumb-mode,thumb2,v5te,v6,v6k,v6t2,v7)
HOST = Some(aarch64-unknown-linux-gnu)
cargo:rerun-if-env-changed=CFLAGS_thumbv7em-none-eabihf
CFLAGS_thumbv7em-none-eabihf = None
cargo:rerun-if-env-changed=CFLAGS_thumbv7em_none_eabihf
CFLAGS_thumbv7em_none_eabihf = None
cargo:rerun-if-env-changed=TARGET_CFLAGS
TARGET_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
OUT_DIR = Some(/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "arm-none-eabi-gcc" "-E" "/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out/9640541887519955396detect_compiler_family.c" with args arm-none-eabi-gcc did not execute successfully (status code signal: 5 (SIGTRAP)).
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some(dsp,mclass,thumb-mode,thumb2,v5te,v6,v6k,v6t2,v7)
HOST = Some(aarch64-unknown-linux-gnu)
cargo:rerun-if-env-changed=CFLAGS_thumbv7em-none-eabihf
CFLAGS_thumbv7em-none-eabihf = None
cargo:rerun-if-env-changed=CFLAGS_thumbv7em_none_eabihf
CFLAGS_thumbv7em_none_eabihf = None
cargo:rerun-if-env-changed=TARGET_CFLAGS
TARGET_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:warning=rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
cargo:warning=
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "arm-none-eabi-gcc" "-E" "/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out/2951429428108592355detect_compiler_family.c" with args arm-none-eabi-gcc did not execute successfully (status code signal: 5 (SIGTRAP)).
cargo:warning=rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
cargo:warning=
We're refactoring the building system recent days so the remaining verification steps and docker images may fails. I will update to you once it is done. @A6230
The issue is: you are using the wrong architecture for the gcc toolchain, it works somewhat since apple M[1-4] will use rosetta to run x86_64 binaries but it just dies when loading a aarch64 shared lib from the system.
update following line and rebuild the docker container:
RUN wget -q https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2 -O gcc-arm-none-eabi.tar.bz2
RUN wget -q https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/gcc-arm-none-eabi-9-2019-q4-major-aarch64-linux.tar.bz2 -O gcc-arm-none-eabi.tar.bz2
@soralit don't know if that is what you meant, in theory you could use the arch command to download the correct gcc toolchain, fortunately the command output corresponds to the file naming.
RUN wget -q https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/gcc-arm-none-eabi-9-2019-q4-major-$(arch)-linux.tar.bz2 -O gcc-arm-none-eabi.tar.bz2
Hi,
I recently cloned the repository and followed the steps listed below to verify the checksum for v1.8.0 multi-coin firmware. However, the docker build failed.
https://github.com/KeystoneHQ/keystone3-firmware/blob/1.8.0/docs/verify.md
Commands I ran as specified in verify.md:
git clone https://github.com/KeystoneHQ/keystone3-firmware
cd keystone3-firmware
git -c submodule.keystone3-firmware-release.update=none submodule update --init --recursive
docker build -t keystonehq/keystone3_baker:1.0.2 .
git checkout tags/1.8.0
docker run -v $(pwd):/keystone3-firmware keystonehq/keystone3_baker:1.0.2 python3 build.py -e production
sha256sum mh1903.bin
After I ran the docker command, I get the following error message saying the build failed.
Thanks
-- compile rust
-- build target path: /keystone3-firmware/build/rust-builds
-- cargo build command: --release--targetthumbv7em-none-eabihf-prust_c--no-default-features--featuresfirmware
-- /keystone3-firmware/build/rust-builds
-- Enabled option: BUILD_PRODUCTION
-- Compiling for MAIN target
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /keystone3-firmware/build
Scanning dependencies of target rust_c
WARN: Skip rust_c::ENTROPY_MAX_LEN - (not
pub
).WARN: Skip rust_c::__GETRANDOM_INTERNAL - (not
pub
).WARN: Skip common_rust_c::KEYSTONE - (not
no_mangle
).WARN: Skip common_rust_c::FRAGMENT_UNLIMITED_LENGTH - (not
no_mangle
).WARN: Skipping bitcoin_rust_c::btc_sign_psbt_dynamic - (not
extern "C"
)Compiling proc-macro2 v1.0.89
Compiling unicode-ident v1.0.13
Compiling version_check v0.9.5
Compiling cfg-if v1.0.0
Compiling typenum v1.17.0
Compiling byteorder v1.5.0
Compiling subtle v2.6.1
Compiling autocfg v1.4.0
Compiling serde v1.0.214
Compiling arrayvec v0.7.6
Compiling getrandom v0.2.15
Compiling syn v1.0.109
Compiling rand_core v0.6.4
Compiling libm v0.2.11
Compiling zeroize v1.8.1
Compiling generic-array v0.14.7
Compiling memchr v2.7.4
Compiling const-oid v0.9.6
Compiling num-traits v0.2.19
Compiling hex v0.4.3
Compiling static_assertions v1.1.0
Compiling core2 v0.3.3
Compiling shlex v1.3.0
Compiling radium v0.7.0
Compiling tap v1.0.1
Compiling cc v1.1.31
Compiling wyz v0.5.1
Compiling arrayref v0.3.9
Compiling funty v2.0.0
Compiling constant_time_eq v0.3.1
Compiling blake2b_simd v1.0.2
Compiling bitcoin-io v0.1.3
Compiling quote v1.0.37
Compiling spin v0.9.8
Compiling syn v2.0.85
Compiling bitvec v1.0.1
Compiling opaque-debug v0.3.1
Compiling lazy_static v1.5.0
Compiling hex-conservative v0.2.1
Compiling strsim v0.11.1
Compiling num-integer v0.1.46
Compiling ident_case v1.0.1
Compiling fnv v1.0.7
Compiling bitcoin_hashes v0.14.0
Compiling pin-project-lite v0.2.15
Compiling semver v1.0.24
Compiling thiserror-core v1.0.50
Compiling secp256k1-sys v0.10.1
Compiling num-bigint v0.4.6
Compiling either v1.13.0
Compiling proc-macro-error-attr2 v2.0.0
Compiling tracing-core v0.1.32
Compiling bech32 v0.11.0
The following warnings were emitted during compilation:
warning: [email protected]: Compiler family detection failed due to error: ToolExecError: Command "arm-none-eabi-gcc" "-E" "/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out/14212113924254508170detect_compiler_family.c" with args arm-none-eabi-gcc did not execute successfully (status code signal: 5 (SIGTRAP)).
warning: [email protected]: Compiler family detection failed due to error: ToolExecError: Command "arm-none-eabi-gcc" "-E" "/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out/7360451524148430360detect_compiler_family.c" with args arm-none-eabi-gcc did not execute successfully (status code signal: 5 (SIGTRAP)).
warning: [email protected]: Compiler family detection failed due to error: ToolExecError: Command "arm-none-eabi-gcc" "-E" "/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out/9640541887519955396detect_compiler_family.c" with args arm-none-eabi-gcc did not execute successfully (status code signal: 5 (SIGTRAP)).
warning: [email protected]: rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
warning: [email protected]:
warning: [email protected]: Compiler family detection failed due to error: ToolExecError: Command "arm-none-eabi-gcc" "-E" "/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out/2951429428108592355detect_compiler_family.c" with args arm-none-eabi-gcc did not execute successfully (status code signal: 5 (SIGTRAP)).
warning: [email protected]: rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
warning: [email protected]:
error: failed to run custom build command for
secp256k1-sys v0.10.1
Caused by:
process didn't exit successfully:
/keystone3-firmware/rust/target/release/build/secp256k1-sys-ad7e161c5b25b89b/build-script-build
(exit status: 1)--- stdout
OUT_DIR = Some(/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out)
TARGET = Some(thumbv7em-none-eabihf)
OPT_LEVEL = Some(3)
HOST = Some(aarch64-unknown-linux-gnu)
cargo:rerun-if-env-changed=CC_thumbv7em-none-eabihf
CC_thumbv7em-none-eabihf = None
cargo:rerun-if-env-changed=CC_thumbv7em_none_eabihf
CC_thumbv7em_none_eabihf = None
cargo:rerun-if-env-changed=TARGET_CC
TARGET_CC = None
cargo:rerun-if-env-changed=CC
CC = None
cargo:rerun-if-env-changed=CROSS_COMPILE
CROSS_COMPILE = None
RUSTC_LINKER = None
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "arm-none-eabi-gcc" "-E" "/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out/14212113924254508170detect_compiler_family.c" with args arm-none-eabi-gcc did not execute successfully (status code signal: 5 (SIGTRAP)).
RUSTC_WRAPPER = None
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some(false)
CARGO_CFG_TARGET_FEATURE = Some(dsp,mclass,thumb-mode,thumb2,v5te,v6,v6k,v6t2,v7)
cargo:rerun-if-env-changed=CFLAGS_thumbv7em-none-eabihf
CFLAGS_thumbv7em-none-eabihf = None
cargo:rerun-if-env-changed=CFLAGS_thumbv7em_none_eabihf
CFLAGS_thumbv7em_none_eabihf = None
cargo:rerun-if-env-changed=TARGET_CFLAGS
TARGET_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
OUT_DIR = Some(/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "arm-none-eabi-gcc" "-E" "/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out/7360451524148430360detect_compiler_family.c" with args arm-none-eabi-gcc did not execute successfully (status code signal: 5 (SIGTRAP)).
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some(dsp,mclass,thumb-mode,thumb2,v5te,v6,v6k,v6t2,v7)
HOST = Some(aarch64-unknown-linux-gnu)
cargo:rerun-if-env-changed=CFLAGS_thumbv7em-none-eabihf
CFLAGS_thumbv7em-none-eabihf = None
cargo:rerun-if-env-changed=CFLAGS_thumbv7em_none_eabihf
CFLAGS_thumbv7em_none_eabihf = None
cargo:rerun-if-env-changed=TARGET_CFLAGS
TARGET_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
OUT_DIR = Some(/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out)
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "arm-none-eabi-gcc" "-E" "/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out/9640541887519955396detect_compiler_family.c" with args arm-none-eabi-gcc did not execute successfully (status code signal: 5 (SIGTRAP)).
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some(dsp,mclass,thumb-mode,thumb2,v5te,v6,v6k,v6t2,v7)
HOST = Some(aarch64-unknown-linux-gnu)
cargo:rerun-if-env-changed=CFLAGS_thumbv7em-none-eabihf
CFLAGS_thumbv7em-none-eabihf = None
cargo:rerun-if-env-changed=CFLAGS_thumbv7em_none_eabihf
CFLAGS_thumbv7em_none_eabihf = None
cargo:rerun-if-env-changed=TARGET_CFLAGS
TARGET_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:warning=rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
cargo:warning=
cargo:warning=Compiler family detection failed due to error: ToolExecError: Command "arm-none-eabi-gcc" "-E" "/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out/2951429428108592355detect_compiler_family.c" with args arm-none-eabi-gcc did not execute successfully (status code signal: 5 (SIGTRAP)).
cargo:warning=rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
cargo:warning=
--- stderr
error occurred: Command "arm-none-eabi-gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-mfloat-abi=hard" "-mthumb" "-march=armv7e-m" "-mfpu=fpv4-sp-d16" "-I" "depend/secp256k1/" "-I" "depend/secp256k1/include" "-I" "depend/secp256k1/src" "-I" "wasm/wasm-sysroot" "-Wall" "-Wextra" "-DSECP256K1_API=" "-DENABLE_MODULE_ECDH=1" "-DENABLE_MODULE_SCHNORRSIG=1" "-DENABLE_MODULE_EXTRAKEYS=1" "-DENABLE_MODULE_ELLSWIFT=1" "-Dprintf(...)=" "-DECMULT_GEN_PREC_BITS=4" "-DECMULT_WINDOW_SIZE=15" "-DUSE_EXTERNAL_DEFAULT_CALLBACKS=1" "-DENABLE_MODULE_RECOVERY=1" "-o" "/keystone3-firmware/rust/target/thumbv7em-none-eabihf/release/build/secp256k1-sys-b249eec4e51680c3/out/84f2453a56d059fc-lax_der_parsing.o" "-c" "depend/secp256k1/contrib/lax_der_parsing.c" with args arm-none-eabi-gcc did not execute successfully (status code signal: 5 (SIGTRAP)).
warning: build failed, waiting for other jobs to finish...
make[2]: *** [rust/CMakeFiles/rust_c.dir/build.make:58: rust/CMakeFiles/rust_c] Error 101
make[1]: *** [CMakeFiles/Makefile2:123: rust/CMakeFiles/rust_c.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
--
Building firmware for production
Building firmware type general
=============================================
No image changes detected, skip building images.
The text was updated successfully, but these errors were encountered: