Closed jmennecart closed 1 year ago
Don't know.
cargo clean
)Hi roderickvd Thanks for your reply.
Bullet 4 may be it. I think the kernel tends to kill long-running, non-responsive processes. If that’s a parallel compilation process, well, then there goes your reference.
You may want to try having only a single job (I think -j1
or otherwise in .cargo/config
) or try cross-compiling on another host.
Thanks for you advice. I compiled it on a raspberry pi 4 with success. Many thanks
Hello,
I'mctrying to compile librespot without success. Each time an error occurs. I tryied to delete all files and get again, same problem.
Compile directive is :
cargo build --release --no-default-features
and the result : Compiling librespot-protocol v0.5.0-dev (/home/airplay/librespot/protocol) /home/airplay/.rustup/toolchains/stable-arm-unknown-linux-gnueabihf/bin/../lib/librustc_driver-d9d4471c0634a852.so(+0x7eb198)[0xaf4c7198] /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer+0x0)[0xaea17900] error: could not compile
librespot-protocol
(lib)Caused by: process didn't exit successfully:
rustc --crate-name librespot_protocol --edition=2021 protocol/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=237 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=83bf54a3d67a6e87 -C extra-filename=-83bf54a3d67a6e87 --out-dir /home/airplay/librespot/target/release/deps -L dependency=/home/airplay/librespot/target/release/deps --extern protobuf=/home/airplay/librespot/target/release/deps/libprotobuf-0485858edd1ca021.rmeta
(signal: 11, SIGSEGV: invalid memory reference)any ideas ? Thanks in advance