Open
Description
I a trying to build SecretNetwork from source code on Intel 9th gen CPU (SGX1 and FLC enabled) and running Ubntu 22.04. I have SGX SDK and PSW installed and also successfully installed all the toolchains mentioned in the README page.
While running make build-linux
, I am getting the following error:
BUILD_PROFILE=release FEATURES="" FEATURES_U=" light-client-validation go-tests" make -C go-cosmwasm build-rust
make[1]: Entering directory '/home/anirban/SecretNetwork/go-cosmwasm'
FEATURES="" make -C ../cosmwasm/enclaves/execute enclave
make[2]: Entering directory '/home/anirban/SecretNetwork/cosmwasm/enclaves/execute'
RUST_TARGET_PATH=/home/anirban/SecretNetwork/cosmwasm/enclaves/execute/../xargo RUSTFLAGS="-Z force-unstable-if-unmarked -C target-cpu=skylake" xargo build --features "SGX_MODE_HW" --target x86_64-unknown-linux-sgx -Z unstable-options --profile release
ERROR: the sysroot can't be built for the Stable channel. Switch to nightly.
make[2]: *** [Makefile:132: lib/libenclave.a] Error 1
make[2]: Leaving directory '/home/anirban/SecretNetwork/cosmwasm/enclaves/execute'
make[1]: *** [Makefile:81: inner-build-enclave] Error 2
make[1]: Leaving directory '/home/anirban/SecretNetwork/go-cosmwasm'
make: *** [Makefile:172: _build-linux] Error 2
I am not sure what is the issue here. Any help or suggestion in this regard will be greatly appreciated.
Metadata
Metadata
Assignees
Labels
No labels