Open Barcol opened 1 year ago
= note: /usr/lib/aarch64-linux-gnu/libc.a: error adding symbols: File format not recognized
I believe this means you have a dependency in there somewhere for aarch64, aka armv8 or armv9. Since you are trying to compile for armv7, this dependency check fails.
More reading: https://www.quora.com/How-do-you-resolve-Gcc-error-adding-symbol-file-in-wrong-format-Linux-C-Ubuntu-GCC-development
Sorry I have no insight on how to fix the issue, but I believe this is the cause.
Has anyone compiled librespot for armv7-unknown-linux-musleabihf successfully? I cant pick a proper linker.
This is how I modified yours contrib/Dockerfile as my attempt to build it:
Docker build finishes flawlessly, but
docker run -v /tmp/librespot-build:/build librespot-cross cargo build --release --target armv7-unknown-linux-musleabihf --no-default-features --features alsa-backend
produces:I don't know how to label this issue properly, as this is not a feature request, nor is it a bug report.