compiling failed on Ubuntu ARM64
I'm trying to compile a debug version of the contracts-node on Ubuntu ARM64, but got the following error.
Compiling contracts-node v0.17.0 (/home/parallels/Desktop/substrate-contracts-node/node)
error: linking with cc failed: exit status: 1
....
= note: collect2: fatal error: ld terminated with signal 9 [Killed] compilation terminated.
I am not sure why following command: cargo install contracts-node --git https://github.com/paritytech/substrate-contracts-node.git --force --locked did not allow me to compile successfully on my machine, but following setups allows me to compile the repository:
- clone
substrate-contracts-noderepository - execute
cargo build --locked
On Debian machine works. Let me know if you have some issues with logs, please. Remember also to install all Substrate/Polkadot prerequisites before trying to compile.